Clarity

 View Only
  • 1.  Modern UI - Change Default Home Page

    Posted Jun 12, 2020 09:40 AM
    Hello,

    By default, the new UI redirects to the first page displayed by user rights.

    • If the user only enters only timesheets, by default it's /#/timesheets
    • If the user has rights on projects, by default it's /#/projects
    • and so on...
    I would like to change this behaviour and force another URI for every user after login.

    What I could do to make this work :

    1. Identify on server the file ppm-core-app-%.js ($CATALINA_HOME/webapps/pm/js)
    2. Search for the function $scope.initNavbar and Authorization.getNavigation().then()
    3. Search for the variable unbindStateWatcher
    4. Change the redirect $state.go($scope.defaultRoute); by another value for instance $state.go('ideas');
    5. Minimize js and copy-paste the result into ppm-core-app-%.min.js
    6. Copy this file into your service app Tomcat Home
    Now by default, every user is redirected to Ideas Link.

    Is there another way (not hard-coded) to accomplish this ?
    Is there a feature in the roadmap of the future versions to set default home page for users (like classic UI) ?

    Thanks,
    David

    PS : Context Clarity 15.7.
    PS 2 : If you want to persist changes after service restart, you need to change files within $NIKU_HOME\META-INF\uif\wars\ppm-ux.war
    ​​​

    ------------------------------
    Consultant
    CoPrime
    ------------------------------


  • 2.  RE: Modern UI - Change Default Home Page
    Best Answer

    Broadcom Employee
    Posted Jun 29, 2020 08:06 AM
    Hi David,
    Thanks for the detailed customization steps.
    As far as I can see there is no item on the roadmap to customize the Modern UX landing page.
    Product Management might be able to point to any possible feature.
    This could be raised as an idea also through the ideation process.
    For further details:
    https://community.broadcom.com/enterprisesoftware/blogs/natbr01/2020/02/21/new-customer-innovation-process-for-clarity-ppm
    Regards
    Joxi


  • 3.  RE: Modern UI - Change Default Home Page

    Posted Jun 30, 2020 03:39 AM
    I have found that when I provide user with direct link, like "/pm/#/ideas/common" for Ideas, then if the user have access to the where I have linked they will be directed to this page after login, however if they do not have access to it, they will be directed to the first menu they do have access to. We have used this to make sure that our general available link is for timesheets, this way all users (including PMs) start in Timesheet menu.

    ------------------------------
    Pia Jeppesen
    Senior Specialist
    DSV Panalpina A/S
    Denmark
    ------------------------------