Aug 02 2018 06:44 AM
I have a business requirement to set a default value for a field within a SharePoint page layout. When attempting to enter a value in ListItemFieldValue within the snippet customization I encounter the error Cannot create an object of type 'System.Object' from its string representation '#myValue#' for the 'ListItemFieldValue' property.
I've tried using ItemFieldValue, ListItemFieldValue, and Value with the same results. I came across an article that shows how to manually code in a value for a rich text field, https://sharepoint.stackexchange.com/questions/173555/pre-populate-html-content-in-the-page-content-..., but cannot find any similar information for other field types.
I am specifically trying to set the default value for a managed metadata column. I am encountering the error for other field types, such as a number column.
Feb 13 2023 12:24 AM
@Darian Glover if it's not too late - try this Column Default Value Settings based on Location in SharePoint - SharePoint Diary