Get current application name

#1

In a C3 UI app, I have multiple sub-apps, e.g this is how the project source code looks like:

ui
  sub-app1
  sub-app1
  sub-app1

I need to generate a path for URL dynamically in .js file. i.e. something like currentSubApp + /target-page?...
How can I get the current path or sub-app that’s been show to the user?

0 Likes