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
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.
applicationId
toolName
For example, lib-admin.getToolUrl('systems.rcd.enonic.datatoolbox', 'data-toolbox');
lib-admin.getToolUrl('systems.rcd.enonic.datatoolbox', 'data-toolbox');