Retrieve the current user from another module
Dear Expert,
Good day!
Is it possible to get/retrieve the current user from Module 1 to Module 2 even there's no Users list used in Module 2? So that the user will no longer select/choose on the dropdown in Module 2. The reason why we didn't put the Users list in Module 2 because of workspace size issue. Please see attached file as sample.
Any insight would be greatly appreciated. Thank you so much.
Regards,
Dom
Best Answers
-
It would be good to understand what you're trying to achieve with the second module.
I don't believe what you've mocked up in your example to be possible, due to the different values that will be evaluated based on who is logged in at the time. Imagine if there was a formula/line item that referenced the specific "User" line item that you want automatically populated, that had logic depending on the value of the "User"
e.g. downstream calc has formula "IF User = <specific user> THEN <expr_1> ELSE <expr_2>"
Without having any other list (e.g. Users) against your input line item, for a given item in the Products list (e.g. "A"), there can only be one value - which will then flow on throughout the model to any downstream references.
With that being said, to better help provide a workaround/resolution, can you explain what you want to achieve with this line item?
1 -
If you are looking to limit access to certain products by user then use SELECTIVE ACCESS.
This tool will allow you to show and allow write access to certain parts of a given hierarchy or list by individual user.
1 -
Hi @kevin.cho,
Thanks for your input. Will check this one also. Thank you so much.
Please see my answer in blue as below.
With that being said, to better help provide a workaround/resolution, can you explain what you want to achieve with this line item? - So that in the module 2, Current user will no longer select/choose in the dropdown users list. It will automatically display his/her name.
Regards,
Dom
0
Answers
-
Hi @ChrisAHeathcote,
Thanks for your insight.
Will check this one also. Thank you very much.
Regards,
Dom
0