Node constraints defined in segment
Is there a way to constrain the options for Category that are available to a node by constraining it from the segment that uses it?
Is there a way to constrain the options for Category that are available to a node by constraining it from the segment that uses it?
Hi Nolin,
this should be possible.
You need to "map" the selected Category from the segment into the node Items.
As there is no direct relationship to the segment for all levels of content, you cannot use a FVA; but a a computed field migth help.
Something like :
isEmpty(getFieldValue(DocumentID(), Category),Text("-unknown-"))
should give you a Shorttext representation of the segment's Category value.
Than you should be able to build a contraint based on that text field in the content type as intended.
HTH Matthias
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.