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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Power Pages - SharePoi...
Power Pages
Suggested Answer

Power Pages - SharePoint Integration MetaData

(0) ShareShare
ReportReport
Posted on by 28
Hi All
 
I have a client Power Pages site which is using SharePoint Integration for Document storage.  I have been asked whether, on the Power Pages form, I can display which user(contact) it was that uploaded a document.    All users are authenticated, so i have the contact details.  What I can't figure out is:
 
- how can I pass the contact data to the SharePoint when a file is uploaded, such that it can be recorded as metadata against the file; and
- how to modify the in-form display of SharePoint files to display additional metadata information beyond the file name and the data modified.
 
Any thoughts or pointers would be most helpful
 
Thanks very much
 
Peter
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    pls try the following:
     
    Since all users are authenticated, use Power Pages to capture the current user’s contact information (e.g., contact ID, name, or email) when they upload a document.
    • Create a Power Automate flow triggered when a new file is uploaded to the SharePoint library.
    • In the flow, use the Get File Metadata action to retrieve the document properties, and then use the Update File Properties action to add the contact’s information (captured in Power Pages) as metadata to the document.
    • You can store fields like UploaderContact or UploaderEmail in the SharePoint document library metadata, allowing you to record the uploader's identity.
    • Go to the SharePoint library where the documents are stored.
    • Modify the default view to display the custom metadata fields (e.g., UploaderContact) that you added for the uploader’s contact information. This will make the metadata visible in SharePoint.
    fetch("https://yoursharepointsite/_api/web/GetFileByServerRelativeUrl('/path/to/document')?$expand=ListItemAllFields")
        .then(response => response.json())
        .then(data => {
            // Display uploader information
            document.getElementById("uploaderName").innerText = data.ListItemAllFields.UploaderContact;
        })
        .catch(error => console.error('Error fetching metadata:', error));
     
  • rulesrchanged1 Profile Picture
    on at
    Unfortunately no way to customize this in OOB SP integration. You can post an idea at ideas.powerpages.microsoft.com for a feature enhancement (or upvote it).

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 78 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 75

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard