Updating the site content type failed
20-Jul-2020 15:52
Søren does a great job at explaining the problem and what the code is doing so I won’t reiterate it here.
My modified version of the code can be seen below: By refactoring the code slightly I’m now able to use the code via the stsadm command, which I called gl-propagatecontenttype, or I can call the Process method via my Feature Receiver by just adding a reference to the assembly – this way I can push changes to content types down to the lists they are bound to when my Feature is re-activated.
This could be a bit of a problem for Gutenberg though with the level of use that Cloud Flare has.Here’s the syntax of the command: I suggest you avoid the use of the -removefields parameter if possible – I left it there because I thought I might need it but it’s usually not a good thing to do something so destructive in batch like that (just make sure you at least test the change before going to production with it).