Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8695753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:06:48+00:00 2026-06-13T01:06:48+00:00

I created this object which inherits from plone.app.folder.base.BaseBTreeFolder . After creating it, Plone sets

  • 0

I created this object which inherits from plone.app.folder.base.BaseBTreeFolder. After creating it, Plone sets a long name which contains the object name and creation date to it. How can I change the name to the same as title?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T01:06:49+00:00Added an answer on June 13, 2026 at 1:06 am

    You need to register your type with the factory tool.

    When so registered content is created initially inside a sandbox, just so you can fill out the edit form for the first time. Once you submit the edit form, the item is created for real and is given an id based on the title.

    To register, either manually enable your type on the “Factory Types” tab of the portal_factory object (in the ZMI), or register your type in your GenericSetup profile with a file named factorytool.xml containing:

    <?xml version="1.0"?>
    <object name="portal_factory">
     <factorytypes>
      <type portal_type="YourTypeName" />
     <factorytypes>
    </object>
    

    You also need to make sure your type has the rename flag set to True; in your class definition add:

    _at_rename_after_creation = True 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a class called BasePage which inherits System.Web.UI.Page. On this page I've
The system I'm working on has a domain object named Order which inherits from
I have a class that inherits from a base class. This base class exposes
I have three classes: Base, Derived (inherits from Base), and Stats (which uses a
I have a script which creates a user-defined object like this: obj = new
I have a function which creates an object of values, but im getting this
I've created a few actions and object types for my application. For this question's
Can a custom event be created for any object method? To do this do
Perhaps I'm misunderstanding how this should work, but I've created an object in the
I'm hoping someone can help on this one, I have created a custom object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.