Sana Assistant (online)
Table of Contents

UseAddonSystemPageUrl hook

import { useAddonSystemPageUrl } from 'sana/systemPage';

...

const url = useAddonSystemPageUrl('CustomEntityDetails');

This hook allows to retrieve the URL for a specific add-on system page. It returns the URL for the specified system page, or null if page is not found, or undefined if loading is in progress.