1
votes

How do I programatically read a custom page field from within a webpart (from the page the webpart is on)?

Thanks

Jon

1

1 Answers

0
votes

Same as you would a non-custom field type:

CustomFieldType customField = (CustomFieldType)page.ListItem["FieldName"];

Only you cast to your custom field type.