Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1897
  • Last Modified:

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
0
Richie_Simonetti
Asked:
Richie_Simonetti
  • 3
1 Solution
 
ZvonkoSystems architectCommented:
What values does your DialogList have for the Choices?
It should be: UseFormulaForChoices; Formula: lstUsers
0
 
ZvonkoSystems 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
 
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now