AnsweredAssumed Answered

Can't access relations on my custom entry points

Question asked by Rodrigo Zurek on Mar 11, 2014
Latest reply on Mar 19, 2014 by Alex Nassi
So im going nuts here, I might as well tell you the whole thing i did, and maybe you can help me with it.

I am in the on demand version of sugar.

i need to relate 2 custom modules so i used the module builder to create a package for them:

Inline image 1

the custom modules are form and map. then i created a relationship between both like this:

Inline image 3

After that i deployed my package to my sugar instance and proceeded to create some test data.

Inline image 4

then on my custom entry point i wish to get the maps related to a specific form so this is my code:

Inline image 5

But when i try to call my entry point It wont return any maps related to the form, here is an example:

Inline image 6

in the example the maps arent echoed, i just cant find where the problem is. any help would be appreciated !