Skip to main content
Question

In Modern UI. How to add dynamic url for instance tenants?

  • June 1, 2026
  • 1 reply
  • 56 views

Forum|alt.badge.img

Hello everyone,

I have a customization package (A) that adds a grid tab to a custom screen from another package (B).

In package A .ts file I’m referencing this custom screen but I need to know if there is a global variable or something to create a dynamic tenant name in the import URL:

Example:

import { CP301000 } from 'src/customizationScreens/{tenant_folder}/screens/CP/CP301000/CP301000';

 

Thanks in Advance!

Alberto Bello

1 reply

darylbowman
Captain II
Forum|alt.badge.img+16

Your path shouldn’t be referencing another screen that way. It should either be:

  1. "src/screens/CP/CP301000/CP301000"
  2. or a relative path like "../../CP/CP301000/CP301000"
    (where ../ means ‘up’ one directory [so in the example provided, ‘up’ two directories, ‘down’ to CP, ‘down’ to CP301000’])