Hi,
I have a Tree browser which displays the data in a parent child relationship. My display column list contains "CHILDNAME, PARENTNAME, CHILD_KEY, PARENT_KEY". So when ever a folder is selected and tried to fetch the datalink value, then it fetches the value of the CHILD_KEY.
But I want the value of another column of the query output as the Datalink value.
Query returns the following columns:
CHILDNAME, PARENTNAME, CHILD_KEY, PARENT_KEY, COLVALUE1, COLVALUE2
Now in the display template I mapped the columns as
<Param Name="DisplayColumns" value="CHILDNAME, PARENTNAME, CHILD_KEY, PARENT_KEY">
If I change the above line of code to as shown below:
<Param Name="DisplayColumns" value="CHILDNAME, PARENTNAME, CHILD_KEY, PARENT_KEY, COLVALUE1">
then I dont have a method to fetch the value of the COLVALUE1.
I cannot keep this column name in between the list because it distorts the heirarchy view. But I really need the value of COLVALUE1 on selection of a folder in Tree View browser.
Could any body help!
I am using MII 11.5
Regards,
Rajesh.