cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Display Current User in Reports

fhã¤llmayer
1-Visitor

Display Current User in Reports

Hello,

within an Integrity report recipe I can use the <%currentdate%> - tag. A <%currentuser%> - tag is not available to display the user who has created the report. Is there any option to get information about the logged in user? May be I should parse the client server connection string...but...

Thanks in advance.

2 REPLIES 2

Hello Frank,

Sorry for the late reply.  There is no <%currentuser%> tag, and I was unable to find something that provided similar functionality.

Were you able to find something suitable for your needs?  Is it something you could share with us?

If you weren't you could open a case with Support to have this added as a feature.

Regards,
Kael


Kind Regards,
Kael Lizak

Senior Technical Support Engineer
PTC Integrity Lifecycle Manager

Hi Frank,

 

I was looking for the same, and reached out to Support. They pointed me to a KB article (CS220279), which works on the CLI only.

 

Use the argument tag in the report recipe: Report Run By: <%arg Report Run By%>

Run report with:

  • im report --param="Report Run By"="John Doe" -g "Report Name"

Report will show Report Run By: John Doe

 

Were you able to get this to work through other means? If so, please post the same.

 

Thank you,

 

Balu

 

Announcements


Top Tags