Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How do I create a Schema from Javascript

Avatar

Level 1

I am trying to create a schema from Javacript by xtk.session.Write(schema definition). 

This is from external data source and will be a mapping schema in Adobe Campaign.

The schema is getting created but I get error like below.

unable to load document of identifier 'test:Tapan' and type xtk:schema + adobe campaign.

 

Can Anybody help me on this?

1 Accepted Solution

Avatar

Correct answer by
Level 6

I've never tried to it in the past:
you should perhaps use:
BuildOutputSchema (adobe.com)

And don't forget that you need your schema to be mapped to an existing table on your ACC db side...
If not, check:
UpdateDb (adobe.com)

View solution in original post

0 Replies

Avatar

Correct answer by
Level 6

I've never tried to it in the past:
you should perhaps use:
BuildOutputSchema (adobe.com)

And don't forget that you need your schema to be mapped to an existing table on your ACC db side...
If not, check:
UpdateDb (adobe.com)

Avatar

Administrator

Hi @tapank25383277,

Was the given solution helpful to resolve your query or do you still need more help here? Do let us know.

Thanks!