Version 10 Design Studio Issues

 5 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Brett Eshenour
Basic Member Send Private Message
Posts: 6
Basic Member
Trying to find out if anyone else is experiencing issues with Design Studio in Version 10. We are in process of upgrading on our Test system. We have quite a number of portal pages with imbedded UI forms. We first ran into issues with populating the listboxes dynamically. That issues was resolved and we can now populate those listboxes but with having to recode the javascript. The code we used in Version 9 does not work on Version 10 and the new code for Version 10 does not work on Version 9. The next issue stems from taking data from the portal page and reformatting it and displaying in the UI form for updating. The issue is UI form utilizes listboxes, we can see via alerts that we have successfully set the selected index , selected index text and value properly for the listboxes. Yet we can not get these updated values to display in the listboxes. The last attempt was to attempt to set them using the setAttributes of getElementsByTagName which is not compatible with our corporate level of IE which is IE8. Has anyone run into any similar issues with DS on V10 and would you be willing to share any work arounds? Thanks Brett
David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
I thought you resolved this? https://www.lawsonguru.co...52F%2F1261020781%2F1
David Williams
Brett Eshenour
Basic Member Send Private Message
Posts: 6
Basic Member
Resolved the first issue of populating the listbox dynamically from a dme call. The second issue is taking the information from the portal page, popping it into listbox in the ui form section and having it display. It involves determining which index in listbox the variable belows to, setting the the index, value and text as currently selected. Which works, but getting the listbox to actually display the information in the box does not happen.  Under lsf 9 IE8 design studio worked great using "span" etc, under lsf 10 IE8 span doesn't work and none of the myriad alternatives I've attempted have either Trying to find out if anyone else has experienced this and looking what they may have done as a work around. Thanks Brett
ISO Dan
Basic Member Send Private Message
Posts: 18
Basic Member
Hello Brett, We are running into the exact same issues and attempting to do work around ourselves
SaraP
Basic Member Send Private Message
Posts: 5
Basic Member

We were having the same issues where the list box wouldn't populate.  I opened an incident with Infor and received the information below.  Now my listboxes populate!

 

With the new version of Design Studio (10.0.5 and greater) there are new API methods lawformAddListboxOption and lawformRemoveListboxOption to dynamically add or remove options from listboxes. This information is to replace the manual process referenced in KB 1619046 that is to be used prior to 10.0.5. The lawformAddListboxOption function accepts three or four arguments. The required arguments are listbox id, transaction value, and display value. If the listbox is in a detail area, the row number should be passed as the fourth option. Example for a normal listbox: lawformAddListboxOption('_f617', 'Z', 'Another option'); Example for a listbox in a detail area on row 1: lawformAddListboxOption('_f484r0', 'Z', 'Another option', '1'); The lawformRemoveListboxOption function accepts two or three arguments. The required arguments are listbox id, and transaction value. If the listbox is in a detail area, the row number should be passed as the third option. Example for a normal listbox: lawformRemoveListboxOption('_f617', 'Z'); Example for a listbox in a detail area on row 1: lawformRemoveListboxOption('_f484r0', 'Z', '1');

Ragu Raghavan
Veteran Member Send Private Message
Posts: 477
Veteran Member
Design Studio version 10.0.7. Moved code from V9 to V10, changed the syntax to populate the list box using lawformAddListBoxOption as above. What used to take a second or two to populate 200 entries now takes over a minute. Anybody faced similar issues? Any suggestions? Thanks.