Emixa Commons
Content Type: Module
Categories: Utility
Overview
This module is used by several other modules of Emixa and contains some handy functions around e-mail, Crop image Resize Image, MergeOverlay, transactions, execution microflows, hashing utils, string utils, enum parser, javascript actions to set classes and manipulate selected listview items, and a nice after-startup conversion helper We have helpers and functions for the following categories: Calculations ClassManipulators Conversion DocumentManipulation Microflow ORM ProcessQueue StringUtilities Transactions, haptic feedback for native, detecting Biometric type and much more
Documentation
Demo urlhttps://www.emixa.com
Description
This module is used by several other modules of Emixa and contains some handy functions.
Typical usage scenario
- In combination with other appronto modules
- For some handy actions as listed above
Dependencies
- MxModelReflection module(required for Microflow actions)
- CommunityCommons module
Configuration
- Define your constants in your user configuration. Settings->Configurations
Available Items:
- Calculations
- HaversineCheck
- WorkdaysBetween
- ClassManipulators
- DeleteClassOnElement
- HasClassOnElement
- SetClassOnElement
- SetPlaceholderOnTextbox
- ToggleClassOnElement
- ToggleClassOnParentElement
- Conversion helpers
- DocumentManipulation
- CropImage
- ImageResize
- FileFromResourceToFileDocument
- MakeFileEmpty
- MergeOverlay
- URLContentToFileDocument
- Microflow
- ExecuteMicroflowInOwnTransaction
- ExecuteMicroflowSynchronized
- ExecuteMicroflowWithGUIDparam
- GetCurrentMicroflow
- GetCurrentMicroflowStack
- Misc
- CreateAccountIfNotExists
- GenerateUUID
- Native
- Biometric
- HapticFeedback
- OTP client
- ORM
- GetObjectWithId
- RefreshByEntity
- ProcessQueue
- GetOrCreateProcess (default excluded)
- GetOrCreateQueueConfig (default excluded)
- Resources
- Environment
- StringUtilities
- CreatePasswordDigest
- GetStringFromRegex
- ParseStringToEnum
- SHA1Encrypt
- Transactions
- EndSavePointForTransaction
- GetCurrentSessionID
- MakeSavePointForTransaction
Releases
Version: 9.4.3
Framework Version: 9.18.0
Release Notes: Improved memory management with Resizing Images
Add new URL Content to FileDocument action
Version: 9.4.2
Framework Version: 9.18.0
Release Notes: The new GetCurrentMicroflowStack Java action allows you to get a string containing the current Microflow stack. This could be used, for example, in a debug log to determine via which path a subflow was called.
The GenerateUUID logic can be used to generate a Version4 UUID.
Version: 9.4.1
Framework Version: 9.18.0
Release Notes: The Image Resize Java action allows you to resize an Image object by specifying a new width and/or height. You can choose to maintain the image's aspect ratio by providing either the width or height, with automatic adjustment of the other dimension. Additionally, you have full control over the quality of the resized image to balance between file size and visual fidelity.
Version: 9.4.0
Framework Version: 9.18.0
Release Notes: Update of IText Core Java library from 5.5.13.2 to 5.5.13.4 to fix CVE-2021-43113
Version: 9.3.0
Framework Version: 9.18.0
Release Notes: Added GetEnumCaptionForLanguage java action to get translated value for enum key.
Changed the default Environment constant value to empty instead of DEV to prevent wrong settings on live environments.
Version: 9.2.0
Framework Version: 9.18.0
Release Notes: Adjusted the GetFileType action to prevent warnings about files not fully being read on S3
Version: 9.1.0
Framework Version: 9.18.0
Release Notes: Changed module name to EmixaCommons instead of ApprontoCommon.
Updated itextpdf library
Release steps;
Remove (if present) the following files:
ApprontoCommon.migration
itextpdf-5.5.13.2.jar
Any other ApprontoCommon.requiredlib or ApprontoCommons.requiredlib
Rename the ApprontoCommon module to EmixaCommons
After transferring the package, set the EmixaCommons.Environment constant to the correct value.
Version: 9.0.1
Framework Version: 9.18.0
Release Notes: Removed gradle jar
Version: 8.0.0
Framework Version: 9.18.0
Release Notes: Mendix 10 compatible release
Updated dependencies and added migration file
Removed CreateICS java action
Version: 7.4.0
Framework Version: 9.6.12
Release Notes: Changed the requiredlib file names(fixed typo's)