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

How to apply variable sets via script to catalog item???

Zod
Giga Guru

Hi there,

I have a ui action that will automatically create an catalog entry including relevant variables ... but now I try to add the option to also apply existing variable sets ... and do not know how to build the reference via script.

The item_option_new provides be the option to add (insert) variables to and relate it to a cat_item .. but how to link an existing record on the "item_option_new_set" table to a cat_item???? 

I would need to insert something to some kind of relation table I would assume - but how to find?! Maybe to late today already .. not sure what to do.

Thank you!

1 REPLY 1

Eric Nichols
Kilo Guru

The many-to-many table "io_set_item" is the table you are looking for.  It links catalog items to variable sets.