Creating dynamic variables on catalog form

rseth91
Tera Contributor

I have a requirement where I need to build a catalog item that allows users to edit the variable values of an existing RITM.

For example, if a user selects an RITM from Catalog A, all the associated variables for that RITM should be displayed in a dropdown list. This part is achievable. However, when a specific variable is selected, a new field should dynamically be created with the same attributes as the original variable type.

For instance, if a choice list variable is selected, a new choice field should appear with the same options as the original. The user can then select a new value. Similarly, if a reference field is selected, the new field should be a reference type, mirroring the original.

The dynamic variables should be created with all the correct attributes based on the original catalog item.

Is this possible? Please suggest an approach.

 

1 REPLY 1

Murthy Ch
Giga Sage

@rseth91 
This is not straight forward! 
I don't think we cannot make it dynamic because untill and unless you create those variables we cannot make them appear in it.

 

Thanks,
Murthy