Hi I uploaded a file using sharepoint rest api using below url
_api/web/getfolderbyserverrelativeurl('/Pages')/files/add(url='Pages/14789564.aspx')
If you see here Page Layout created as empty. Is it possible to update or create pagelayout here
Hi I uploaded a file using sharepoint rest api using below url
_api/web/getfolderbyserverrelativeurl('/Pages')/files/add(url='Pages/14789564.aspx')
If you see here Page Layout created as empty. Is it possible to update or create pagelayout here
I'd advise on using the pnp/sp library (if you're developing in JS/TS) and leverage the clientside pages api.
From a purely technical standpoint, you'll find two columns in the SharePoint Pages Library that contains information pertaining a page rendering/appearance/contents: CanvasLayout1
and LayoutWebpartsContent
, both contains a sort of XML with escaped JSON within. You may reverse engineer existing pages to try and generate your own