Admin-lib getToolUrl not working?

Enonic version: 7.3.0
OS: macOS Catalina

Cannot get the admin-lib function getToolUrl to work, returns “/admin/tool/[object Object]/undefined”
Also, the doc for the admin-lib is a bit lacking, doesnt say if param is required or not :slight_smile:

We are using it in the Home app of XP, seems to be working fine. Here’s the working example.

The method takes two parameters: applicationId and toolName, both are required.

For example,
lib-admin.getToolUrl('systems.rcd.enonic.datatoolbox', 'data-toolbox');

1 Like