EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB485886: Wrong user info while using {&USER} in Dossier due to dossier cache.


Yihuan Qian

Senior Support Engineer • MicroStrategy


This article outlines an issue with wrong user info is shown while using {&USER} in Dossier.

Starting with the release of Strategy ONE (March 2024), dossiers are also known as dashboards.

Symptom


User is using {&USER} in dossier to get the current user information but it might show wrong user info. Issue won't be reproduced if user runs the dossier for the first time.
 

Reproduction steps

  1. Create a Dossier. Add text: {&USER}.
  2. Save and run the Dossier.
  3. Login as different user and run the Dossier. It is showing the previous user information.

Cause


It is caused by Dossier's cache.
 

Action


Generate cache per user only for the Dossier:

  1. Create metric with formula Max(?[User Login]){~}, name it as "user login".
  2. In Dossier's datasets panel, click "Existing objects", add the newly created metric and any attribute as a new dataset.
  3. Drag the metric to text field.

 


Comment

0 comments

Details

Knowledge Article

Published:

January 9, 2023

Last Updated:

March 21, 2024