Forum: Lawson Design Studio

To join the discussion you need to register first. (Registration is free!) If you are already a registered user please login to join the discussion.
78 Subscribed to this forum
Page 1 of 1812345 > >>

Topics

Replies
Rating
Status
Views
Subscribers
Last Post

Custom Inbasket (Batch Approval)    

Started By  mel.catarroja
Hi to everyone, I am currently developing a Portal Page that will display a custom Inbasket. The reason why I am customizing the Inbasket is because the client wants to have the ability to approve 'multiple' workunits in just one click. Imagine the standard inbasket where the workunits are listed with a checkbox on each WU. He can select as many as he wants in the display and click the approve button and it will automatically loop through each WU that is checked and approve the WU. ...
4 15032 1
by  Ragu RaghavanJump to last post
8/20/2019 1:09 AM

Remove token from form title    

Started By  Robert Spurr
Is there a way to remove the form token from the form title  I've created some custom forms that are opened through links but I don't want the end-user knowing/seeing the token.  I could wrap in a portal page but I can't figure out how to pass variables need in the embedded form. Thanks Robert
4 5121 0
by  Ragu RaghavanJump to last post
11/27/2018 7:16 PM

Design Studio custom screens on Chrome    

Started By  Ragu Raghavan
Has anybody been successful in making the custom screens work on Chrome I have custom screens that make DME calls that work on IE - but fail on Chrome 50.x, Design Studio v10.x. As far as I can tell, Chrome does not allow synchronous calls and a DME call makes a synchronous http call. This is the message on the developer tools: “Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec....
6 6106 1
by  Ragu RaghavanJump to last post
8/19/2020 10:06 PM

results from AGS call    

Started By  Ragu Raghavan
For years I have been using this syntax to get the results from an AGS call:  var sMsgNbr  = sAGSInfo.selectSingleNode('//MsgNbr').text; This seems to work only in IE. Gets an 'undefined' in Chrome and Firefox. This workaround seems to work on all 3 browsers.  var vNew1 = sAGSInfo.getElementsByTagName('MsgNbr')[0];  var vNew2 = vNew1.childNodes[0];  var vNewMsg = vNew2.nodeValue;
12 8731 4
by  DemiJump to last post
10/28/2020 3:36 PM

HR11 form transfer to Design Studio form transfers employee information    

Started By  Nabil
Hello,   I have a custom HR11 form that displays an employee's own data, OnInit(). My question is, if an employee has access to the regular HR11 and transfers back to the custom HR11 they see the other employee data.   Is there a way to force the custom HR11 not to take a previous employee from another form and display it
4 4125 1
by  NabilJump to last post
3/16/2018 3:49 PM

Passing parameter(s) to trigger flow    

Started By  PD
I have a flow that I am able to trigger using a service via a button object in Mingle. Now I need an example on how to pass parameter from a text object down to the flow where the user will input data. I have the flow with Config parameters and the text input will be used for one of those parameters. I am just not sure how to link all three: the DS form to the service variable to the Config parameter.    see attached files Thanks
2 3791 1
by  PDJump to last post
3/16/2018 1:46 PM

Service Criteria    

Started By  PD
I have three flows being referenced under a service definition and I want them to be triggered individually based on the service criteria in Design Studio: 1_ How do I set the criteria up in the Rich client under Service definition for the differentiation           2_What is the syntax to use in the script for Design Studio to reference the Criteria in code below          var s = AGS '_PDL=' vProdLine;          s = '&_TKN=WFWK.1&_EVT=ADD&_RTN=DATA&_LFN=ALL&_TDS=IGNORE';      ...
0 3892 1
3/19/2018 7:58 PM

Link in Textbox    

Started By  Nabil
Hello All,   Is it possible to include a link in a textbox or text area I need to include a mailto: link to launch the email client if users wish to email HR but I don't seem to figure out a way to do it in Design Studio.   Thanks,
0 3872 1
5/16/2018 6:55 PM

Design Studio Changes    

Started By  Srini Rao
Hello - How do I remove the design studio changes.We used design studio to make changes to AP20.2 but now I wanted to revert back to Lawson Version of AP20.2. How do I do it.
3 4202 2
by  David WilliamsJump to last post
5/18/2018 7:51 PM

How to display an error below a field    

