cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Parzival2307
Frequent Visitor

Add pages to SP Site Pages using Powerapps

Hello

Can we add new Pages to SP Site pages library using a Powerapp Form ?

I know its possible to connect Powerapps to SharePoint site pages library and display all items on a gallery but not sure if adding new items work.

I connected an edit form to the site pages document library and tried to Submit the form but it throws below error :

"The requested operation is invalid. Server Response:Site Pages failed: To add an item to a document library, use SPFileCollection.Add()"  as SP document libraries by default expect a file to be uploaded.

 

So how can we do this for Site Pages ?

Any help is greatly appreciated !!

 

 

1 REPLY 1
v-bofeng-msft
Community Support
Community Support

Hi @Parzival2307 :

I am afraid that you cannot use the Powerapp form to add a new page to the SP website page library.

In addition, To create a new page, we need to create a .aspx file, and the documentation of Share Point connector states that "Editing or managing file(s) is not supported.".

If you need this feature, I suggest you submit your ideas to this forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

Best Regards,

Bof

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,413)