Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have an application in QlikView where I need to take the username of the user who logs in to the console, pass it to the script and do a partial reload based on that user.
I have set trigger 'On Open', where a variable is set with value of OSUser(). I am also successfully able to pass it to the script and using partial reload manually, achieve the goal when I am actually using the .qvw file from server.
I have 2 open questions though:
Please note, section access is not an option here as I already have it applied based on AD Group names and I am afraid, altering that to base it on username would be very difficult as there are other column level restrictions based on that.
Thanks
Mansi
Maybe you could use EDX for this scenario, see: QlikView Triggering EDX Enabled Tasks ‒ QlikView but it's probably not trivial. Personally I would rather tend to set the section access on the needed access-level because it's a single solution for the tasks and not mixing multiple approaches just to to control the access.
- Marcus
@marcus_sommer wrote:
Maybe you could use EDX for this scenario, see: QlikView Triggering EDX Enabled Tasks ‒ QlikView but it's probably not trivial. Personally I would rather tend to set the section access on the needed access-level because it's a single solution for the tasks and not mixing multiple approaches just to to control the access.
- Marcus slope game
Good to know thanks!
Thanks Marcus.
I have applied section access but it does not completely match my scenario. My scenario is, I have a column called Supplier in my application and I have a Supplier-UserID mapping. I need to identify who logs in, show the transactional data to the user based on his Supplier mapping:
1. Show his own Supplier data up to latest month
2. Show other Supplier's data some 10 months old.
I applied section access and it filters out to show only the current user's data, and all the other supplier data is lost. Ideally this is how section access should behave.
Can you please help me understand if there is a workaround to implement the above scenario using section access?
In this case you need to combine both information, like:
User & '|' & MonthYear as UserPeriodKey
within the section access and within the normal data-model. Of course it will cost some efforts but usually is such an approach easier and means less work as implementing an access control with multiple methods.
- Marcus
Thank you Marcus, I will definitely try this!!!
@McDVOICE wrote:
Maybe you could use EDX for this scenario, see: QlikView Triggering EDX Enabled Tasks ‒ QlikView but it's probably not trivial. Personally I would rather tend to set the section access on the needed access-level because it's a single solution for the tasks and not mixing multiple approaches just to to control the access.
- Marcus
Thanks for the information keep sharing such informative post keep suggesting such post.