Skip to main content

Developing branches with libraries and functions

Suggest edit Updated on November 15, 2021

Libraries hold custom functions for your application, which can supplant and extend standard functions. For example, the OperatorHasPrivilege function verifies that a user has a specific privilege.

However, you cannot create libraries in branch rulesets. Libraries are based on the ruleset name only, not the ruleset version. Because you must merge branches into a particular ruleset version, you cannot create libraries directly in branch rulesets.

To use libraries and functions in branches, perform the following steps:

  1. Create a library and save it in the base ruleset.
  2. Create the functions that the library contains and save them into a branch ruleset.
  3. Merge the branch so that libraries and functions are contained within the branch.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us