Opens a modal with all collections to choose from and adds asset(s) to it.
import { Showpad } from '@showpad/experience-app-sdk'const assetSlugs = ['648b2eb8-6fa1-40f2-b787-39cb1d51db69']const collectionId = await Showpad.addAssetsToCollection(assetSlugs) Copy
import { Showpad } from '@showpad/experience-app-sdk'const assetSlugs = ['648b2eb8-6fa1-40f2-b787-39cb1d51db69']const collectionId = await Showpad.addAssetsToCollection(assetSlugs)
Id of the collection the assets were added to.
Generated using TypeDoc
Opens a modal with all collections to choose from and adds asset(s) to it.
Example