Forum Discussion
Custom Scripts policy breaks editing Custom Fields in PDPs (Project Online)
Woody In our tenant custom scripting must enabled to modify the PDP (web part) and I have recently modified a PDP. Have you talked with your global sharepoint admin to see if they need adjust a policy or configuration in your tenant?
What is the relation between adding or removing ECFs to a PDP and Custom Scripting?
I cannot see why a basic Project Online functionality is impacted by the recent Custom Scripting policy. We cannot work by opening a ticket to disable the policy every time we need to modify a PDP to add or remove a ECF with no use of Custom Scripts!
Additionally, Site Collection Content Types are not editable anymore, so if you use a Word file as a template for CTs, you cannot edit it anymore.
All due to the Custom Scripting policy.
- RodFrommJul 12, 2024Iron Contributor
jefmeyer Review this. Microsoft implemented a change that removed custom scripting from OneDrive and SharePoint. You will need your Global SharePoint Admin to go M365 Message Central and review Message ID MC714186. Basically, they will need to run a PowerShell script to re-enable custom scripting on affected PWAs.
- PaulB1810Jul 16, 2024Copper ContributorTHANK YOU!!
This is the fix that RodFromm and jefmeyer were referring to. It works for editing the PWA Home Page as well as additional web parts for the PDPs.
1, In O365 Admin, go to the SharePoint Admin portal
2. Click on Active sites
3. Click on the site name for MDTAProject PA Site Name
4. When the dialog appears, click on Settings
5. Under Custom Scripts, click Edit
6. Select the Allowed radio button and click Save
The Allowed setting will default back to Blocked after 24 hours.