Skip to main content

Notifications

Power Pages - Design & Build
Suggested answer

Created by and Modified by not showing proper user

(0) ShareShare
ReportReport
Posted on by 1,103
Hi Guys,
 
I have created a list and a form to add data to the list but the Created by and Modified by are showing as "# Portals-Aftercare Portal" as shown below.
 
How do I get it to show the real user who added the data?
 

Categories:
  • Suggested answer
    Fubar Profile Picture
    Fubar 7,647 on at
    Created by and Modified by not showing proper user
    As the previous post stated, the out of the box created by & modified by will be the portals service account. Please note you cannot update the out of the box Owner or Created By/Modified By fields via metadata. 
     
    To record the portal user making the change, add a Lookup (or 2) to the Contact table to your table (e.g. call it Created By Portal User), then either use settings on the Form (Associate Current Portal User) or form metadata (Set Value On Save) to set the Contact Lookup with the current portal user's contact.
    (note some options are only available from the Power Pages Management App)
     
     
     
     
  • SaiRT14 Profile Picture
    SaiRT14 1,474 on at
    Created by and Modified by not showing proper user
    The issue arises because when a form is submitted via a Power Pages portal, the Created By and Modified By fields reflect the service account (# Portals-Aftercare Portal) that submits the data, not the actual logged-in user's details
     
    Go to Entity Forms or Basic Forms. Select the form being used for data submission. In the Entity Form Metadata section: Add a new metadata entry for the Owner field. Set it to the current logged-in user by enabling the Populate Current Portal User option.
     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,867

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,174

Leaderboard

Featured topics