26
Views
2
Comments
EspaceId of Consumer
Question

How to get EspaceId of the consumer module?

  • A public server action is being used by many modules 
  • Need to get the EspaceId of the consumer inside that public server action from where it's been called.
  • Note: GetEntryEspaceId() - won't help here if the consumer modules are enclosed by other modules which expose the rest.

Thanks,

2023-04-19 18-38-51
Bas de Jong

Make an input parameter in your action, let every consumer fill it with GetOwnerEspaceID and it will give its espace ID to your server action to do whatever you want to do with it! 

UserImage.jpg
senthil n p

Hi Bas de jong,

Thanks for your reply!

Can you please confirm does the platform logs whenever a producer been consumed?

Trying to avoid passing a new input from 200+ modules!!

Thanks,

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.