Forum Discussion
Woody
Jun 20, 2024Copper Contributor
Custom Scripts policy breaks editing Custom Fields in PDPs (Project Online)
Hi! Due to the recent policy applied by Microsoft about blocking the edition of Custom Scripts with the CEWP, we cannot edit Project Details Pages anymore to add/remove Enterprise Custom Fields i...
jefmeyer
Jul 12, 2024Iron Contributor
RodFromm - I understand how to revert the script setting, however this doesn't seem to be a good long term solution. If I understand correctly, it's possible to delay this change, but come November 2024, the script blocking will be enforced and then it will require SP admin action to revert for a 24 hour period. Since this seems to be a limitation of the Project Online web parts, are there any available or planned updates to Project Online to address this? If not, this seems like a nail in the Project Online coffin.
RodFromm
Jul 12, 2024Steel Contributor
jefmeyer It doesn't sound good. While I don't like it, I don't spend a lot of time each month editing Web Parts in MS Project Online, so setting up a process to have the global admin run the script when needed wouldn't be so bad.
My bigger concern is Microsoft continues to role out these "updates" that make it more difficult to use Project Online. If Microsoft would just implement some key functionality into Planner Premium (Project for the Web): redo security roles, custom global fields, cost fields, resource rates, increase number of tasks to 10K and add timesheet functionality I believe a lot of groups would migrate to Planner.
- spoguysJul 19, 2024Copper ContributorThere is a fairy tale about a bear trying to pick up food from crops. When the bear picks up more, more falls from its hands. That is what Microsoft keeps doing, unfortunately.
- CTS-SRIRAMEJul 24, 2024Copper ContributorUpdate it only for the specific site collection instead for the whole tenant.
Connect-SPOService -Url https://yourdomain-admin.sharepoint.com/ -Credential email address removed for privacy reasons
$url=Get-sposite -Identity https://yourdomain.sharepoint.com/sites/pwa
$url.DenyAddAndCustomizePages
Set-SPOSite https://yourdomain.sharepoint.com/sites/OnePlan -DenyAddAndCustomizePages 0- jefmeyerJul 24, 2024Iron ContributorYes, this is the PowerShell equivalent of what can be done in SP Admin Center. Just be aware that this setting will revert after 24 hours.