Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
i need a query to select nodes by a specific NodeTypeAlias and PropertyValue. If I search only for the NodeTypeAlias, I got the correct result list.
Next criteria is the checkbox-Property 'isPodcast'. But I doesnt receive any results. Do you have a good solution for me?
var query = ExamineManager.Instance.CreateSearchCriteria() .NodeTypeAlias("Thema") .And() .Field("isPodcast", "true") .Compile();
TIA,
Cheers, Nadine
Try changing "true" to "1", does that work?
No, it doesn't work.
Have you tried seeing what the "isPodcast" value looks like in the index? Using the Examine tools in the CMS.
Go to Developer > Examine Management > ExternalSearcher (I assume you're using this index?) > Search Tools.
Then type in "Thema*"
Check what values are next to your "isPodcast" fields in the results.
Hi, i dont find the examine Manager in the CMS. I am completly new to this topic. Anyway, I deleted the checkbox and replaced the field via a tag.
This solution works great. I search the podcast-publishedContents by following statement
var publishedContent = Umbraco.TagQuery.GetContentByTag("Podcast");
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
ExamineManger - Search Node by Property
Hi,
i need a query to select nodes by a specific NodeTypeAlias and PropertyValue. If I search only for the NodeTypeAlias, I got the correct result list.
Next criteria is the checkbox-Property 'isPodcast'. But I doesnt receive any results. Do you have a good solution for me?
TIA,
Cheers, Nadine
Try changing "true" to "1", does that work?
No, it doesn't work.
Have you tried seeing what the "isPodcast" value looks like in the index? Using the Examine tools in the CMS.
Go to Developer > Examine Management > ExternalSearcher (I assume you're using this index?) > Search Tools.
Then type in "Thema*"
Check what values are next to your "isPodcast" fields in the results.
Hi, i dont find the examine Manager in the CMS. I am completly new to this topic. Anyway, I deleted the checkbox and replaced the field via a tag.
This solution works great. I search the podcast-publishedContents by following statement
is working on a reply...