comma seperate IDs value get into anthor node

Sukesh Jakharia asked on June 7, 2016 15:41

Hello Friends,

I am new in kentico CMS

I have made one page type "Members" and made one field "PracticeArea" (here practiceArea ids store by comma separated)

I have got member listing via page type's Transformation (Transformation type:Text/XML)

Can you help how to get above PracticeArea name through comma separated IDs in member listing page?

My page type table name is [xyz_Memberlist]

Recent Answers


Joshua Adams answered on June 7, 2016 15:54 (last edited on December 10, 2019 02:30)

Something like this should get you where you need to be. The only other thing is to create a custom macro method that will look up with value in the other table, and return the name. The documentation walks you through creating your own macro method. https://docs.kentico.com/display/K9/Registering+custom+macro+methods {% y = PracticeArea; foreach (x in y){z += MyCustomLookupMacroMethod(x); } return z; |(identity)GlobalAdministrator%}

1 votesVote for this answer Mark as a Correct answer

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