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, 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 Appronto 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
  • FileFromResourceToFileDocument
  • MakeFileEmpty
  • MergeOverlay

  • Microflow
  • ExecuteMicroflowInOwnTransaction
  • ExecuteMicroflowSynchronized
  • ExecuteMicroflowWithGUIDparam
  • GetCurrentMicroflow

  • Misc
  • CreateAccountIfNotExists
  • Native
  • Biometric
  • HapticFeedback
  • OTP client

  • ORM
  • GetObjectWithId
  • RefreshByEntity

  • ProcessQueue
  • GetOrCreateProcess (default excluded)
  • GetOrCreateQueueConfig (default excluded)

  • Resources
  • Environment

  • StringUtilities
  • CreatePasswordDigest
  • GetStringFromRegex
  • ParseStringToEnum
  • SHA1Encrypt

  • Transactions
  • EndSavePointForTransactin
  • GetCurrentSessionID
  • MakeSavePointForTransaction

Releases

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)
Version: 7.3.0
Framework Version: 9.6.12
Release Notes: Added MonitorMicroflowInTaskQueue Goal of this functionality is to monitor a microflow that is running in a taskqueue. It will update the status in the snippet. Added GetIPaddress Gets the current IP address of the user when the app is running in the cloud Added Native JS Actions: GetApplicationURL Gets the Mendix url OpenSettings Opens the System Settings for your app on the mobile device PlaySoundAmbient Plays ambient sound Reload Easy JS action to reload your page from a nanoflow. If you don't use pageurl's or deeplinks it returns to the homepage OTPclient - GetCode Generates a OTP code based on a secret OTPclient - GetTimeRemaining Will give the ticks remaining to the next iteration of generation of the code for a secret HapticFeedback Give the app more native feeling. GetBiometricType Gets the type of biometic method of the phone SetValueForAttribute Sets the value for the given attribute. Useful when you have to fill entities with attribute names like Name1, Name2 etc. Updated Tika libraries