cancel
Showing results for 
Search instead for 
Did you mean: 

How to prepopulate value in create wizard field and make it disabled in backoffice?

Former Member
0 Kudos

Main target is to prepopulate value of an attribute which is a list type.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member632755
Active Contributor
0 Kudos

Hi,

in the wizard you have the following options:

  • initialize the variable via the assign xml tag:

               <wz:prepare id="itemPrepare">
                     <wz:initialize property="newObject" type="ctx.TYPE_CODE"/>
                     <wz:assign property="initialAnnotationClass" value="newObject.annotation"/>
                 </wz:prepare>
    
  • you can disable the pre-populated fields via propertys' readonly attribute

  • you can alos disable it via Dthe Dynamic Forms. Documentation available here

Cheers, Wojtek