Post Closed
371
Views
6
Comments
Solved
passing data to other modules
Question

Is there a way to pass data to other modules other than passing it through the url?

2025-09-25 14-38-22
Lokesh Kumar Yadav
Solution

Yes Raven ,

You can pass the value to other module by using server action .You have to public the server action and pass the value by the input parameter

You can share the oml i will fix that


2022-06-06 09-58-43
Gourav shukla

Hello,

          I am not much clear what you want but if you want pass data from one module to another so you just  Change entity property public to yes, then in other module use manage dependency, searching  modules name which data you want to pass and select entity that you want.

Thanks

2020-11-25 10-45-32
Mostafa Othman
Champion

Hello Raven,

Based on data you want to pass and passing it to frontend screen or backend action.

 You may send it as input parameter to public action that you are consuming from the another module. Also you can save it into database table shared between two modules (It can be like table used for temp data and then you can clear it or one of your main entities ) and just share Id of record with the another module through URL or as parameter to public action.


If you can explain your business case more this may help also to identify best way to passing data

UserImage.jpg
raven ransford

I want to pass a username but i dont want it to be shown in the url. I know i can use the get userID form outsytems functions, but in this case i'am using my own database of user.  The login page is in the different module from the main page. So currently i could do the login but i cant get the username that logged in. Is there a way to do this? Thank you

2023-08-28 09-08-29
Venkatesh Sundarajan

Hi Raven,

I understand from your question, you want to pass data between UI modules.

You can have the data set in client variables of  common module (as producer) to those UI modules, after that you can have the get action created in common module(producer) as public to fetch the client variables from producer.

Note: It depends on the use case, client variable is related to user session.

https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Data/Handling_Data/Client_Variable

Hope this helps.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

You posted this question twice, in the other post you already got an answer.

2025-09-25 14-38-22
Lokesh Kumar Yadav
Solution

Yes Raven ,

You can pass the value to other module by using server action .You have to public the server action and pass the value by the input parameter

You can share the oml i will fix that