Enonic Market Enonic Market
Util lib icon

Util lib

Essential tools for your XP project development

The UTIL library is a library built and hosted by Enonic, which includes a set of JavaScript utility functions which may speed up your XP App development process significantly.

Releases

  1. 1.1.2

    • New function: data - isSet() to check if values exists
    • Improved documentation
    • Upgrade to Gradle 3.x
    • Compatibility:
      • 6.3.1
  2. 1.1.1

    • Fixed gradle.properties comments
    • Removed getSiteConfig since this exists in portal lib now
    • Compatibility:
      • 6.3.1
  3. 1.1.0

    • Added getSiteConfig function
    • Renamed util.js to index.js for shorter include paths
    • Group xp libs in libs variable
    • Upgrade gradle wrapper from 2.2 to 2.9
    • Compatibility:
      • 6.3.1
  4. 1.0.0

    • Initial release
    • Compatibility:
      • 6.0.0

Comments

Download Util lib

An XP library is normally included in your application through the Gradle build script like this:

dependencies {
    include 'com.enonic.lib:util:1.1.2'
}

Download the source code for Util lib

Documentation for Util lib