AnsweredAssumed Answered

Form service for a custom aspect

Question asked by webdesigner on Mar 21, 2012
Latest reply on Mar 24, 2012 by webdesigner
Hello,

I have nodes of type: cm:content that having my custom aspect. This aspect contain properties, and I want to to achieve that ONLY these properties are displayed in the details view/edit in Share.

But if I add form configuration to the share-config-custom.xml:

<config evaluator="aspect" condition="myNs:myAspect">
      <forms>
         <form>
…..


It will be added additionally to all properties displayed for the cm:content (cm:description, cm:title etc.).

I found two ways to get it worked:

1. Add custom form template for edit-form, view-form

2. Overwrite core configs for cm:content (very nasty)


So the question is:

May be there is another way to do that? Something like set an "overwrite" flag for the config evaluator?

Thanks in advance

Best regards
Vitali

Outcomes