Hi All,
I am using Interface as site page & That interface had "Assigned to" rule input, Based on loggedinuser i need to fetch data and show it in grid. So from site in Default Values i'm Passing Loggedinuser(),
But it seems to me we can't use loggedinuser in anyway while constructing a site url. Can we have another way ?
Discussion posts and replies are publicly visible
Why would you need it in the URL when you can just initialize a local variable that points to loggedinuser() and use that for anything relied upon by the page?
Mike Schmitt Yeah we can do that & I did it that way. But Just curious why we can't use loggedinuser function . Sahithi clarified it
AFAIK the "loggedInUser()" function is only guaranteed to work in the way we expect it to work in the context of an interface specifically. In your case you're using it in the site configuration, which while it would be nice if it also works there, i don't believe is something we should expect. Similarly some people try to use it in a process model and it shouldn't be used there either.