it depends where you want to search. the most common way on published nodes is the nodeFactory. If the nodes are subnodes on one specific node, you can easily iterate via NodeFactory syntax. If you the nodes are distributet over the whole system but are from one doctype LinQToUmbraco gives you what you want.
Filter and sort nodes in DLL library. v4.7
Hello all!
Using umbraco v4.7.
What are the options and what would be the best way to filter and sort umbraco nodes in a class library (dll)?
In this particular case I want to filter and sort by a datetime property (Date Picker With Time in backend).
I want to find nodes with an upcoming date and nodes with a past date seperately, sorted by date.
Thanks!
Hi Daniel,
it depends where you want to search. the most common way on published nodes is the nodeFactory. If the nodes are subnodes on one specific node, you can easily iterate via NodeFactory syntax. If you the nodes are distributet over the whole system but are from one doctype LinQToUmbraco gives you what you want.
hth, Thomas
is working on a reply...