cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Extending Business Process editorArea

Former Member
0 Kudos
173

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 :)

Accepted Solutions (1)

Accepted Solutions (1)

former_member624549
Participant
0 Kudos

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>





Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you Olivier, worked perfectly :)