cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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 @Anonymous :

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,854)