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

  • SEARCH
  • Home
  • 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 6158953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:02:54+00:00 2026-05-23T21:02:54+00:00

I have a custom model called medicalBill that inherits from another custom model called

  • 0

I have a custom model called “medicalBill” that inherits from another custom model called “clientDocument”. For some reason in the share UI only the “clientDocument” is visible in the change type dialog. I have read that in the change type dialog it only shows models that are subtypes of cm:content. Does that mean ONLY direct subtypes?

I have this in my share-config-custom.xml is it not possible to have a subtype of a subtype here.

      <types>
         <type name="cm:content">
                <subtype name="cd:clientDocument">
                    <subtype name="mb:medicalBill"/>
                </subtype>

         </type>

         <type name="cm:folder">
         </type>
      </types>

Edit: I am running alfresco 3.4d on jboss under linux.

  • 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-05-23T21:02:55+00:00Added an answer on May 23, 2026 at 9:02 pm

    Depending on which version of Alfresco you’re using, the Change Type dialog in Share is configured differently

    Alfresco < 3.4

    You need to override the default configuration

    Alfresco >= 3.4

    You need to place the configuration in (e.g.) share-config-custom.xml

    Regardless of the approach, the configuration will look like the following:

    <type name="my:sourceType">
          <subtype name="my:targetType1"/>
          <subtype name="my:targetType2"/>
          ...
    </type>
    

    Where you specify which types are available for selection in the drop down (my:targetType*) depending on the type of the content you’re acting on (my:sourceType).

    As subtype elements cannot be nested, you have to specify all the possible type changes as sibling elements. As long as the source type is an ancestor type of the target type, everything should work as expected. To stick with your example:

      <types>
         <type name="cm:content">
                <subtype name="cd:clientDocument" />
                <subtype name="mb:medicalBill" />
         </type>
    
         <type name="cm:folder">
         </type>
      </types>
    

    If you also need to show mb:medicalBill in the change type dropdown for cd:clientDocument documents you need to add another <type name="cd:clientDocument>..." element in the XML

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my application I have a custom model binder that I set to the
I have extended Django's User Model using a custom user profile called UserExtension .
I have a custom model binder inheriting from DefaultModelBinder. What I want it to
I have a MongoMapper model called LogInfo that has a number of fields already
I have a database that uses a custom model for recording lookup valus (i.e.
I have a Linq-to-SQL model that uses stored procs in some places to return
I have a custom struct called TimeOfDay which is used in a view model
I have an entity model which has some tables added from my DB. I
I have a model called Product with a custom property: def _get_active(self): o =
I have a model called Client which runs a custom phone number validator to

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.