Appronto Common

Content Type: Module
Categories: Utility

Overview

This module is used by several other modules of Appronto 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.appronto.nl

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.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
Version: 7.1.0
Framework Version: 9.6.12
Release Notes: Added: JavaScriptAction 'OpenUrl_WithOptions' which allows for selecting the target where the page should be opened. Added: JavaAction 'GetEntityFromGUID' to get the Entity FullName from an object GUID. Added: JavaAction 'StringSearchReplaceWithoutRegex' to replace a string within another string without the need for RegEx. Added: Microflow 'SUB_ValidateBSN_Mod11' to validate a dutch BSN. Added: JavaAction 'CreateICS' to create a ics calendar invite. Added: JavaScriptAction 'CopyToClipboard' which copies a string value to the clipboard. Added: JavaAction 'AssertAttributesAndValues' to compare 2 objects where attributes must be the same. If not, it will throw an exception. Added: JavaAction 'WebSocketListener' to receive realtime messages from a websocket connection triggering a microflow. Added: JavaAction 'GetFileType' to get the MIME type of a FileDocument. Thanks Pim van der Noll, Robbert Wellen and Lizette den Braber for their input!