Skip to content

Conversation

@ejsuncy
Copy link

@ejsuncy ejsuncy commented Nov 12, 2025

#2060

Do Not Merge.

This is a convenience branch that adds 2 scripts for converting paid media global schemas, fieldgroups, and datatypes to tenant-based ones. This allows us to convert and upload proposed global schemas as tenant-based schemas to an org and sandbox to validate the schema format before the proposed schema PRs get reviewed/merged.

This branch should be rebased each time the following stacked PRs are updated with schema changes:

#2061
#2063
#2064

Usage:

  1. Check out this branch
  2. From the repository root, run the following to create tenant-based equivalent of the paid media datatypes, fieldgroups, and schemas. It will output those files to [output_dir] (which is tenant-schemas by default).
./convert-xdm-to-tenant.sh <TENANT_ID> [output_dir]
  1. Change to that output_dir, and from the [output_dir], run the following to upload the tenant schemas to the specified org and sandbox using API credentials that have access and permissions on the sandbox:
cd tenant-schemas
../upload-tenant-schemas.sh

@ejsuncy ejsuncy force-pushed the master-2060-support-paid-media-schemas-conversion branch 3 times, most recently from 9dbe051 to 9dc22f0 Compare November 18, 2025 21:55
@ejsuncy ejsuncy force-pushed the master-2060-support-paid-media-schemas-conversion branch from 9dc22f0 to 1084971 Compare November 19, 2025 21:57
@ejsuncy ejsuncy force-pushed the master-2060-support-paid-media-schemas-conversion branch from 1084971 to c90b576 Compare November 19, 2025 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant