Skip to main content

Retrieving values of foreign key relations

Comments

1 comment

  • Zendesk API User
    Author: broszeit - 3/27/2012 7:14

    Hello Peter,

    you can access any value of the company table using this syntax:

    #row.f_companiesList.COLUMNNAME

    If you have a 1:n oder m:n relationship you can access every single value with the following code

    For example the company list: (with a column "Name" in the table "Companies")

    $CMS_FOR(company, #row.f_companiesList)$

         $CMS_VALUE(company.Name)$

    $CMS_END_FOR$

    Rouven

    0

Please sign in to leave a comment.