I have tried to use the module but can only find two Loops "QueryResultItem" and inside that "Properties" - why doesn't it do a "template.SetTag(property.name, property.value)" along side med Properties Loop ?
I need this in a hurry :)
I have tried to use the module but can only find two Loops "QueryResultItem" and inside that "Properties" - why doesn't it do a "template.SetTag(property.name, property.value)" along side med Properties Loop ?
I need this in a hurry :)
Hi Kevin,
You can do this already using Razor -- which we recommend for this module anyway -- by doing something like this:
var prodItem = result.GetLoop("Properties").FirstOrDefault(li => li.GetValue("Name") == "ID"); if (prodItem != null) { var prodId = prodItem.GetValue("Value"); <div>@prodId</div> }
I'll add this feature request to the backlog, but if you need it in a hurry, then I recommend using Razor for now.
- Jeppe
You must be logged in to post in the forum