Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

When creating a record it saves with page name and not user name

(0) ShareShare
ReportReport
Posted on by 10

I'm having this issue

every time I created a record instead of saving the User Name on the Created By Column it will store the Page/Portal Name


Is there any way to fix this?

IT_User_0-1700682084070.png

 

Categories:
  • Fubar Profile Picture
    7,966 Super User 2025 Season 1 on at
    Re: When creating a record it saves with page name and not user name

    The system will record the actual user that is creating in the Created By and Modified By, for Power Pages /Portal this will be the system account being used by the Portal/Pages (what you are seeing).  Your Portal Users are actually Contact records and cannot be put into those fields - technically if your Contact Record was also an AD User you may be able to intercept the create/update in a Plugin and try switching the created by user - but what we usually do is create a Contact Lookup on the table in question and populate it with the current Portal User via a form Metadata record (you will find them in the Portal/Pages Management App as a related record in the Basic Form or Steps definition, and can also do it for their Account). Then when you see that field populated in the Create/Update transaction in the Audit history you know who it was doing the action on the portal,

  • Lucas001 Profile Picture
    2,212 Super User 2025 Season 1 on at
    Re: When creating a record it saves with page name and not user name

    Hi @IT_User,

     

    unfortunately the behaviour you want is not the default one.

    The solution to your problem is to create a column which you can include but hide in the form. Using the power designer or jQuery in your power page.

    You can than use the User().id which comes from the user Object once the user is logged in and populate the field.

    With that you will have the needed information inside dataverse and can filter.



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

    Hope that helps.

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

  • IT_User Profile Picture
    10 on at
    Re: When creating a record it saves with page name and not user name

    It is a single multi step form that the logged user need to submit 
    This users are logged using Local Sig In but I need to save their names into a column so I can filter later the views based on their user name/ email/ full name

  • Lucas001 Profile Picture
    2,212 Super User 2025 Season 1 on at
    Re: When creating a record it saves with page name and not user name

    Hi @IT_User,

     

    do you create a new row with a form?

    I believe that's the intentioned behaviour.

    What you can do and maybe is an easy way to solve your problem is to assign specific business units depending on what form you submit. With that info you can further proceed using PowerAutomate etc.



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

    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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43