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'm wondering if there's a 'quick' way to look through the umbraco CMS via that v6 api for nodes (of any content type) with a specific property?
E.g.
- Publish Event Raised
- // Retrieve all nodes with property type X that has value Y
- Process retrieved nodes
Cheers,
Paul
First thing you need to ask yourself; is looking in published content only enough? Or should non-published content be included too?
Ah, ok - it's non-published as well.
Hmm, that's tricky... Looking in published content is way faster than looking in all content. I'd use Examine/Lucene for this purpose...
Some stuff to read:
Yea Examine search on an index is going to be the fastest way :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
v6 API - Fastest way to query for property on all nodes?
Hi,
I'm wondering if there's a 'quick' way to look through the umbraco CMS via that v6 api for nodes (of any content type) with a specific property?
E.g.
- Publish Event Raised
- // Retrieve all nodes with property type X that has value Y
- Process retrieved nodes
Cheers,
Paul
First thing you need to ask yourself; is looking in published content only enough? Or should non-published content be included too?
Ah, ok - it's non-published as well.
Cheers,
Paul
Hmm, that's tricky... Looking in published content is way faster than looking in all content.
I'd use Examine/Lucene for this purpose...
Some stuff to read:
Yea Examine search on an index is going to be the fastest way :)
is working on a reply...