Here is the piece of code for reference:-
a!sectionLayout( label: "Select Relationship Type", contents: { a!columnsLayout( columns: { a!columnLayout( contents: a!dropdownField( label: "", choiceLabels: { local!relationTypeLabels }, choiceValues: { local!relationshipTypeCodes }, placeholderLabel: " --- Select a Value --- ", value: ri!entityType, saveInto:{ ri!entityType, if( rule!APN_isBlank(ri!entityType), { a!save(ri!primaryEntityData,{}), a!save(ri!secondaryEntityData,{}), a!save(ri!isAltSCSelected,null), a!save(ri!isSelected,null), }, {} ) } ) ), a!columnLayout( rule!SCE_dummyTextFieldForExtraSpace() ) } ) }
Discussion posts and replies are publicly visible