on 2019 Feb 14 5:30 AM
Hi,
I have a Business Process subclass representing my Business Process with some custom fields to store some information relating to it. How can I incorporate information from my Business Process subclass into the Business Process view's editorArea?
For example, currently I have the following code:
<context merge-by="type" parent="GenericItem" type="BusinessProcess" component="editor-area">
<editorArea:editorArea>
<editorArea:essentials>
<editorArea:essentialSection name="hmc.essential">
<editorArea:attribute qualifier="customField1" visible="true" />
<editorArea:attribute qualifier="customField2" visible="true" />
</editorArea:essentialSection>
</editorArea:essentials>
</editorArea:editorArea>
</context>
Can I somehow use the "visible" attribute to only show those fields when the Business Process is my subclass? The current implementation shows the new fields for all Business Processes because of course there isn't anything specific to my subclass in that code snippet.
Thank you kindly for any help :)
Request clarification before answering.
You have to configure your type and set the ootb type as parent
<context merge-by="type" parent="BusinessProcess" type="CustomBusinessProcess" component="editor-area">
<editorArea:editorArea>
<editorArea:essentials>
<editorArea:essentialSection name="hmc.essential">
<editorArea:attribute qualifier="customField1" visible="true" />
<editorArea:attribute qualifier="customField2" visible="true" />
</editorArea:essentialSection>
</editorArea:essentials>
</editorArea:editorArea>
</context>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Olivier, worked perfectly :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.