Informational post: How to show the logged in user full name on the dashboard screen using actions in the action editor?

On the login screen of the application invoke the identity service using ‘invoke service’ action, in the callback of this service navigate to dashboard screen using ‘navigate to form’ action.

In the postShow event of the dashboard form use ‘Get user profile’ action. In the callback of this action add a snippet with the below code to show the full name of the logged in user on that form.

var profile = JSON.parse(response._provider_profile);
self.view.lblUserProfile.text = profile.firstName + " " + profile.lastName;

1 Like