Hi all!
I have a solution where I try to match a node with a name from another db.
I have a tree with subpages and multiple levels and I want to traverse the whole tree and find a node with a certain name.
Im trying to use the right syntax to search all nodes. The root node is a separate tree so I’ve hardcoded to the Id:
var home = Umbraco.Content(1957); foreach (var childPage in home.Descendants.Where("NodeTypeAlias == @0 && Name = @1", "Product","The dynamic name im trying to find"){}
But im not getting any result?
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/70769-get-node-with-certain-name