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

Learn more

View all

Sign in to view all badges

Looking for JS to append new fields into existing custom schema?

Level 1
Level 1

hi Guys,

Is it possible for JS to append more dynamic fields/childNode into existing custom schema?
The project scope is to IMPORT data from feed, there is some data value that need automatically created new field upgrade in existing schema.

Am not able to find any JS Api > SchemaNode method,
its all only about return an object/string, not creat append child node for new attribute.

Let me kow is there any solution.

Stephanos Sam

2 Replies
Level 5
Level 5


You can try the following.

eg building a schema. But I haven't tried it:

xtk.sqlSchema.BuildAndInstallSchemas ( String dataSource, String namespace, XML tableList )

Level 1
Level 1

hi dude,

I am wonder where can we find target dataSource id in given 1st parameter, the last parameter 'XML tableList',
we dont need all new tables, would prefer existing schema table that only work append new field in attribute element in the XML code.

Can you give sample xml for tablelist, will it update existing schema?