Multiple admin pages for Forge application

Hey guys o/

We are currently trying to build an app with Forge where we would like to implement two admin pages. I was just giving it a try by using the following manifest.yml:

modules:
  jira:adminPage:
    - key: first-configuration-page
      function: first-configuration-function
      title: First configuration page
    - key: second-configuration-page
      function: second-configuration-function
      title: Second configuration page
  
  function:
    - key: first-configuration-function
      handler: first-configuration-page.run
    - key: second-configuration-function
      handler: second-configuration-page.run
app:
  id: <removed>
  name: Admin pages test

The linter says the following: 6:11 error Only a single entry of the jira:adminPage module can be defined in the manifest valid-module-required

Does that mean, that it is only possible to have ONE admin page? If that is the case, why?!

1 Like

See Can I have multi Forge Admin Pages? - #2 by mskrzypkowski and more specifically Can I have multi Forge Admin Pages? - #5 by JakubMierzewski

2 Likes

Oh shit, sorry for not asking the search first :frowning: I promise it won’t happen again!

1 Like

No worries, there are a lot of topics on this forum. Glad to be of service!

1 Like