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.
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?
Solved! Go to Solution.
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.
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?
All scripting information is located in the Wiki help under Scripting guide > Server-Side Scripting > Scripting reference.
And can be found under Descriptor Properties on the item Object.