I have a compare function which has a 3 items to compare.
My problem is how can I get their properties with their corresponding ID.
/// Umbraco/Api/Search/ComparisonKeyValues?ids=2874,2875,2876
public List<KeyValuePair<int, string>> ComparisonKeyValues(string ids)
{
// what should I put here...
}
How to get property values from multiple Ids
Hi All,
I have a compare function which has a 3 items to compare.
My problem is how can I get their properties with their corresponding
ID
.Or what shoul I put after
public
?Any help for this, thanks in advance.
I'm new in C# and Umbraco
Thanks
Marky
What I've done is...
But I only get the
ID
&title
..I want also get the
productImage
How can I do this?
Any help?
Thanks
Marky
See https://our.umbraco.com/forum/extending-umbraco-and-using-the-api/95629-how-to-get-3-values-using-keyvaluepair, looks as if this is the exact same question...
is working on a reply...