Recent posts

#71
Genero BDL / HMAC hash key
Last post by Evandro Simenes - March 21, 2025, 09:01:45 PM
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
#72
GAS and GBC / Re: Customisation :: Ring Menu...
Last post by Olivier Imbert - March 19, 2025, 09:31:47 AM
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.
#73
GWS / Re: Adding to the header for W...
Last post by Reuben Barclay - March 19, 2025, 01:02:43 AM
With fglwsdl have you looked at -domHandler and callback functions
https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_gws_handlers_client_006.html

These callback functions allow you to modify/interrogate request/response

Reuben
#74
GAS and GBC / Re: Customisation :: Ring Menu...
Last post by Reuben Barclay - March 19, 2025, 12:54:33 AM
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.html

If 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
#75
GWS / Adding to the header for WSDL ...
Last post by Joel Schumacher - March 18, 2025, 03:29:02 AM
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 &lt; and &gt; 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?
#76
GAS and GBC / Customisation :: Ring Menu & B...
Last post by Paul Finch - March 17, 2025, 11:29:09 AM
I am trying to customise the button edit and ring menu components, both appear in a dark blue see attached image.
I've tried style sheets without any joy and cant seem to find how to change it in widget customisation either.
(I do still want to keep the primary palette blue.)
Any advise would be much appreciated...
#77



 Genero Enterprise 5.01 Maintenance Release :
GBC 5.01.02


Four Js is pleased to announce a Maintenance Release of Genero Browser Client 5.01.02.

What's new for GBC...
A Theme Graph Builder tool is introduced. This tool generates a tree-structured JSON from a theme JSON file.

Please refer to https://4js.com/online_documentation/fjs-gbc-manual-html/#gbc-topics/gbc_whatsnew_50102.html.

This version also includes the following bug fixes: https://4js.com/support/issue/GBC/5.01.02.

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
#78



  GENERO Container – Maintenance Release
    Create and deploy applications Faster and more securely


Dear Customers,

We are excited to announce that Four Js has launched new Genero Container Images (GCIs) based on the  newest Genero Enterprise (v5.01)
products: FGLGWS, GAS, and GRW.

We have updated our documentation to help you get started with Genero Container Images. You can find it on the Four Js website.

For more details, please visit: Genero Container Images - Genero Container Images 1.00

Genero Container Images standardize your application environment from development to production,
seamlessly integrating with your CI/CD pipelines for smoother and faster releases, including support
for Docker®, Kubernetes®, and more.

To learn more about these products, we invite you to read the product description here:
GENERO Container - Available Now! - Genero software development platform low-code no-code

For any questions, don't hesitate to get in touch with your support center.

Thank you,

Four Js Development Tools
#79
Products announcements / [ANNOUNCE] Genero Enterprise 5...
Last post by Christine HEIM-REBIERE - February 28, 2025, 04:18:50 PM



 Genero Enterprise 5.01
Now available



Irving, Texas – February, 28th 2025

We are pleased to announce the release of Genero Enterprise 5.01. Get ready for offline operations
with Genero Web Apps and DB Sync, a high-level database synchronization service. You can also take
advantage of additional functions.


  • Genero Web Apps
  • DB Sync
  • Additional improvments
  • Genero Enterprise 5.01 Compatibility


1. GENERO WEB APPS   
                                                                                                                                                                     

Offline-Ready Applications for Access from Anywhere.

Genero  Web Apps (GWA) empower users to run lightweight, offline-ready applications directly within
a browser — no server connection needed. Perfect for challenging environments like remote areas or
industrial spaces, GWA keeps data flowing smoothly even when connectivity is limited.

KEY BENEFITS


  • True Offline Functionality: Built-in SQLite database stores data locally syncing with the server
    when a connection is available.

  • Simple Deployment: Applications can be packaged, downloaded, and deployed using a GAS or
    web server without the need for app store approvals, cutting delays and streamlining updates.

  • Multi-Platform: Genero Web Apps applications work seamlessly across desktop, mobile, and
    webbook platforms, providing flexibility for any device.

  • Seamless User Experience Across Devices: Genero Web Apps behaves like a native app,
    supporting users with offline capabilities across desktop, iOS, Android, and more.


