Override variable set

Alon Grod
Tera Expert

Hi,

I need to create a new catalog items. One of  the variables is  a field 'Priority' but instead of creating him from scratch I decided to use variable set that already contains this field.

In the variable set the default value for this field is '3'. How can I override this and change it to '1' without affecting other catalog items that use the same variable set?

4 REPLIES 4

Musab Rasheed
Kilo Patron

Hello,

Try writing on load client script on catalog item level and set the value on load. That should work

Regards

Aman Kumar S
Kilo Patron

You can simply use onLoad client script to override the default value, but also include a null check, it should only populate value if value is not changed explicitly, so it only runs in catalog item view and not in other RITM or Portal view.

@Alon Grod 

 

Is your issue resolved?

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Musab Rasheed
Kilo Patron

Hello,

If you are fine with my response, Please hit like and mark my response as correct if that helps.

Regards