Hello, For the MMS001/G form we have a custom script that works well in the classic UI but does not work in a new UI. And the aim is to have the script compatible with both UIs. The script maintains two custom fields. The first field is located on row 24 (pRow24). But the second field is on the custom row 25 (pRow25). The…
In H5 Script, I would like to trigger an (onSelectedRowsChanged) method on a listview of M3 panel ? I need the trigger process to be worked with the left mouse click only. This is because the H5 Script, that I have done, is triggered with any left or right clicks, so the user would not be able to open any related options…
Hi Dev Community, I have a user request to add a custom column to a specific location using H5 scripting in M3. In Classic UI, I as able to append a new column anywhere in a grid by using the array.splice method in Typescript without any issues and all functionality worked correctly. However, in the Angular based version 2…
Hello I am trying to stop the launch of a process in PPS170,PMS170 and DPS170 using validations and conditions using the H5 Script below: var H5SampleCancelRequest = /** @class */ (function () { function H5SampleCancelRequest(scriptArgs) { this.controller = scriptArgs.controller; this.log = scriptArgs.log; this.elem =…
I am creating a H5 script and I need to get all of the data from the "Net r" (Name: PNCA, Index: 13) column from the table pictured below. I need each value from each row in the column. I have attempted to use `ListControl.ListView.GetValueByColumnIndex(13, this.controller);` but that returns an empty array (same with…
Dear Community, I have an urgent request regarding the addition of a combobox on a M3 screen using Modern UI. Can anyone share some code example on how to do this ? My script is currently perfectly working on Classic UI but I don't see the combox appearing in Modern. Here is the code I'm using in classic : Many thanks for…
Normally when we want to add a new column to an M3 program in panel B we use H5 script. I am trying to find out if there is a standard way to add a new one without using H5 script. One example is with CMS080 for detailed panels. The program I am working on is a transactional table so CMS080 is not allowed. However, if I…
I've created a script which would automatically fill in the values in No. Of Packages Column which is a standard column when the program opens: The expected behaviour is when the user enters the No. package values , hit enter or apply and close the program, then a record is supposed to be created in MMS450 : The same…
Dear Community, Does anyone already work on migrating H5 scripts from Classic UI to New UI ? I'm sure yes ! So, by chance, is there any documentation describing how we can migrate an "old" Classic UI script to be compatible with New UI ? I already know that we should use the following statement if (ScriptUtil.version >=…
Hi In H5 script in classic UI this code returns bookmark part of URL var myStr = this.controller["BookmarkUrl"]; In new UI this code returns "undefined". Is there a way to get bookmark url in H5 script new UI? Thanks, Kirill
It looks like you're new here. Sign in or register to get started.