AnsweredAssumed Answered

How does this syntax work?

Question asked by paritosh.hebbal on Jun 10, 2014
Latest reply on Jun 10, 2014 by paritosh.hebbal

In the NSQL/Query, we use this syntax:

where srm.user_id=@WHERE:PARAM:User_ID

To see what ID it is referring to, I developed a portlet that just fetches the first name and last name of this ID.

To my surprise, I saw that it was MY ID. i.e, the query fetches the data for the user who is currently logged in.

I wanted to know: How does this syntax actually work behind the scenes?

It seems like an unusually simple syntax, and doesn't even show the 'param' parameter in the Attributes section of the query.

Thanks,

Paritosh

Outcomes