cancel
Showing results for 
Search instead for 
Did you mean: 

How do we access in studio through layoutValue in EL a complex schema which is a list?

Amir_Buzo
Confirmed Champ
Confirmed Champ

personal is the schema prefix. Family is a complex list. DPGJC is attribute of complex list family. #{layoutValue.personal.Family.dpgjc == true ? 'view' : 'edit'}

2 REPLIES 2

Amir_Buzo
Confirmed Champ
Confirmed Champ

Florent Guillaume

I tried all of this and nothing seemed to work

#{layoutValue.kartelapersonale.Familja.dpgjc == true ? 'view' : 'edit'}
#{layoutValue.data.kartelapersonale.Familja.dpgjc == true ? 'view' : 'edit'}
#{layoutValue.kartelapersonale.Familja.data.dpgjc == true ? 'view' : 'edit'}
#{layoutValue.data.dpgjc == true ? 'view' : 'edit'}

Amir_Buzo
Confirmed Champ
Confirmed Champ
#{layoutValue.personal.Family.getData().get(INDEX).getValue('dpgjc') == true ? 'view' : 'edit'}
  

I discover how to get it from the list but i need to take the item of list and i need the right INDEX, I have tried with widgetIndex, rowIndex, LayoutValueRow etc but nothing seemed to work. It always take the value 1. How to pick up from layoutValue the index of a list.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.