Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Username in Insight Report

Hi,
I'd like to get hold of the name of the user who has run an Insight Report from within that report so that I can display user-specific content.  Is this possible and how would I go about doing tt?

Thanks,
Jill

1

0 votes


Accepted answer

Permanent link
 1. Create a new Query
2. Add a new Data Item to it.
3. Set the Expression of the Data Item to :
#sq($account.personalInfo.userName)#
4. Drop a Singleton onto the report page where you want the username displayed and associate the singleton with the query above.
5. drop the data item from the query onto the Singleton object.

ref http://pic.dhe.ibm.com/infocenter/cbi/v10r1m1/topic/com.ibm.swg.ba.cognos.ug_fm.10.1.1.doc/c_create_modify_session_parameter.html#create_modify_session_parameter and http://mycognos.blogspot.com.au/2009/03/displaying-report-author-name-in-report.html
Jill Davies selected this answer as the correct answer

0 votes

Comments

Perfect! thanks very much

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020

Question asked: Apr 11 '13, 10:19 a.m.

Question was seen: 4,261 times

Last updated: Apr 16 '13, 10:10 a.m.

Confirmation Cancel Confirm