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 / Populate "Created By" ...
Power Pages
Unanswered

Populate "Created By" Form Field with actual user, not app

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I'm trying to have a form work with an auto-populated "Created by" column in a dataverse table.

 

Whenever someone submits a form, however, their "Created By" field is auto-populated as # Portals [Site Name] instead of the user's name.

 

How can I get a unique user to be recorded?

Categories:
I have the same question (0)
  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    You cannot do it for the out of the box Created By or Modified By fields.

     

    What you can do is create, additional Contact and/or Account lookup fields  on your Tables (name them what you want e.g. Modified By Portal User) and populate those with the Portal User (contact) and/or their parent Account - this can be done by configuring Metadata records for the respective portal forms (or Steps in a multistep form), can also do the same with the created/modified date-time.

    https://learn.microsoft.com/en-us/power-apps/maker/portals/configure/configure-basic-form-metadata

    set type = attribute and then use the Set Value On Save section.

    (partially it can also be done with some settings on the Form definition "Associate Current Portal User" - but I prefer the metadata approach )

  • ianhurst Profile Picture
    2 on at

    Ok - so I've created a text field called App_user and I've configured the metadata so it will set an attribute on save based on current Portal User. However, even when logged in, this field isn't being filled.

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