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 / Put Contact and Accoun...
Power Pages
Answered

Put Contact and Account on my table from loged user

(0) ShareShare
ReportReport
Posted on by 7

Hello,


we need put "Contact" and "Account" on my table (both columns are lookup of system tables) from website logged user, using a Form on my Power Page.


Can you help me, please?

 

Categories:
I have the same question (0)
  • Lucas001 Profile Picture
    2,541 Super User 2026 Season 1 on at

    Hi @s4ns,

     

    as you already have a lookup you can just use them in a form.

    Could you outline exactly what you want to achieve?

  • s4ns Profile Picture
    7 on at

    Hello

     

    In the "Account" and "Contact" columns of my table I want to save the value of the logged in user for each record.

     

     

    Thanks!

  • Verified answer
    Lucas001 Profile Picture
    2,541 Super User 2026 Season 1 on at

    Hi @s4ns,

     

    every User which has an account has an Id.

    You can access that by using the User-Object with Jquery User().id.

    Create a form with which you want to create the record.

    Populate those 2 fields with the needed data. Have a look at that tutorial how to populate a lookup field: https://www.youtube.com/watch?v=N7p-EfwshAg

     

    Hide the two fields, as your user probably shall not see those.

    After submitting your lookup fields will be populated with the correct user.



    --------------------------------------------------------------------------------------

    Hope that helps.

    If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 64

#2
DP_Prabh Profile Picture

DP_Prabh 36

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

Last 30 days Overall leaderboard