Is there a way to pass data to other modules other than passing it through the url?
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
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
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
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
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.
You posted this question twice, in the other post you already got an answer.