Object List Operations

Content Type: Module
Categories:

Overview

This module is used to make it quicker and easier for Mendix developers to apply list operations to a list of Mendix objects in runtime. Specifically, operations around moving an object's position in the list. Typically, this logic is straightforward to implement but time consuming to build and repeat for each necessary entity. The Java Actions provided in this module shorten the amount of logic that needs to be repeatedly built.

Documentation

Demo urlhttps://sortorder-sandbox.mxapps.io/

Module comes with: 3 java actions to implement functionality in your app; general documentation (README file); Sample/example data

Features:

  • Perform list sorting actions on Mendix objects regardless of entity type
    • Move to start or end of list
    • Move up or down the list
    • Move an object to a specified index of the list
  • Quicker implementation of list sorting operations for runtime

Limitations:

  • Objects must be sorted by an Integer value

Dependencies:

  • No dependencies

Installation:

  • Add module to project
  • Implement the java actions provided in your application’s microflows as necessary

Configuration:

  • No configuration required

Bugs:

  • No bugs reported

Releases

Version: 1.1.0
Framework Version: 8.18.1
Release Notes: New feature: Move to Index You can now specify a particular index of the list to move an object to. For example, moving the object in the 2nd position to the 6th can be done in a single java action call (specifying "6" as a parameter), rather than multiple java action calls which move it one step each time. Documentation has been updated appropriately, as well as other minor improvements.
Version: 1.0.1
Framework Version: 8.18.1
Release Notes: Before this release, there was a slight 'issue' when setting Commit = false on any of the actions. The instance of the object in the list was updated with its new 'sort' value. However, the instance of the object that was passed in to the microflow (the standalone object, not the object as part of the list) was not updated. This has now been corrected, making it easier to work with the module in cases where you would like to set Commit = false.
Version: 1.0.0
Framework Version: 8.18.1
Release Notes: First release. This module is used to make it quicker and easier for Mendix developers to apply list operations to a list of Mendix objects in runtime. Specifically, operations around moving an object's position in the list. Typically, this logic is straightforward to implement but time consuming to build and repeat for each necessary entity. The Java Actions provided in this module shorten the amount of logic that needs to be repeatedly built.