Expand my Community achievements bar.

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

2 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!



Sukrity Wadhwa