Hi, I'm attempting to edit the OnlyOwnItems.xsl file to display the information I want (for specific users based on role).
I just want to add a test to allow users with a specific role to be able to view all items (so in other words, the "for" statements would be true for 1) the user that created the row, 2) administrator, and 3) the "Attendance Viewer" role that I created. I can't figure out for the life of me how to test if the current user is in that role!
Basically I'm not sure whether when it says "|role1|" if I'm supposed to type my role name instead of role'x' or what? I'm probably doing something slightly wrong, but that is the way it always is isn't it?
Below is one of my tries. Can you give me any tips? Using UDT 3.04
<xsl:variable name ="IsViewer" select="contains(//udt:Context/udt:Roles,'|Attendance Viewer|')"/>
This isn't registering as "True" though.
Thank you very much!