Temporarily disable update set tracking

guycotton
Kilo Contributor

Hi all,

Is there a JavaScript way to disable update set tracking during a glide script transaction (i.e. business rule/ UI action etc)?

Rationale:

We've built a management wrap around Record Producers, this wrap programatically creates and tears down record producers. We did this because record producers did not fully satisfy our requirements, nor was it possible to customise the sc_cat_item_producer table as we wanted.

The idea is that the user interacts with a single "managed producer" which in turn creates multiple record producers on the fly. During development there would be multiple iterations of record producer creation/ deletion. Ultimately, the user hits a "publish" button which constructs a production ready record producer and pubishes it into a catalog. By default (as cat items are update_synch) all of the development deletions/ creations are tracked in the current update set which creates a lot of noise when migrating changes across instances - only the final set of changes are necessary.

Ideally, we'd like to temporarily "turn off" update set tracking using javascript for a given transaction - is this possible?

Thanks,

Guy

1 ACCEPTED SOLUTION

bernyalvarado
Mega Sage

Hi Guy, have you thought on setting to the default update set your change by manipulating directly the sys_update_xml table?



Thanks,


Berny


View solution in original post

6 REPLIES 6

You're welcome Guy! It's great to hear it was helpful!


I hope you're able to resolve it.



Thanks,


Berny


Hi Guy Cotton, would you mind closing this thread by marking the responses as helpful/correct?



Thanks,


Berny