Report Subscription section not visible from the portal

Hi all,

We are using One Identity Manager OnDemand version 9.3.1.
We customised the api portal but after the deploy the page Report Subscription (under Profile > Profile > Report Subscription) disappeared. We didn't customize that page nor the RPS module so it shouldn't be impacted.

May I ask if we need to compile more modules before building the qer-app-portal?

Thank you,
Michaela

Parents
  • Hi Michaela,

    TL;DR: Yes, in order to see the report subscriptions in your profile, you need to compile RPS before compiling and deploying the portal.

    Long version:

    I don't know about any divergent characteristics of the OnDemand versions but normally the report subscription is being added dynamically upon initialisation of the RPS module (as you suspected).

    My best guess is that either the RPS module is not compiled or it's deactivated. You can check the browser console for:

    Gear️ Plugin: rps
    (this is a debug log, so you might need to enable all log levels in the browser console to see it)

    1. If you see that log, it means that the plugin is enabled.

    2. If you see a red error log like "Loading of RpsConfigModule (rps) failed with the following error ...." somewhere below, you know that the plugin itself is not deployed. 

    Excerpt of the code involved that needs to be intact (not relevant for you since you stated that nothing changed in these places):

    ----------------------

    RPS InitService:

      public onInit(routes: Route[]): void {

        this.addRoutes(routes);
        this.extService.register('profile', {
          instance: SubscriptionsComponent,
          inputData: {
            id: 'subscriptions',
            label: '#LDS#Heading Report Subscriptions',
            checkVisibility: async (_) => true,
          },
          SortOrder: 0,
        } as TabItem);

    QER ProfileComponent:

      public async ngOnInit(): Promise<void> {
        this.dynamicTabs = this.tabService.Registry.profile as TabItem[]; // TabService = ExtService
     
    ------------------------

    I hope that helps. Kind regards,

    Florian

Reply
  • Hi Michaela,

    TL;DR: Yes, in order to see the report subscriptions in your profile, you need to compile RPS before compiling and deploying the portal.

    Long version:

    I don't know about any divergent characteristics of the OnDemand versions but normally the report subscription is being added dynamically upon initialisation of the RPS module (as you suspected).

    My best guess is that either the RPS module is not compiled or it's deactivated. You can check the browser console for:

    Gear️ Plugin: rps
    (this is a debug log, so you might need to enable all log levels in the browser console to see it)

    1. If you see that log, it means that the plugin is enabled.

    2. If you see a red error log like "Loading of RpsConfigModule (rps) failed with the following error ...." somewhere below, you know that the plugin itself is not deployed. 

    Excerpt of the code involved that needs to be intact (not relevant for you since you stated that nothing changed in these places):

    ----------------------

    RPS InitService:

      public onInit(routes: Route[]): void {

        this.addRoutes(routes);
        this.extService.register('profile', {
          instance: SubscriptionsComponent,
          inputData: {
            id: 'subscriptions',
            label: '#LDS#Heading Report Subscriptions',
            checkVisibility: async (_) => true,
          },
          SortOrder: 0,
        } as TabItem);

    QER ProfileComponent:

      public async ngOnInit(): Promise<void> {
        this.dynamicTabs = this.tabService.Registry.profile as TabItem[]; // TabService = ExtService
     
    ------------------------

    I hope that helps. Kind regards,

    Florian

Children
No Data