Online Help | Web App

Sharing snippets

Introduced in 2024.2

You can share snippets with other users when creating or editing snippets in the Web App. Shared snippets are available to other users who have permission to use shared snippets.

Administrators can also create and manage shared snippets in the Settings App. The same shared snippets are available in both the Web App and the Settings App, regardless of where they were created or shared.

IMPORTANT: To be able to share snippets, you must have the corresponding security permission, which is granted by the Alloy Navigator administrator.

Sharing a new snippet

To create and share a snippet:

  1. Select Insert > Snippets from the Module menu or press F4 in a text field. The Snippets pane is displayed.

    TIP: If you are inserting snippets within action forms (for details, see Action Bar), you can use the button.

  2. Click New. The Snippet pane opens.

  3. In the Name field, enter the snippet name.

  4. In the Text field, enter the snippet text.

  5. (Optional) To insert a placeholder for dynamic content, place the cursor where you want to insert the placeholder, click Insert Placeholder, and select the placeholder you need.

  6. In the Shared with section, select Everyone.

  7. From the Shared Category list, select a category.

  8. To create a new shared category, click New Category to open the New Category dialog. Enter the category name, select Shared Category, and click Create.

  9. Click Save.

The snippet is added to shared snippets and becomes available to other users who have permission to use shared snippets.

Sharing an existing personal snippet

To share an existing personal snippet:

  1. Select Insert > Snippets from the Module menu or press F4 in a text field. The Snippets pane is displayed.

    TIP: If you are inserting snippets within action forms (for details, see Action Bar), you can use the button.

  2. Find the personal snippet you want to share. You can use the search box, category tabs, or category filter.

  3. Point to the snippet and click the three-dot menu.

  4. Select Edit. The Snippet pane opens.

  5. In the Shared with section, select Everyone.

  6. From the Shared Category list, select a category.

  7. To create a new shared category, click New Category to open the New Category dialog. Enter the category name, select Shared Category, and click Create.

  8. Click Save.