How Can We Help?
Search for answers or browse about Sintel Forms.
Disable Sintel Forms on a list
It’s very easy to disable Sintel Forms on any list on which it is configured.
Disabling Sintel Forms can be achieved using the Sintel Forms Designer or via Code in your web browser.
Using Sintel Forms Designer
- Open the list and click on Sintel Forms Designer from the menu
- Click on the Settings screen and deselect the option named Enable Sintel Forms on this list
- Click Save and exit
Sintel Forms will now be disabled on the list and when users interact with data in the list to view it, edit it or add new list items, the regular SharePoint interface will be used.
Using Code in your web browser
If for some reason you are unable to use the Sintel Forms Designer to disable Sintel Forms, you can instead use a code snippet in your web browser to accomplish the task.
The reason this must be ran in your browser is because Microsoft blocked the ability to run PowerShell in the user context so if you wanted to use PowerShell to disable Sintel Forms you would need to create an App Registration in Azure and then grant it permissions to run the PowerShell.
- Navigate to the site contents of the site in which you wish to disable Sintel Forms
- Open your browser’s developer tools (press F12)
- Switch to the Console tab
- Copy the code provided and paste it into the Console.
- Replace “Enter a list title here” with the internal name of the list in which you wish to disable Sintel Forms
- Press Enter to execute the code
It is important you use the Internal name of the list, for example the list name may be displayed as “My List” but it’s internal name could be “My%20List” if it contains spaces.
Once the script has been executed, Sintel Forms will be disabled on the list.
(async (listTitle) => { try { // Fetch the content types const response = await fetch( `${_spPageContextInfo.webAbsoluteUrl}/_api/web/lists/getbytitle('${listTitle}')/contenttypes`, { method: "GET", headers: { Accept: "application/json;odata=verbose", }, } ); // Check if the response is successful if (!response.ok) { throw new Error(`HTTP error! Status: ${response.status}`); } // Parse the JSON response const data = await response.json(); // Ensure there is default content type if (data.d && data.d.results && data.d.results.length > 0) { const defaultContentType = data.d.results[0]; const defaultContentTypyId = defaultContentType.Id.StringValue; // Update the content type with default form URLs await fetch( `${_spPageContextInfo.webAbsoluteUrl}/_api/web/lists/getByTitle('${listTitle}')/contentTypes('${defaultContentTypyId}')`, { headers: { accept: "application/json", "accept-language": "en,pl;q=0.9,en-US;q=0.8", "cache-control": "max-age=0", "content-type": "application/json;charset=utf-8", priority: "u=1, i", "sec-ch-ua": '"Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"', "sec-ch-ua-mobile": "?0", "sec-ch-ua-platform": '"Windows"', "sec-fetch-dest": "empty", "sec-fetch-mode": "cors", "sec-fetch-site": "same-origin", "x-clientservice-clienttag": "PnPCoreJS:3.19.0:w.l.g.contentTy", "x-http-method": "MERGE", "x-pnpjs-requestid": "c9374ebb-ab4f-43cd-a7e2-005736f670ef", "x-requestdigest": _spPageContextInfo.formDigestValue, }, body: '{"NewFormUrl":"","EditFormUrl":"","DisplayFormUrl":""}', method: "POST", mode: "cors", credentials: "include", } ); } else { console.error("No content types found in the list."); } } catch (error) { console.error("Error fetching content types:", error); } })("Enter a list title here");