PRACTICAL USE CASES


  • Reliable Offline Workflows: Ideal for scenarios like remote data entry, inventory management
    in warehouses, or on-site field operations where connectivity is intermittent.

  • High scalability: No permanent server connection. The workload is offline in the browser and
    scales to millions of connections (e.g. Offline ordering to the server when local data entry is
    completed).


SERVER CONNECTION

Your applications work perfectly offline, nevertheless you can get or synchronize your data on your server.


  • via REST web services,

  • via REST database synchronization service (DB Sync).

  • via "runOnServer" Front Call:  Execute Server-Side code with Remote Display.



2. DB SYNC(*)   
                                                                                                                                                                     

Powerful Database Synchronization for Offline Environments.

DB Sync equips users with a high-level database synchronization service
that efficiently reconciles local data with a central server, making it ideal for applications operating offline.
Whether gathering data in no-network zones, industrial areas, or buildings with signal interference,
DB Sync keeps data safe and ready to sync whenever connectivity is restored.

KEY BENEFITS


  • Smart Sync Control: Easily configure specific tables, data filters, and synchronization strategies
    for each app, ensuring efficient data handling.

  • Advanced Conflict Management: Built with optimistic concurrency control, DB Sync gracefully
    manages concurrent data changes.

  • Designed for Offline-First Environments: Engineered to support reliable operation in
    low-connectivity settings, DB Sync allows users to work offline and then sync their data seamlessly.


PRACTICAL USE CASES


  • Field Operations and Remote Workflows: DB Sync enables robust offline data capture for field services, warehousing,
    and inspections in areas with limited or no connectivity.

  • Resilient Data Collection Systems: Ideal for applications like inventory management or site assessments where
    consistent, reliable data capture is critical, even without network access.


3. ADDITIONAL IMPROVEMENTS   
                                                                                                                                                                     


  • GENERO IDENTITY PROVIDER ENHANCEMENT

    The Genero Identity Provider proposes additional features to handle disconnected applications
    (GMI, GMA, GWA).

  • GENERO APPLICATION SERVER ENHANCEMENT

    The Genero Application Server proposes new features to ease CORS management issues.

  • VS CODE EXTENSION OPTIMIZATION

    VS Code extension uses now the language server technology. This implies fast responses
    on VS Code front-end request:

    • go to references is aware of all files in the workspace.
    • diagnostic is now sensitive for inter-module dependencies.
    • No more .42m file creations for the extension.

  • LATEST SUPPORTED DATABASE VERSIONS


    • Oracle MySQL 8.4 LTS (Long Term Support).
    • Informix 15 using CSDK 4.50.

4. COMPATIBILITY   
                                                                                                                                                                     



  • All future bug fixes will now be carried out on Genero Enterprise 5.01 and not on version 5.00.

  • The P-Code 5.01 is fully compatible with version 5.00. Existing applications compiled with 5.00
    can be run with version 5.01.

These packages also include the following fixes:

These versions are now downloadable from the web site: 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

(*) Requires a specific licence
#80
Products announcements / [ANNOUNCE] Genero Enterprise 5...
Last post by Christine HEIM-REBIERE - February 13, 2025, 05:38:12 PM



 Genero Enterprise 5.00 Maintenance Release :
GBC 5.00.12


Four Js is pleased to announce a Maintenance Release of Genero Browser Client 5.00.12.

What's new for GBC...

  • There has been a review of the table highlighting system when a table is focused in input mode, and
    when highlightCurrentRow and/or highlightCurrentCell are enabled.
  • Some new CSS classes were added to simplify customization.
  • Some changes have been applied for JavaScript.
  • You can specify a path to install the gbc build package.
  • New theme variables are introduced to define padding for label widgets.

Please refer to https://4js.com/online_documentation/fjs-gbc-manual-html/#gbc-topics/gbc_whatsnew_50012.html for more information.

This version also includes the following bug fixes: https://4js.com/support/issue/GBC/5.00.12.

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