Skip to main content

HelloID

Code snippet library

HelloID provides a code snippet library to help you setup a delegated form task or product action. Each code snippet is pre-built to do an action on a system.

To get started, Add a task to a delegated form, or Add a product action (using the Actions - new tab).

  1. Click on Code snippet library.

    DelegatedForm_code_snippet_library.png
  2. On the Code snippet library tab, you can search for PowerShell snippets. Click Copy to clipboard to copy the snippet, or click its title to view its code, readme, and release notes.

    DelegatedForm_Code_snippet_library_search.png
    Table 1. Search for code snippet

    #

    Name

    Description

    1

    Search term

    A word or phrase used to search within code snippet descriptions. For best results, search for a system or an action.

    2

    Topic filter

    Optional filter to search for code snippets in selected GitHub topics.

    3

    Description

    A description of the system and action of the snippet.

    4

    System

    The system on which the action is executed.

    5

    Release

    The release version (always the latest). To see more releases, visit the relevant GitHub repository in Tools4ever BV Github.

    6

    Release date

    The date on which the release was created, i.e. when the code was last changed.

    7

    Copy to clipboard

    A button to copy the code to the clipboard so you can paste it in the code editor and use it in your delegated form task or product action. In the code editor, the code can be changed as desired.



  3. When you click on a snippet, for example "Active Directory - Group get account memberships", you can see:

    • The code snippet (the actual code that can be pasted in the code editor) so you can inspect the code before using it.

      DelegatedForm_Code_snippet_library_code.png
    • The readme: a short description of what to expect from this code snippet and what the requirements are.

      DelegatedForm_Code_snippet_library_readme.png
    • Release notes: the changes and bug fixes in the latest release, if available.

      DelegatedForm_Code_snippet_library_release_notes.png