Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Display Field from foreign key data in tree

$
0
0
Hi,

I understand that the trees in C1 have some issues with nested data objects. I can work around most of them (without hacking).

I like to know if (and how) it is possible to display some (name) field from a referenced datatype in the tree;

Recept:
  • Id
  • ForeignKey (Ingredient.Id)
Ingredient:
  • Id
  • Name
When an Ingredient is added, the tree shows the id. What I like to display is the Name of that ingredient.
I know I can set the label for data elements to: Label="${C1:Data:Type:[Field]}". Is there anyway to address the nested type without creating custom trees.

thnx,
JamBo

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>