AnsweredAssumed Answered

Get relationship link name between two modules via javascript - Sugar 7

Question asked by DiegoAlex on Mar 31, 2015
Latest reply on May 18, 2016 by Matthew Poer
Hello guys,

Does anyone know if there is any standard method to get the relationship link name between two modules?

I've already checked the methods on sidecar/src/data/data-manager.js and on the LinkedModel.js ...

What I need is a function like that: 
 - app.data.getRelatedModule(parentModel.module, link)

But instead set the parent module and the link name , set parent module and relate module.. to get the link name.


Thanks in advanced.

Cheers
Diego

Outcomes