Hi,
How can I access the dmsID of a target item using scripting? I have a items which has a link to another item e.g.
item.CONTRACT_REFERENCE
The 'contract reference' item is created in a script - I then need to get its dmsID of the new item to create some URLs. A simple solution here would be to allow tenants access to the 'DMSID' function in calculated fields (as used in the sequencer workspaces). The new item would then be able to diaply its own DMSID as a field when it was created. As Autodesk have removed access to this I am assuming there's another way to do it?
Alternatively - can Autodesk allow me to use DMSID in calculated fields in my tennant?
Thanks,
David.
Solved! Go to Solution.
Solved by jpiggee. Go to Solution.
Hi David,
You can access the dmsID of an item by using item.*linked pick list item*..descriptor.dmsID
You can also access this through either the relationship tab or the project management tab.
Joe,
That's exactly what I needed. Thanks for the quick response. You guys are doing a great job.
Can I make a suggestion that this is added to the scripting help notes?
David.
David,
All scripting information is located in the Wiki help under Scripting guide > Server-Side Scripting > Scripting reference.
Helpful url: http://wikihelp.autodesk.com/PLM_360/enu/Help/Help/0091-Develope91/0092-Server-S92/0099-Scriptin99
And can be found under Descriptor Properties on the item Object.
Helpful url: http://wikihelp.autodesk.com/PLM_360/enu/Help/Help/0091-Develope91/0092-Server-S92/0099-Scriptin99#S...