Started By  Randy Jacoy
In Portal if you omit a required field (as an example) and click Change or Add a red error bubble will display below the required field with an error message indicating it's required.  I'm customizing a form and I'd like to mimic that behavior for a new edit I'm adding.  I couldn't find an example of it in the Design Studio Guide (for Lawson 10).  Does anyone know how to do that  Thanks, Randy
0 3980 1
8/16/2018 7:15 PM

AddAttachment    

Started By  Ragu Raghavan
writeattachrec is being replaced by AddAttachment. I found documentation on how to use it in a webrun node in IPA. Could not find any example of use in Design Studio. After some trial and error got this to work -    function AddComment() { var vXMLData = 'Title55Message55'; var vURL = 'http:///lawson-ios/action/AddAttachment'; var xhr = new XMLHttpRequest(); xhr.open('POST', vURL, true); xhr.setRequestHeader('Content-Type', 'text/xml'); xhr.send(vXMLData); // to check for e...
2 21362 0
by  Ragu RaghavanJump to last post
12/17/2018 12:26 AM

Run a SQL Query from a Lawson Form    

Started By  agersh
Using Design Studio once the HR11 form is displayed I would like to execute a custom Javascript function call that runs an SQL query to retrieve a value from the HRHISTORY table. Is this possible What syntax would I use to run an SQL query from a for Lawson form, using Design Studio
2 4175 1
by  agershJump to last post
2/11/2019 5:08 PM

How to retrieve values from a DME Call    

Started By  agersh
How to retrieve values from a DME Call   In the following Javascript function I am writing the DME Call selects 2 fields from the HRHISTORY table. I need some assistance with what programming is needed to retrieve, reference the return records/field values from the DME query.   Also should the DME call output be in CVS or XML format function myDMECall() {      var vCompany = lawForm.getDataValue('text1');      var vEmployee = lawForm.getDataValue('text2');      var vAdjHireDate = law...
3 5618 3
by  David WilliamsJump to last post
2/14/2019 4:33 PM

Selec Top(5000) in DME call    

Started By  PD
How do I modify the code below to select or return top (5000) records Another option is to return records of three months ago from today's date. How do I modify to achieve it   var sDME = 'PROD=' vProdLine;  sDME = '&FILE=ZAP161DATA';  sDME = '&FIELD=COMPANY;VENDOR-NUMB;VENDOR-NAME;INVOICE-NUMB;INVOICE-DATE;PAYMENT-DATE;';  sDME = 'PAYMENT-CODE;PAYMENT-NUMB;CASH-CODE;REMIT-TO-CODE;PAYMENT-AMT;DISCOUNT-AMT;NET-PAY-AMT;'  sDME = 'EMAIL-ADDRESS;EMAIL-SNT-DATE;'   sDME = 'EMAIL-AD...
4 3554 2
by  PDJump to last post
4/12/2019 3:25 PM

Load internal web page    

Started By  PD
How do you call or load an internal web page from Design Studio I am trying to call the internal webpage below and it's not working....any ideas!   function BUTTON_OnClick(id, row) { //Vendor list  if (id == 'push12')       {        window.open('http://dhsivlawpweb.danhosp.priv/la...PayApp.asp');       }      }
3 3784 1
by  PDJump to last post
5/1/2019 5:33 PM

JavaScript differences between IE 11 and Edge?    

Started By  PBL
Using Design Studio, the following JavaScript was added to AP20.1 to retrieve the Requester for a PO.  When run in IE 11 (in default Edge emulation mode) on Windows 7, it runs successfully - the count shows that 1 record was retrieved and the vRequester variable is set to the Requester from the database.  When run in Edge on Windows 10, the count also shows that 1 record was retrieved, but vRequester is always blank.      var strPDL = portalWnd.oUserProfile.getAttribute('productline');      va...
0 3662 2
10/16/2019 7:05 PM

Default field to another field on a Lawson Screen using Design Studio    

Started By  Brian Veldhouse
We would like to default the 'Buyer' ID field to the 'Path' field on PO20.2 *Issues' tab.  We have not done this before on a Lawson screen.  Has anyone done this
2 3974 1
by  Brian VeldhouseJump to last post
3/25/2020 5:55 PM

DS Custom Hr11 Screen    

Started By  Roger French
I've got a few changes to a custom DS screen created by someone else years ago. The screen is a customized version of HR11.1 with just the Main tab and 3 HR User Fields on it. So there are 3 distict HR User Fields on it. I want to add a 4th HR User Field (which is in the database and has a Key Number). In Design Studio, on the Design and Object modes there doesn't seem to be a way to add a 4th field. In the Script mode it's of course XML. But I can't seem to be able to see where or h...
9 4177 2
by  Roger FrenchJump to last post
8/26/2020 5:40 PM

Buttons not displaying on DS form after migration to new server    

Started By  Greg C
We are migrating our Lawson instance to a new AIX server.  No application upgrade, environment upgrade from 10.0.4 to 10.0.9.  We tried to keep change to a minimum.  I've migrated the custom DS forms to the new server and they render, but I noticed that the custom buttons located on the right end 'Action Bar' where Add, Change, etc. buttons are displayed are not showing.  In the current environment, the buttons display to the right of the drop-down action list.   I have run the Rebuild Forms ...
6 4381 1
by  Greg CJump to last post
11/11/2020 2:52 AM

Ming.le vs OS for Design Studio browser check    

Started By  Demi
Hi folks,  I'm looking for some insight to help explain to me why I might be encountering this issue and how to tackle it. I just want to know.  My issue is this.... I have a rather simple DS form(PA90.1)  in our 'new' OS developement system.  The code is split into 2 parts. Part 1 is encapsolated inside of an if condition: if(portalWnd.oBrowser.isIE)  and part two is encapsolated inside of an if condition: if(portalWnd.oBrowser.isChrome).  The form works just fine for both IE and Chrome, perfor...
4 3327 1
by  DemiJump to last post
12/8/2020 3:39 PM

Design Studio limit    

Started By  John Aleszczyk
When I use a listbox in design studio,  it has a limit of 25 records ,  where/how can that be increased I must be overlooking something
1 4641 0
by  Ragu RaghavanJump to last post
1/12/2021 4:57 PM

listbox holding last selected index    

Started By  Demi
A few months ago we adjusted our cusomized forms to work in both IE and Chrome. Now we have discovered something strange.  We have a customized version of pr35.2 for time entries. We made the pay-code field a select field that has hard-coded values for a drop down and/or the users can also type in their pay code if they want to. What has been discovered is ... if an employee has preexisting records on file and the timekeeper tries to add a new entry (overtop of an existing line), when they get t...
5 16098 1
by  Ragu RaghavanJump to last post
6/5/2021 12:36 PM

Design Studio Chrome modifications    

Started By  twinsmomma
Wtih the new changs for alert and confirm statements, I'm using portalWnd.cmnDlg.messageBox.   I'm trying to do a pop up message when someone is trying to submit a job, if they cancel, I want it to focus the Post date.    So what is happening now, they submit , the popup appears but is now showing behind the submission screen instead of the top (like the old messages appeard).   What we want is for the pop up message to come up and if they choose ok, the Submit pop up will appear and if cancel, ...
0 2496 0
1/7/2022 5:43 PM

portalWnd.DataStorage not working    

Started By  TBonney
We recently migrated a DS form for PO20 that was created in portal version 9.0 to new environment that is version 10.11. After using the migration tool, it still doesn't work. The tool told us the following: inspecting script: /content/forms/po20.1_custom_tdbnew.xml - Processing XML nodes using 'selectSingleNode()' in combination with '.text' may not work in all situations. Use the 'DataStorage' object documented in the Object Viewer of Design Studio. - occurrences found: 9 - Use the global...
3 3138 1
by  Ragu RaghavanJump to last post
2/12/2022 10:18 PM

Design Studio Preview not working    

Started By  TBonney
We are using version 10.1.0.28.112 of design Studio and are on version 10.11 of lawson S3/Portal. We were told this version does nto support IE11, but that for Design Studio, we MUST use IE11. Using IE11 for DS, any time we atempt to use the preview function, it displays a message advising us the the browser is unsupported. Has anyone else exoerienced this How can we preview the customizations when designing forms if we have to use a browser version that is unsupported by DS Thanks.
3 30964 2
by  LynneJump to last post
2/16/2022 7:44 PM
To join the discussion you need to register first. (Registration is free!) If you are already a registered user please login to join the discussion.
Page 1 of 1812345 > >>


RSS Feed Available