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

how to collapse a variable set in catalog onload

RamSagar
Tera Guru

i had a requirement to collapse the complete variable set in the catalog onload of the catalog form.

That should work in the portal too...!

1 ACCEPTED SOLUTION

You have to goto variable set or variables from left nav pane and then from list view you need to get the sys_id. Please mark Correct Like and Helpful if you find my response worthy.



find_real_file.png


Thanks,
Deepa


View solution in original post

10 REPLIES 10

Ashutosh Munot1
Kilo Patron
Kilo Patron

Deepa Srivastav
Kilo Sage

Hi ,
Check below link.



Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.


Thanks,
Deepa



How could we Collapse a form section on page load?


Midhun1
Giga Guru

Hi ,



If you are using fuji and prior use togglevariableset('sys_id_of_variable');


Next to Fuji togglevariablecontainer('sys_id_of_variable');


No Luck. i tried with below script , but not working.


function onLoad() {


  //   toggleVariableSet('d84942f56fe482005de9f00dba3ee460', false);


  // togglevariablecontainer('d84942f56fe482005de9f00dba3ee460');


  toggleVariableSet('d84942f56fe482005de9f00dba3ee460', false);



}