Copy link to clipboard
Copied
Is there a way to set a newly created (via the SDK) collection as the target collection?
Unfortunately not. You can set the currently selected source to be the current target collection:
catalog:setActiveSources (catalog.kTargetCollection)
and from there you can use catalog:getActiveSources() to discover the name of the current target collection. But the SDK doesn't let you change the target collection.
Copy link to clipboard
Copied
Unfortunately not. You can set the currently selected source to be the current target collection:
catalog:setActiveSources (catalog.kTargetCollection)
and from there you can use catalog:getActiveSources() to discover the name of the current target collection. But the SDK doesn't let you change the target collection.