How to add custom property in the TreeNode while getting the records from DocumentHelper.GetDocument

Binod Paikaray asked on June 22, 2018 11:25

Hello,

I want to get an extra column from the DocumentHelper.GetDocuments() which is not listed in the default result set.

For this, I've added an extra column in the view View_CMS_Tree_Joined_Versions which gives me the desired output. But in code, we are creating a new node with each row of the above result set like below.

TreeNode document = TreeNode.New(row);

And after this line of code, the above added column is not present in the list and hence I'm not able to get the desired value.

May I get some help on this please?

Thanks,

Binod Paikaray

   Please, sign in to be able to submit a new answer.