TDM Portal generator, efficient data entry for XSD

book

Article ID: 227151

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

When configuring the generator for an XML file based on an XSD model file, there may be several duplicate entries. 
How to enter values for these duplicate entries efficiently.

Environment

Release : 4.9.1

Component : Web Portal - Publishing

Resolution

The 2 main ways that could help speed up the entry process:
1) Use variables so Seedlist functions only need to be defined once. Another benefit of using variables is that they can be reused for other generation projects.
2) By using the 'First Row Display' and by selecting columns that require the same definition it is very quick to enter identical definitions based on variables.

Create variables for most column values.
The default value can be based on a function that uses a seedlist of values.
An example of the default value for the City column can be: @seqlov(0,@seedlist(US City)@)@

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=7H1CHb4DEs/ijfg2x72rVw==

After creating these variables, select all tables and click on the 'First Row Display' icon. This will show all columns and their definition that need to be entered.

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=MqXehBctJEHn/oh8jf/NGw==

Select all columns with the same or similar name that need to have the same definition.
For example select all columns with the name city.
It is now a simple cut and paste to set all these to the same variable name.

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=d3UFeZMC+rP7efD1N7ftvw==