Umbraco Content data source doesn't work on member
See original GitHub issueWhich Contentment version are you using?
1.4.4
Which Umbraco version are you using? For example: 8.14.1 - don’t just write v8
8.13.1
Bug summary
Not sure if this is a bug in Contentment as it is also the behaviour with MNTP.
When using Umbraco Content data source on a member, the data list doesn’t show any data. This is probably because it doesn’t know about the context. I can probably use $root
instead of $site
when we know only a single site node is used:
I suggested this some time ago to make MNTP work on Media and Member types, when current section is not Content section: https://github.com/umbraco/Umbraco-CMS/pull/10049
Steps to reproduce
Create a datatype using Data List and Umbraco Content as datasource.
Specify Xpath query using $site
and add a property to a member type using this datatype.
When “Add” on member property no content is shown in overlay.
Expected result / actual result
No response
Do you have Umbraco ModelsBuilder enabled?
- Yes, it is enabled.
What browsers are you seeing the problem on?
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
custom member data source - Using Umbraco And Getting ...
I'm in process of converting an old umbraco 7 site with a completely custom user database - it doesn't use membership at all....
Read more >Add data source for members · Issue #101
Currently it is possible to use Umbraco Content as data source. However it doesn't seems Contentment out-of-the-box has a members data source.
Read more >Adding content to umbraco?
I recently made the decision to develop our new company website (http://www.idealcode.net:8005/AboutUs.aspx) with Umbraco. I hired an Umbraco ...
Read more >What is Umbraco CMS?
Umbraco is an open-source content management system built on Microsoft's .NET framework and written in C#. It's a well-established CMS ...
Read more >Release notes | CMSImport
Fixed: Set default Id information in Umbraco Content data provider. Fixed: Multiple media picker using Umbraco Import provider doesn't work.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The main reason for the Umbraco dependency bump was to do with the
<umb-icon>
directive, (and v8.14 was the latest at the time). Always tricky for a package developer to balance progress/enhancements with maintenance/support. 😬Feel free to reuse what you need from the Examine data-source - if it helps? e.g. https://github.com/leekelleher/umbraco-contentment/blob/dev/v2.x/src/Umbraco.Community.Contentment/DataEditors/DataList/DataSources/ExamineDataListSource.cs
Closing off this issue, (as per the original query). As mentioned above, https://github.com/leekelleher/umbraco-contentment/issues/184#issuecomment-963215362, the “Umbraco Content” data-source was (limited) designed to work within the Content section.