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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (20,893)