Deployed Identity Manager HTML5 GitHub project V91 not showing Angular Libraries Attestation and Reports

Hi there,

We've built the Identity Manager HTML5 GitHub project V91 with it's dependencies in the correct order:

qbm

qer

qer-app-portal

We then zipped the contents of the dist/qer-app-portal as custom-app.zip

We then added it to our bin/imxweb directory and also a new Custom App HTML BaseData in the manager. Custom App shows correctly in the Landing Page and also launches from there fine.

The custom-app is running alongside the standard deployment of the One Identity ApiServer apps (Web Portal, Password Reset Portal, Operations Support Web Portal, API Documentation and Administration Portal) with all of them working correctly.

In the imxweb folder we also have libraries att and rps which are showing up correctly in the standard Web Portal deployment (Html_qer-app-portal.zip). I can't seem to get it to show up for the custom-app though, the menu Attestations is simply missing.

If I remove qer-app-portal from the imx-plugin-config.json file, it doesn't show anymore in the standard Web Portal. If I put it back in it shows. But for my custom-app it never shows.

Any idea what we're doing wrong here? Settings below:

Custom App

Html_custom-app.zip

ATT (Html_att)

imx-plugin-config.json

{
    "qer-app-portal": [
      {
        "Container": "att",
        "Name": "AttConfigModule"
      }
    ],
    "custom-app": [
      {
        "Container": "att",
        "Name": "AttConfigModule"
      }
    ],
    "arc-app-certaccess": [
      {
        "Container": "att",
        "Name": "AttConfigModule"
      }
    ],
    "qer-app-pwdportal": [
      {
        "Container": "att",
        "Name": "NewUserModule"
      }
    ]
}

Many Thanks

Matt

Parents
  • Hi Matt,

    We're also struggling with the new html web portal. So first of all, I'm not an expert  and you're not alone :) 

    If I'm reading you correctly, you did download the project from github, setup a dev environment and then:

    1. Compiled qbm,qer,qer-app-portal
    2. Zipped qer-app-portal as custom-app.zip
    3. Uploaded the file to your bin\imxweb folder of your running apiserver
    4. Added a new HTML app in Designer

    I think there are more dependencies that must be solved. For instance:

    • The qer-app-portal has the appconfig.json with its own config. Did you modify it in your custom-app zip?
    • The source code has the environment.ts file with also holds the application name. I guess that should be considered.
    • I'm sure there are more things to be taken into account, but I guess your custom-app keeps pointing to qer-app-portal internally but there are other unsolved references in the att module.

    All in all, I guess it would be somehow easier if you copied the qer-app-portal in a custom-app folder , modify your project files accordingly (such as angujar.json, appconfig.json... ) and start working from scratch. Or better than that, keep a backup of the qer-app-portal and modify the original project. It's really easy to recover if you need to. Or use a git project of your own to keep track of the changes.

    HtH

  • Hi Juan Carlos,

    Thanks for taking the time to get back to me. Your points definitely helped and now I have it working.

    1. Created a new application under projects.
    2. Replaced following files with the qer-app-portal files:
      1. app
      2. assets
      3. environments
      4. appconfig.json
      5. index.html
      6. styles.scss
    3. Changed the appName field under environment.ts files and name field in the package-json file to custom-app
    4. In the main angular.json file I used the same "architect" object settings for custom-app as are used with per-app-portal
    5. Once built and deployed at Html_custom-app.zip in then reacted to whether custom-app settings were in each imx-plugin-config.json file.

    Thanks again and have a great week!

    Matt

Reply Children
No Data