cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
PS_Ato
Level III

How to set Link ID in a JSL script?

This was my guess:

:name("DOE ID")<<set property("Link ID", 1)

2 ACCEPTED SOLUTIONS

Accepted Solutions
txnelson
Super User

Re: How to set Link ID in a JSL script?

Good guess!

This will work, as long as the column has all unique values.

For documentation and example on this, see

     Help==>Scripting Index==>Data Table==>Column Scripting==>Set Property

Jim

View solution in original post

PS_Ato
Level III

Re: How to set Link ID in a JSL script?

I tried again.

I've used the wrong "hierachie".

It works, when I use a new line.

Thanks

);

:name("DOE ID")<<set property("Link ID", 1)

 

View solution in original post

3 REPLIES 3
txnelson
Super User

Re: How to set Link ID in a JSL script?

Good guess!

This will work, as long as the column has all unique values.

For documentation and example on this, see

     Help==>Scripting Index==>Data Table==>Column Scripting==>Set Property

Jim
PS_Ato
Level III

Re: How to set Link ID in a JSL script?

This is what my guess was based on - but it did not work.

example:

:Weight << Set Property( "Units", lbs );

PS_Ato
Level III

Re: How to set Link ID in a JSL script?

I tried again.

I've used the wrong "hierachie".

It works, when I use a new line.

Thanks

);

:name("DOE ID")<<set property("Link ID", 1)