Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi. I need to publish an application that contains user data. For the access level I need that:
When I enter the application, the "User" filter should be applied, but it should allow me to modify it and see all the data of the model
I hope you can help me. Thank you very much
Hi, You can do this using the Dynamic Bookmark Option.
Check this and try.
https://www.youtube.com/watch?v=tFyqOigqnUw
Let me know if you need further help.
thanks @kaushiknsolanki ! I think we could use this option, but I don't know how to make the formula inside the field to obtain the filter of the user who is entering
That video points to the approach, but to give a concrete example. My userid is ltu.
My sample model:
data:
LOAD * INLINE [
user,value
ltu,1
foo,2
];
The system function which exposes the user's identity is =OSUser() which formats the response as UserDirectory=MyUserDirectory; UserId=MyUserId.
You can wrap this in the SubField function to focus on just the MyUserId value like so: =SubField(OSUser(), '=',3)
From there you can write an expression (using this example) of =user=SubField(OSUser(), '=',3)
Hi @Levi_Turner ! I am working together with @fmonetti . We tried your suggestion.. and it is working to choose the selection, however we are still having issues when we setup the bookmark to set is as default-
I setup a bookmark with two fields
Month: Using the expression: =[Base iCall-1.fecha.autoCalendar.YearMonth] = Monthstart(now())
User: using the expression: =user=SubField(OSUser(), '=',3)
The issue is that when i set the bookmark the selection it does is: