chrishasz / spgo

SPGo: A Lightweight, Open Source, SharePoint IDE for Visual Studio Code
https://www.chrishasz.com/spgo
MIT License
60 stars 11 forks source link

Custom List Form Missing ZoneTemplate Content #54

Closed RAllenAndie closed 6 years ago

RAllenAndie commented 6 years ago

After populating the local workspace, the custom list forms ZoneTemplate section does not contain the custom HTML that exists in the form on the server.

image

sg-chrishasz commented 6 years ago

@RAllenSinai - Apologies for the delayed response here.

This is, unfortunately, the correct behavior for SharePoint. Default form pages store the template for the file (what you see here) and the contents of the file separately. The file templates are stored on disk, but the contents are stored in the ContentDB.

SP Best practices recommend either creating custom pages (You can create branded page layouts with SPGo), and then adding the form to the page via the "Add App" feature from the ribbon, or using the Forms PowerApp for SP Modern sites.