cancel
Showing results for 
Search instead for 
Did you mean: 

Access LIST constraint values from web script?

lyamamot
Champ in-the-making
Champ in-the-making
Any way to access a custom model's LIST constraint values from a web script? I have an FTL where I show a form and I would like to populate a drop-down input with the constraint values rather than repeating myself.
3 REPLIES 3

cheffilet
Champ in-the-making
Champ in-the-making
Hm, i would using a backend Java Class (an WebScriptAction) that obtains the listconstraint (via DirectoryService) and passes it along the pipe to a webscript.

dhalupa
Champ on-the-rise
Champ on-the-rise
Hm, i would using a backend Java Class (an WebScriptAction) that obtains the listconstraint (via DirectoryService) and passes it along the pipe to a webscript.

I guess you meant DictionaryService, there is no such thing as DirectoryService 😉

cheffilet
Champ in-the-making
Champ in-the-making
Oh im sorry, of course i had meant the DictionaryService! Smiley Happy

If you obtain you listConstraint via an actionclass(e.g. via extending DeclarativeWebScript) you can pass your listvalues into a propertymap being available in the FTL.