infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
Python and Javascript equivalents for the Cloverleaf TCL extensions
Marc Pleijers
Hi forum,
Does anyone know whether there is any information available about the Python and Javascript equivalents of the TCL extensions for Cloverleaf and where to find this information.
I'm looking for the equivalents of the TCL commands like
msgcreate, msgset, msgget, msgcopy, msgmetaget, msgmetaset, tbllookup, dblookup, the Counter file commands and how to handle disposition lists in TPS style Javascript or Python scripts.
Besides some templates and some small examples no information could be found in the documentation of Cloverleaf.
We are currently using Cloverleaf 20.1 and 2022.09 so selecting Python or Javascript scripts directly can already be done in the GUI.
Thanks in advance for any reaction.
Kind regards
Marc Pleijers
Senior Integration Consultant
Enovation BV The Netherlands
Find more posts tagged with
Clovertech
Comments
Todd Hamilton
Marc,
I found the best way to get documentation for Python and JavaScript scripting (custom development) is to simply use the CL Java class documentation (javadoc). Since Cloverleaf python and JavaScript are actually Java implementations of Python and JavaScript, simply using the Java class documentation and doing an in-memory(in brain) translation works for me. for python, Java classes become Python classes. For Javascript Java classes become JavaScript prototypes/objects.
Todd
Marc Pleijers
Hi Todd
Thanks for the response.
That was just the hint I needed.
I'm already checking it using the CloverleafJavaUpocAPI documentation that is part of the documentation delivered with Cloverleaf.
Kind regards,
Marc