The CreatorCon Call for Content is officially open! Get started here.

Add new field in RITM and make it visible only for one specific catalog item

MohammedYaseen
Tera Expert

Hi All

How to add a new field in RITM record and make it visible only for a specific catalog item

Also, How to make that new field fetch information present from a particular variable

Thanks

5 REPLIES 5

swathisarang98
Giga Sage

Hi @MohammedYaseen ,

 

Yes you can create a UI policy to hide the new field except for particular item 

put the condition item is " your catalog item name", in policy action add your field and make visible true 

swathisarang98_0-1712049595879.png

 

create Onload client script to fetch the variable data and assigning it to Field in sc task

swathisarang98_1-1712049661435.png

 

function onLoad() {
 var nevalueOf =  g_form.getValue('testing'); //variable name 
  g_form.setValue('u_string_1', nevalueOf); // set the value of new field 
   
}

 

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang