Skip to Content

There are many ways to add a new column to an existing schema. Here I have mentioned 2 ways.

Method 1:

1.     1.  Right click on the schema to be edited. (here test_sample). Click on Open.

/wp-content/uploads/2013/04/1_204574.png

2

2.

1.     2.Right click on the child node where the new column has to be added. Right click on New Column.

/wp-content/uploads/2013/04/2_204620.png

1.     3.  In column properties, give the column name and data type. Click on OK.

/wp-content/uploads/2013/04/3_204621.png

4.

1.       4.Save the XML schema and export it.

/wp-content/uploads/2013/04/4_204622.png

1.     5.  Save it in a path.

/wp-content/uploads/2013/04/5_204623.png

1.    6.   Right click the saved file and open it in notepad. It can be seen that even though the data type of the new column is there in notepad, additional data about

the column is not present in the notepad.

/wp-content/uploads/2013/04/6_204624.png

1.       7. Manually add the column properties in the notepad and save the notepad.

/wp-content/uploads/2013/04/7_204625.png

1.    8.   Import the file into DS.

/wp-content/uploads/2013/04/8_204626.png

1.      9. Now the schema has the newly added column.

/wp-content/uploads/2013/04/9_204627.png

/wp-content/uploads/2013/04/9__204628.png

Method 2:

1.       1.Take the xml file of the schema to be modified.

/wp-content/uploads/2013/04/4_204622.png

1.   2.  Add the new column to this. (Here post_office is the new column)

/wp-content/uploads/2013/04/4_1_204639.png

1.    3.  Convert this into .XSD format and save the file in a path.

/wp-content/uploads/2013/04/5_204623.png

1.     4. Go to local object library in data services designer. Click Formats -> XML Schemas

/wp-content/uploads/2013/04/1_204574.png

5.

1.   5.  Right click on XML schemas and click on new

/wp-content/uploads/2013/04/2_204620.png

1.     6.A new window pops up. Give the desired format name under the tab Format name

/wp-content/uploads/2013/04/3_204621.png

1.    7. We have to browse the xml schema file.

2.    8.  Import the xml schema.

/wp-content/uploads/2013/04/6_204624.png

1.     9.After importing successfully give the corresponding Root element name from the drop down.

/wp-content/uploads/2013/04/8_204626.png

1.    10.  Click Ok.

The imported schema will be found under XML Schemas in local object library.

/wp-content/uploads/2013/04/9_204627.png

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply