Team, I am planning to migrate assets from my cloud site to sandbox, but unfortunately schema is not getting imported, I have to create object and then attributes of specific type then I am able to import.
Is there any way we can do that with some scripts or any other way which make assets migration easy.
You have a couple of options, one would be using the export function and then import the csv generated into your sandbox. Another option would be to use the REST API to either just to the import, or do both the export and the import. For the import you can use the bulk function which allows you to also create the mapping of attributes. See Object schema and mapping example for more information.
A third option that I just thought of would be to use Data Manager, you could then import your data from production via the exported csv file and then use the new Data Manager import in Assets, this will also create the attributes for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.