Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

Get fieldvalues from items in custom macro

$
0
0
Hello, We're creating a custom breadcrumb function where we need field values from the items we want to display. Underneath you can see our code to receive the link @ title:Item is of type TreeNode. @@div class='pull-left item'@@a href='@ + item.RelativeURL + @'@@ + item.GetValue(Constants.Title) + @@/a@@/div@@; Our problem is as following: The GetValue function to receive the Title does not always answer correctly. In most cases it returns NULL.Anyone has an idea what is going wrong?

Viewing all articles
Browse latest Browse all 8901

Trending Articles