Contact us
View as Markdown
Ask AI

Open this page in an AI assistant with a ready-made prompt.

Opens a third-party service and shares a pre-filled prompt containing this public page URL, its product documentation URL and /llms.txt. No VirtoSoftware account or tenant data is included. Provider terms and privacy policies apply. Verify answers against the linked documentation.

OpenAI terms · OpenAI privacy policy · Anthropic terms · Anthropic privacy policy

Custom Script and the Add and Customize Pages Permission

Virto Forms Designer App publishes each layout twice: as classic form pages in the list and as a modern form. They need different SharePoint permissions on the site.

What you publishPermission it needs
Classic forms (the pages VirtoNew.aspx, VirtoEdit.aspx, VirtoDisplay.aspx in the list)Add and Customize Pages
Modern forms (the file VirtoForms.json in the list and the form set on the list’s content types)Manage Lists, and the app package 2.0.2.0 or later in the app catalog

Why Add and Customize Pages is missing

SharePoint Online gives the Add and Customize Pages permission only on sites where custom script is allowed. Even a site owner with full control does not have it while custom script is blocked, and SharePoint blocks it again within 24 hours after it was allowed. This cannot be made permanent.

To check your permissions on a site, open Site settings → Site permissions and check the permissions of your account or group.

Site Permissions page for checking Add and Customize Pages rights on the root site

Allow custom script for a while

A SharePoint Administrator allows custom script on one site with the SharePoint Online Management Shell (Allow or prevent custom script):

Connect-SPOService -Url https://<yoursitename>-admin.sharepoint.com
Set-SPOSite https://<your site url> -DenyAddAndCustomizePages 0

Then publish or change the classic forms before SharePoint blocks custom script again. Forms already published keep working after that.

Without custom script: modern forms only

When custom script is blocked, a person with the Manage Lists permission can still save, publish, unpublish and delete layouts, on a tenant with the app package 2.0.2.0 or later. Only the modern forms and the layouts saved on VirtoSoftware’s server change; the classic form pages stay as they are. A bar at the top of the designer says so, and the classic preview is off.

The designer bar saying that the classic forms of the list cannot be changed and the modern forms are published as usual

Without Add and Customize Pages and without Manage Lists, the designer shows Your account does not have Add and Customize Page permission. You are not allowed to manage list forms. and the commands that change forms are off. With Manage Lists but an app package older than 2.0.2.0, the message adds that the modern forms need the latest Virto Forms Designer app from the app catalog.

See Classic and modern forms.

Updated on November 24, 2026