Skip to main content

Currently in Aurena (23R1) we can condition fields in page desginer  as shown in 

Index - Technical Documentation For IFS Cloud

Is there to condition a field based on the connected user?

for exemple : using fnd_session_api.get_fnd_user()

like putting api.get_fnd_user() = ‘XXX’ in the visible option of a field

 

 

or is there a way to find where the api.tFunction] are stored?

Condition Syntax - Technical Documentation For IFS Cloud

 

 

Kind regards

Hi, 

The conditions on layout attributes are client only. I think that you may have been lead to believe that “api” functions could call server api’s which is not the case. “api” prefix just instruct the condition parser that this is a helper function. The available functions for the condition syntax are the ones that are listed in the technical documentation. 

Currently there is no support for user in the conditions. You can access the client context values but user is not part of that set. 

context.Company = “01”

 

I don’t know for what scenario you would like to address the current user. For a scenario where a specific user or user group should not have some fields visible. It would be possible to hide these fields in a custom context configuration and then map that context to the specific user / user group. 

Kind regards

Tobias 


Reply