Henk,
I've tried several different ways to get a session parameter filter to work in a Data Module based on Data Server source and keep getting no data. First I tried to directly port the macro over from FM as follows on the cogipf_userid column in Audit:
#sq($account.defaultname)#
Looking at the filter condition though it wouldn't work because of the extra apostrophe:
Equals '#sq($account.defaultname)#'
So I tried removing the sq() portion of the macro and still got no data. What is the secret to getting session parameters to work?
------------------------------
Robert Hofstetter
------------------------------
Original Message:
Sent: Wed February 24, 2021 09:58 PM
From: HENK CAZEMIER
Subject: Login User Based Access on Dash Board.
Session parameters are also accessible in Data Modules and Dashboarding.
At the moment there is no UI to check/add/override any of these session parameters.
// Henk
------------------------------
HENK CAZEMIER
Original Message:
Sent: Wed February 24, 2021 11:59 AM
From: Philipp Hornung
Subject: Login User Based Access on Dash Board.
Hi Hashim,
your approach should also work in a Framework Manager model on which Dashboards could be based. (For Data Modules I'm not sure but I think the Session Parameters aren't available there.) But that brings me to the idea that - at least in the latest CA version - Report Queries can be turned to Data Sets which in turn can be used in Data Modules or in Dashboards directly.
Best
------------------------------
Philipp Hornung
Original Message:
Sent: Wed February 24, 2021 10:53 AM
From: Hashim Raza
Subject: Login User Based Access on Dash Board.
HI Philipp
i just Created a table with the column of Branch_Id and User Login ID, made a relationship with the report view, than used a [NAME] = #sq($account.defaultName)# in the main query, and its working fine for report.
let me try your suggested solution for the Dashboard.
Thanks.
------------------------------
Hashim Raza
Original Message:
Sent: Wed February 24, 2021 05:42 AM
From: Philipp Hornung
Subject: Login User Based Access on Dash Board.
Hi Hashim,
We also have data for different Cognos users in the same tables and distinguish the data rows by a certain column (called database_user). The Framework Manager model uses Macros to assign different Cognos Data Sources to the Cognos users. The different Cognos Data Sources use different database users for the same database (= Catalog). For each FM query object we have a filter implemented like: [database_user] = {current_user} such that each Cognos user automatically filters only the data of its own database user in the end. It works fine for us.
Could you please tell me the idea of your current solution for your reports?
Regards
------------------------------
Philipp Hornung
Original Message:
Sent: Tue February 23, 2021 11:41 AM
From: Hashim Raza
Subject: Login User Based Access on Dash Board.
Hi Team !
i have a requirement that User should see only their Bank Branch Data on Dashboard, i have done it with report , but unable to find a way to configure Dashboard as per User Login.
Thanks in advance.
------------------------------
Hashim Raza
------------------------------
#CognosAnalyticswithWatson