It's all about the answers!

Ask a question

RM Extension create link


Pankaj Sharma (401168) | asked Jan 22 '18, 10:49 a.m.

  Hello Team , 

I am using DNG 6.0.2
I have requirement to link artifacts, I am planning to do it via RM extensions 
RM.Data.createLink(art1, RM.Constants.LINK_FROM, art2, cb)

But while debugging, I see error on console window,
Uncaught TypeError: Cannot read property 'LINK_TO' of undefined
am I missing anything?, Please help

One answer



permanent link
Donald Nong (14.5k414) | answered Jan 22 '18, 6:09 p.m.

Please make sure that both art1 and art2 are an artifact instance. The error message appears to suggest that art2 is null/undefined.

Your answer


Register or to post your answer.