How to get strongly typed values in a View from th...
# help-with-umbraco
c
V13.5.3 The docs for Content Picker state:- IPublishedContent typedContentPicker = Model.FeaturePicker; if (typedContentPicker != null) { @typedContentPicker.Name } I can get .Name but nothing else. Everything else has to be typedContentPicker.Value("alias") or it doesn't work. I need the values strongly typed to work with. Part of the item I'm working with is a Gmaps property. Is there really no other way than using magic strings?
5 Views