Clarity

 View Only
  • 1.  New UX : Channels Dynamic Context Parameters for custom Investments

    Posted May 25, 2021 07:47 PM
    We are building a channel to a query based portlet and trying to pass Custom Investment Internal ID as a prameter to Channel URL.

    We have a query based portlet where we tried both below parameters:
    1. object.id = @WHERE:PARAM:USER_DEF:integer:id@
    2. object.id = @WHERE:PARAM:XML:INTEGER:/data/id/@value@

    We then created link parameters under portlet page.

    We are now trying to create channel taht passes this parameter dynamically based on the instance it is being accessed from.
    Following are the formats of channel URLs we tried, but nothing worked for us.

    ../../../../niku/nu#action:portlet_page_id&puiFullscreen=on&puiHidePPMTabs=on&APT_CUST_5280773=${internalID}

    ../../../../niku/nu#action:portlet_page_id&puiFullscreen=on&puiHidePPMTabs=on&APT_CUST_5280773=5xxxx

    ../../../../niku/nu#action:portlet_page_id&puiFullscreen=on&puiHidePPMTabs=on&param_id=5xxxx

    ../../../../niku/nu#action:portlet_page_id&puiFullscreen=on&puiHidePPMTabs=on&param_id=${code}

    ../../../../niku/nu#action:portlet_page_id&puiFullscreen=on&puiHidePPMTabs=on&APT_CUST_5280773=${_internalID}

    ../../../../niku/nu#action:portlet_page_id&puiFullscreen=on&puiHidePPMTabs=on&param_id=${_internalId}

    Please suggest if there is way to achieve context parameter passing for custom investment channels.

    Thanks
    Divya


  • 2.  RE: New UX : Channels Dynamic Context Parameters for custom Investments

    Posted May 26, 2021 01:47 PM
    Edited by Keri Taylor May 26, 2021 01:56 PM
    I have done this using a custom portlet

    In my query: 
    AND wip.investment_id = @WHERE:PARAM:XML:INTEGER:/data/id/@value@

    my Channel:
    ./../../../../niku/nu#action:SYSTEM5126040&frame_id=502&puiFullscreen=on&puiHidePPMTabs=on&id=${_internalId}​

    My results within the project. :-)

    Clarity



    Classic 

    Hope this helps. 
    Keri


  • 3.  RE: New UX : Channels Dynamic Context Parameters for custom Investments

    Broadcom Employee
    Posted May 27, 2021 06:27 AM
    At this point only below parameters are supported 

    You can use these parameters to construct dynamic content inside your channels
    • project id = ${_internalId}
    • projectCode = ${code}
    • project name =${name}
    • project manager =${manager}
    • logged in user =${_userId}
    https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/clarity-project-and-portfolio-management-ppm-on-premise/15-9-2/using/Getting-Started-with-Clarity-Administration/Getting-Started-with-Blueprints/Clarity-CustomInvestments-Blueprints.html

    So you may need to use the way Kei Suggested by accessing the portlet via channel

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------



  • 4.  RE: New UX : Channels Dynamic Context Parameters for custom Investments

    Posted Jun 10, 2021 02:30 PM
    @Divya Agarwal, did this not work for you? ​