I am using the embeded content datatype to hold a list of links. Each link has a tick box that when checked will format that link slightly differently.
To solve a layout issue I need to know how many of the links have this value set. How can I could them when the EmbeddedContent property is returned as DynamicXml.
This is an example of the xml produced by the datatype
Counting DynamicXML items with certain value
I am using the embeded content datatype to hold a list of links. Each link has a tick box that when checked will format that link slightly differently.
To solve a layout issue I need to know how many of the links have this value set. How can I could them when the EmbeddedContent property is returned as DynamicXml.
This is an example of the xml produced by the datatype
What I want to do is get a count of all the items that have isHeading set to 1. But I'm not sure how to do so as it's dynamicxml.
is working on a reply...