I have an ElementType with a picker property that uses a Contentment DataList for selecting a Content node.
I can’t get Umbraco to display the node’s name in the label using UFM - I can get it to display the umb://document/12345abcde “GUID” but I have not succeeded getting the name. I’ve tried all of these:
The author property you’re referencing there is not from a Contentment DataList picker, right? That seems to be the problem for me, as it works just fine with a standard Content Picker.
select dt.propertyEditorAlias, pd.textValue, cv.nodeid, cv.text FROM umbracoPropertyData pd
LEFT JOIN umbracoContentVersion cv ON pd.versionId = cv.id
LEFT JOIN umbracoNode n ON cv.nodeid = n.id
LEFT JOIN cmsPropertyType pt on pd.propertyTypeId = pt.id
LEFT JOIN umbracoDataType dt on pt.dataTypeId = dt.nodeId
where
(pd.textValue like '%2cb4c%' or pd.textValue like '%bd6a503a%') and
cv.nodeid = 1130 and cv.[current] = 1
Looks like your issue is that Contentment stores as array.. but a mntp stores as a csv…
I wish it were that simple… but it seems to be rooted in the fact that the umbContentName component uses the supplied property instead of its value. So even though the value of this picker is a UUID, the property is not a Content or Media (I think it even supports Memberas well) so returns null instead.
I was hoping @leekelleher had run into this himself and found a solution (a la lkContentName in earlier versions).
It’s mostly that I’m not implementing Umbraco websites anymore, so one of those things that fell through the gaps during the Bellissima migration. (I blame the project manager! )
If anyone fancies making a UFM component, I’d be open to a pull request for a lkContentName .