In a service desk cloud app I let the user choose a project on my “Get Started” page and create a link to the settings page in the project administration (<a … target="_blank">). That works fine with current project types by using the link:
${xdm_e}/plugins/servlet/ac/${addon_key}/${admin_panel_key}?project.id=${projectId}&project.key=${projectKey}
For next-gen projects (project.style === 'next-gen'
) I use:
${xdm_e}/projects/${projectKey}/settings/apps/${addon_key}__${admin_panel_key}
;
which also works on my machine. Is it save to use it? I saw a “TOO_MANY_REDIRECTS” error on another instance.
Or what is best practice to link to an own settings page?