1
on: March 31, 2025, 03:24:34 pm
|
Started by Ernest D. - Last post by Ernest D. |
Hello, we have some question. The List reduce filter functionality is currently available for searching data in TABLE component. However, the list reduce filter searches for data within the entire list. https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_prog_dialogs_list_filter.htmlIn competing SW ABRA, we were interested of their solution. Search is possible only in the specific column in which the cursor is located. See the attached link. Are you planning a similar solution? https://www.youtube.com/watch?v=Ljh4EQczyVgIn addition, the solution in SW ABRA allows searching in multiple columns at the same time. Best regards, Ernest
|
2
on: March 27, 2025, 11:41:32 am
|
Started by Christine R. - Last post by Christine R. |
 | Genero Enterprise 5.01 Maintenance Release : GBC 5.01.03
|
Four Js is pleased to announce a Maintenance Release of Genero Browser Client 5.01.03. What's new for GBC...- We have refactored multiple GBC widgets to comply with the BEM structured naming convention for CSS classes.
- To provide better visual feedback, the outline for the hover, focus, and activate state layers has been moved inside
the widget to prevent cropped rendering. - We recommend that you review your existing customizations for the following changes.
Please refer to the manual for more information. - One new CheckBoxWidget variable is available.
- There are several new DropDown widget item variables available.
- There are slight changes to default values for the DropDown widget margin variable.
- Three DropDown widget variables are removed.
- One DropDown widget state layer variable is removed.
- There are new default values for DropDown widget state layer variables.
- There are new RadioGroup widget *padding variables available.
- There are new default values for mt-field state layer *border-width variables.
- One new SliderWidget variable is available.
- There are slight changes to default values for Slider widget padding variables.
- Two new Application host variables are available.
- The theme variables for the main color palettes are now deprecated.
- There are new default values for theme color variables mainly replacing the deprecated Main color palette.
Please refer to https://4js.com/online_documentation/fjs-gbc-manual-html/#gbc-topics/gbc_whatsnew_50103.html. This version also includes the following bug fixes: https://4js.com/support/issue/GBC/5.01.03. It is now downloadable from the website: https://4js.com/download/products/. All Four Js Genero customers under maintenance have free access to the new release. Best regards, Four Js Development Tools
|
3
on: March 27, 2025, 11:06:09 am
|
Started by Evandro S. - Last post by Daniele A. |
Hello Evandro, i think this example can fits your needs: function bdl_hmac_hash(prm_algo string, prm_data string, prm_key string) returns (string)
define ckey xml.CryptoKey, sig xml.Signature, ialgo smallint, signature string
define ar_algo_supported dynamic array of record algcode string, link string end record = [ ( algcode: 'HmacSHA1', link: 'http://www.w3.org/2000/09/xmldsig#hmac-sha1' ), ( algcode: 'HmacSHA256',link: 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256'), ( algcode: 'HmacSHA384',link: 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha384'), ( algcode: 'HmacSHA512',link: 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha512') ]
let prm_algo = prm_algo.trim() if prm_algo.getLength()=0 then let prm_algo = 'HmacSHA256' end if
let ialgo = ar_algo_supported.search("algcode",prm_algo) if ialgo>0 then let ckey = xml.CryptoKey.Create(ar_algo_supported[ialgo].link) try call ckey.setKey(prm_key) #display "Key url : ",ckey.getUrl() #display "Key size (in bits) : ",ckey.getSize() #display "Key type : ",ckey.getType() # displays HMAC #display "Key usage : ",ckey.getUsage() # displays SIGNATURE catch display "Unable to set key :",STATUS," - ",SQLCA.SQLERRM end try -- Create the signature let sig = xml.Signature.Create() call sig.setKey(ckey) let signature = xml.Signature.signString(ckey,prm_data) display iif(xml.Signature.verifyString(ckey,prm_data,signature), "success","failure") end if
return signature end functionDaniele
|
4
on: March 25, 2025, 06:09:14 pm
|
Started by Christine R. - Last post by Christine R. |
 | Genero Enterprise 5.01 Maintenance Release : Genero BDL 5.01.02
|
Four Js is pleased to announce a Maintenance Release of Genero BDL with Web Services (BDL – GWS - GBC - WCG - GIP) 5.01.02. Genero BDL with Web Service (BDL - GBC - WCG - GIP) 5.01.02 is the bundle which includes: - Business Development Language (FGL) 5.01.02
- Web service extension (GWS) 5.01.02
- Genero Browser Client (GBC) 5.01.02
- Genero Identity Provider (GIP) 5.01.02
- Web Components and wrappers (WCG)5.01.01
This version includes the following bugs fixes : All Four Js Genero customers under maintenance have free access to the new release. Best regards, Four Js Development Tools
|
5
on: March 24, 2025, 04:15:52 pm
|
Started by Christine R. - Last post by Christine R. |
 | Genero Enterprise 5.01 Maintenance Release : Genero Mobile client for Android 5.01.01
|
Four Js is pleased to announce a Maintenance Release of Genero Mobile Client for Android 5.01.01. This version includes the following fixes https://4js.com/support/issue/GMA/5.01.01. The version is now downloadable from the website: https://4js.com/download/products/. All Four Js Genero customers under maintenance have free access to the new release. Best regards, Four Js Development Tools
|
6
on: March 21, 2025, 09:01:45 pm
|
Started by Evandro S. - Last post by Evandro S. |
Hello guys,
I'm in need of getting hmac hash keys to access AWS services via API.
In JS, i can get hmac hash using the following command: crypto.createHmac('sha256', `mykey`).update("myadditionalvalue").digest('hex');
But i need it working on a 4gl program. In the documentation isn't that clear how to get the same cenario like the command above using xml.Crypto class.
Any help would be great.
Thanks
|
7
on: March 19, 2025, 09:31:47 am
|
Started by Paul F. - Last post by Olivier I. |
Always start on the highest level. If you want to change all buttons background color, touch mt-button-primary-background-color. If you want to change only buttonedit or ringmenu button, I fear we miss this granularity in theme variables. Please contact your support center to register a new request. In the mean time, you will have to use scss.
|
9
on: March 19, 2025, 12:54:33 am
|
Started by Paul F. - Last post by Reuben B. |
Without knowing what you have tried it is a little hard to comment. These will be reusing Button widget, so my first instinct is to use the Theme Variable for Button https://4js.com/online_documentation/fjs-gbc-manual-html/#gbc-topics/r_gbc_theme_vars_ButtonWidget-colors.htmlIf you did not want all buttons, but only ButtonEdit or only RingMenubuttons, then in .scss, my instincts would be that your selectors would be using the ancestor rules i.e where gbcButtonEditWidget is parent of gbcButtonWidget or similar. You also have to remember to take into account if button is active vs inactive
|
10
on: March 18, 2025, 03:29:02 am
|
Started by Joel S. - Last post by Joel S. |
I'm using code generated from a WSDL file.
This particular partner wants a <SECURITY> tag in the header and below that tag, it wants a username tag and a password tag.
Is there some trick to getting these into the header?
There's a call that uses <call variable>.Binding.Request.Headers "
CALL WSHelper.WSHelper_SetRequestHeaders(RealTimeTransactionHTTPReq, iedi_Core_CoreSoapPortEndpoint.Binding.Request.Headers)
This Headers record is a dynamic array of Name and Value pairs. I've tried adding my username with the value being username and same for password, but the server says I didn't supply a username. I'm guessing that's because probably didn't know to put it under the <security> tag, it's being created under the <header> tag.
I've tried making one name/value pair called security with the value being <username>myusername</username><password>mypassword</password> thinking it will create:
<security><username>myusername</username><password>mypassword</password></security> But it's still not working. FGLWSDEBUG=3 isn't even showing me the header it's sending so I don't even know what that did. Maybe it turned the < and > in my value into < and > and they don't look like XML tags so the host isn't seeing them.
Anybody got any ideas. Or do I have to hack the WSDL generated code? Which I'd prefer not to do because it means every time I might regenerate the code for a new version or because the WSDL changes, I have to go in and re-add my "fix". Which if this is the only way to get it done, so be it.
Or, I go the route of creating the XML from scratch, headers and all as I want them to look and just connecting and sending it. I can probably still use the variables fglWSDL generates. Maybe even the serialization of these variables.
Anybody have any experience with this sort of thing and how to do what I'm trying to do?
|
|