Have user copy the list template from another site and want to reorder the content type, when click on the column order at the content type you will see the error :
Object reference not set to an instance of an object. at Microsoft.SharePoint.ApplicationPages.ChangeFieldOrderPage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Work around:
you will not be able to manage the order of your columns on the list settings page again until you switch “Allow management of content types” back to No. When the management of content types if enabled, you can then reorder the columns for each specific content type. You may or may not want this to be your standard setup, so my best practice here would be to turn this feature back off when you are finished managing the content type.
Detail step:
1. change the list setting at Advanced settings and change the Allow management of content types to no. > click ok
2. under the column, you will see Column ordering. Click on the column ordering and change the order.> click ok when you done
3. change the list setting at Advanced settings and change the Allow management of content types to yes > click ok
guessing of the root cause:
i think because the content type is attach to the template and no content type created for the sites. once you click on ordering, then will go to search the content type gallery at site level. once cannot found it and error message will show at above. i guess is consider bug :)
No comments:
Post a Comment