XModPro

How can I use TOKENs in CommandText?

Matthias Kühnle Matthias Kühnle posted May 24, 2021
Active May 25 · Viewed 1628 times

I created a template from table "ProjectData" and I want to show only the results that match for the current logged in user id ->
Example:
<ListDataSource CommandText="SELECT [id], [UserID], [field1], [field2] FROM ProjectData WHERE [UserID] = [[User:ID]] "/>

This throws an error. Is there another possibility?

Best regards






4 Replies

Loading replies...