USD Session Lines

Leave a comment

Session Lines are a hosted control in USD that is used for session overview and name information. Session Lines are configured in the USD setup. We will go through an example of how these work.

To access session lines, go to USD configuration->Session Lines:

You can see we have many session lines defined. Note the type – there are 2 types, Session Name, and Session Overview Line. We will look at each of these.

Let’s take a look at an example, the Account Details Session:

You can see here, we have a session line configured on the Account entity. The Display area is where the UI of the control is configured. You can see there is a tab “Social Info”. This will be displayed in the control when the session is started:

Running USD, when we drill into an Account, this session lines control is activated:

Let’s copy this tab code and paste it under the existing code. Name it “New Tab”:

Start USD and let’s see how this looks:


There is more information on the styles available here:

A new tab is created. As we copied the code from the previous tab, the details will look the same. You can see we are calling DoActionCommand to open the assigned hyperlink.

We could change the hyperlink here to something else or call a different command for example:

Note you can have multiple session lines per entity. Let’s try creating a new session line for this same Account entity. We will copy the same code from the previous one:

Now, when we start USD, you can see 2 controls created:

We just looked at a session line that is defined as “Session Overview Line”. There are 2 types of session lines, the other being “Session Name”. In these controls, we are defining what will appear in the session tab. In our case, we have a Session Name configured for the Account entity. Note the type field is set to “Session Name”. In Display, we configure the tab label. Here we are setting it to the account name “-” address of the country.

We can see in USD how this looks:

That covers both types of Session Lines in USD.


Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube


Leave a Reply

Your email address will not be published. Required fields are marked *