Subject: Inquiry regarding selective CustomEntity migration via Builder API
-
Hello,
I have a question regarding the migration of CustomEntity data.
-
Export/Import vs. Deploy Migration
In the Global >> Global Data >> Custom Entities tab, we can use the Bulk Actions >> Export/Import feature to move CustomEntity data (with the same schema) between two apps.
Does this manual Export/Import process perform the exact same operation as running a Builder API deploy for a CustomEntity that has the "Migrate" flag enabled? -
Selective Migration via Builder API
Through our deployment pipeline, we often need to migrate the full data of specific CustomEntities from our Test environment to Production.
Currently, the Builder API deploy action seems to migrate all CustomEntities that have the "Migrate" checkbox ticked. Is there a Builder API feature/option that allows us to selectively deploy or migrate only specific CustomEntities? (This would be the ideal solution for us.) -
Alternative: REST API for Bulk Actions
If selective migration is not supported via the Deploy API, is there a programmatic way (e.g., a REST API) to perform the Import/Export of CustomEntity data, mirroring the "Bulk Actions" available in the Web Console?
Thank you!
-
-
To answer your questions:
- Yes - it's essentially the same - though I think the specific code paths vary.
- We do not currently have an selective migration for custom entities via the builder api - but I'll raise that with the devs. I would think that would be very doable.
- Not currently
I'll get the devs looking into #2.
Paul.