6
Views
1
Comments
Solved
GetEntryEspaceName() returning different module name

Hi,

I am calling server action from module1 and the server action is defined in module2.

I am generating the url through this server action but why I am getting "module1" espace name instead of module2.

Regards,

Virat

Rank: #95
Solution

Hi Virat,


GetEntryEspaceName returns you the the eSpace name where the request started which was module1.

If you want to get the module that owns the element, you might want to use the GetOwnerEspaceIdentifier or GetOwnerURLPath functions:



Hope it helps.


Regards,
João