Loading

How to Dynamically Pass Logged-In User ID to Display Data on a FlexCard

Publiseringsdato: Apr 8, 2026
Beskrivelse

If you have a FlexCard that displays data based on the User ID (where the User ID serves as the Context ID for the FlexCard), you can dynamically pass the logged-in User ID to fetch and display relevant data.

To achieve this, follow these steps:

  1. Use {User.userId} as the value under the Input Map in the FlexCard configuration.
  2. This configuration ensures that the logged-in User ID is dynamically passed to the FlexCard, allowing it to fetch and display data specific to the logged-in user.

By setting {User.userId} in the Input Map, the FlexCard will automatically retrieve the User ID of the currently logged-in user without requiring manual input.

Knowledge-artikkelnummer

000394517

 
Laster
Salesforce Help | Article