web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Using the signed-in Us...
Power Pages
Answered

Using the signed-in User Name (Contact), how can I automatically place this name into a table column that is a LookUp to the Contacts table?

(0) ShareShare
ReportReport
Posted on by 7
The two related tables and their 1 to many relationship are illustrated below.
 
mikejminto_2-1692166441648.png

 

Currently when creating a new Lessee record via Power Pages, the new record is not automatically assigned the required Contact LookUp value. This expected behaviour is required to allow different Users (Contacts) on the Power Pages site to see only the Lessee records they created

mikejminto_1-1692166313307.png

 

A snippet from the Lessee power page shows some dummy data with the related Applicant after manually updating the field.

 

mikejminto_0-1692166210633.png

 

Please reach out if you require further clarification.

 

Regards

Michael

 

Categories:
I have the same question (0)
  • Akah Mandela Profile Picture
    445 on at

    I understand that you want to ensure that only the user who created or was assigned to a lessee can view it. If this is the case, I believe that linking the lessee to the contact table and creating a filter condition for display where the contact name or ID is equal to the ID or name of the current logged-in user should work.


    Or creating a business rule in dataverse that will automatically populate the lookup value may also work somehow

  • Verified answer
    Saud Ali Profile Picture
    812 Super User 2024 Season 1 on at

    Hi @mikejminto ,

     

    Assuming you want to tag newly created record with the logged in contact. To achieve this in Power Pages you can Associate Current Portal User on Insert. To associate, please follow the steps mentioned in the article.

     

    https://mxemdarcy.com/2023/02/15/power-pages-display-the-contact-that-submitted-a-form/

     

    Feel free to ask, if you have any questions.

     

    Thanks,

    Saud

     

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • mikejminto Profile Picture
    7 on at

    Hi Saud.

     

    Thanks for directing me to the great article on "Power Pages: Displaying the contact that submitted a form" by Mx Em D'Arcy. The missing piece of the puzzle for me was in Portal Management - Basic Forms - Entity Form, "... Select the Additional Settings and scroll down until you see the “Associate Current Portal User on Insert” section. Check the box and select the look up field from the dropdown on the right."

     

    This worked a treat.

     

    Thanks very much.

     

    Regards 

    Michael

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Suriyanarayanan V Profile Picture

Suriyanarayanan V 45

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 14 Most Valuable Professional

#3
DP_Prabh Profile Picture

DP_Prabh 13

Last 30 days Overall leaderboard