on 07-13-2018 11:41 AM
i have created an extended attribute for a column "Name" in CDM and marked it as "True". I have created the same extended attribute for column "Name" in PDM. I want to write a script which would copy the extended attribute value from CDM and set it in PDM. Following is the code I have written, but it's not working; can someone please help:
for each Tabl in obj.Tables
for each clm in Tabl.Columns
set ColumnInCDM = CDM.FindChildByName(clm.Name,cls_column)
call clm.setExtendedAttribute("Name", ColumnInCDM.GetExtendedAttribute("Name"))
next
next
A few quick points here, Amit:
The main point I want to make, though, is that you should not need to do this manually - if attributes and columns have the same extended attributes, you should be able to copy the values over when you generate from the CDM to the PDM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.