lotusScript: Populate a listbox Field dinamically

Well, i already tried using replaceitemvalue method passing an array of string. Also, assigning that array directly like:

doc.lstUsers = myarray

Array has values, i can see them in debug mode. If you see the values property of that field, you could see those values buy my uidocument has an empty field...
Tried refresh, reload, save and save methods for ui and back end document, nothing is showed...
the same apply when use a richtext field, nothing could be seen but values is full of data...

Thanks
LVL 16
Richie_SimonettiIT OperationsAsked:
Who is Participating?
 
ZvonkoConnect With a Mentor Systems architectCommented:
Uhps, sorry. Bad recommandation.
Better use a hidden field for DialogList choices and set the value for that hidden field.
The value for the DialogList field is the selected options from the DialogList.

0
 
ZvonkoSystems architectCommented:
What values does your DialogList have for the Choices?
It should be: UseFormulaForChoices; Formula: lstUsers
0
 
Richie_SimonettiIT OperationsAuthor Commented:
yeah, you are right with your last recomendation. Indeed, i used that approach in another app and i completely forgot it.
Thanks.
0
 
ZvonkoSystems architectCommented:
You are welcome.
0
All Courses

From novice to tech pro — start learning today.