Projet

General

Profil

How can i use my new model make with model designer in alfresco share?

Ajouté par andy de boeck il y a environ 11 ans

I have made a new model and form in Model Designer.
I publish my form, and then my model.
I have modified the designer properties, and now I see my form in my new map C:/Alfresco/Designer , but not my model? Is this normal?
My model is in Data Dictionary/Models, and my form in Data Dictionary/Config.
What do I do that I can use this form and model?
Please can somebody help me?
Thanks.

Regards ,
Andy


Réponses (5)

RE: How can i use my new model make with model designer in alfresco share? - Ajouté par Matthieu Laborie il y a environ 11 ans

Hi,

Designer only allow to create and publish model and forms. To use it in share you must follow samples in share-custom-config.xml or alfresco documentation.

Regards
Matthieu

RE: How can i use my new model make with model designer in alfresco share? - Ajouté par andy de boeck il y a environ 11 ans

Thank you to answer.

So I have to change my share-custom-config.xml always?
After publish my form and model, I see only my form in my folder of alfresco that I've created in designer.properties, but not my model. Is that normal?
I've watched all the documentation, but I don't know what i must to do that i can see my new aspects in share.
What should I do in the share-custom-config.xml?
Is this the only page that I need to change?

Regards,
Andy

RE: How can i use my new model make with model designer in alfresco share? - Ajouté par Matthieu Laborie il y a environ 11 ans

Your model are under alfresco : Repository>Data dictionnary>Models
For designer 1.4+ forms are under alfresco : Repository>Data dictionnary>Configurations

To use your model/form under share :

In share-config-custom.xml

uncomment this section and add your created types and aspects:

  <!--
         Used by the "Manage Aspects" action

         For custom aspects, remember to also add the relevant i18n string(s)
            cm_myaspect=My Aspect
      -->
      <aspects>
         <!-- Aspects that a user can see -->
         <visible>
            <aspect name="cm:generalclassifiable" />
            <aspect name="cm:complianceable" />
            <aspect name="cm:dublincore" />
            <aspect name="cm:effectivity" />
            <aspect name="cm:summarizable" />
            <aspect name="cm:versionable" />
            <aspect name="cm:templatable" />
            <aspect name="cm:emailed" />
            <aspect name="emailserver:aliasable" />
            <aspect name="cm:taggable" />
            <aspect name="app:inlineeditable" />
            <aspect name="gd:googleEditable" />
            <aspect name="cm:geographic" />
            <aspect name="exif:exif" />
         </visible>

         <!-- Aspects that a user can add. Same as "visible" if left empty -->
         <addable>
         </addable>

         <!-- Aspects that a user can remove. Same as "visible" if left empty -->
         <removeable>
         </removeable>
      </aspects>

      <!--
         Used by the "Change Type" action

         Define valid subtypes using the following example:
            <type name="cm:content">
               <subtype name="cm:mysubtype" />
            </type>

         Remember to also add the relevant i18n string(s):
            cm_mysubtype=My SubType
      -->
      <types>
         <type name="cm:content">
         </type>

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


Hope it helps, for more help read hos to create form and model in alfresco documentation.

Regards

RE: How can i use my new model make with model designer in alfresco share? - Ajouté par andy de boeck il y a environ 11 ans

Hello,

thank you, I change my web-client-config, and now I can see my new aspects in alfresco, but in share not yet.
Sometimes I change my model without problems, and now I want to change it and model publish failed, what is the problem?

Regards,
Andy

RE: How can i use my new model make with model designer in alfresco share? - Ajouté par tinh doan il y a environ 11 ans

Hi Andy
I have same problem.
Anybody can help me ?

Thanks!

    (1-5/5)