With the Current User connection type you can display the information about the current SharePoint user on the page: name and surname, job title, contact details, photo etc.
Prerequisite
- You have filled in the information in the SharePoint account settings.
Step 1: Add a ShortPoint Design Element
You can choose and add any ShortPoint Design Element you want. ShortPoint Design Elements can be easily added to your pages using ShortPoint Page Builder.
Modern page:
You can start with adding a ShortPoint web part to your page by clicking the plus sign and selecting ShortPoint from the list of the web parts.
Classic page:
1. Choose the Insert tab in the Ribbon.
2. Click the blue Insert button.
Then, select the chosen ShortPoint Design Element from your Page Builder menu. For the purposes of this article we are using ShortPoint Image Lists.
Step 2: Connect your Design Element to Current User
Switch to the Connect tab and select the Current User connection option.
Click Connect and wait for the connection to load.
Now the Current User is connected. To complete the connection, we need to map the fields, as shown above.
Please proceed to the next step.
Step 3: Map the Items
Switch to the Items tab.
Map the corresponding properties to display on your page. Click the chain icon and choose the option you would like to map from the drop-down.
In our example we mapped the Title field with the FirstName and LastName, Subtitle field with the Job Title, Description field with the Department content from the users' profiles and Image field with the PictureURL.
Note: Check our ShortPoint Connect: Basic Tutorial for more information on how ShortPoint Connect works.
Step 4: Click Insert and save the page
You can click Preview button to check how it will be displayed on your page.
Then, click Insert and save the page.
Note: If you are editing the element not for the first time, instead of Insert you will see the Update button.
Example
Here is a sample web part that uses ShortPoint Connect Current User option: