PLM 360 General

Reply
Mentor
dkeeley
Posts: 214
Registered: ‎10-04-2012
Message 1 of 4 (183 Views)
Accepted Solution

dmsiD Question

183 Views, 3 Replies
04-01-2013 02:11 PM

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.

Product Support
piggeej
Posts: 279
Registered: ‎03-27-2012
Message 2 of 4 (157 Views)

Re: dmsiD Question

04-02-2013 06:57 AM in reply to: dkeeley

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 Piggee
Support Specialist
Product Support
Autodesk, Inc.

Mentor
dkeeley
Posts: 214
Registered: ‎10-04-2012
Message 3 of 4 (151 Views)

Re: dmsiD Question

04-02-2013 09:25 AM in reply to: piggeej

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.

Product Support
piggeej
Posts: 279
Registered: ‎03-27-2012
Message 4 of 4 (146 Views)

Re: dmsiD Question

04-02-2013 09:58 AM in reply to: dkeeley

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...



Joe Piggee
Support Specialist
Product Support
Autodesk, Inc.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Ask the Community