Quantcast
Viewing all articles
Browse latest Browse all 12476

Customization - Additional column inserted in Inbox - value not rendered

Hello,

 

   I have a requirement for customizing the inbox and populating the new inbox column with additional value. I made coding updates and everything looks good but the inbox does not render the new value at all. I made these updates and overrides.

 

 

  1. Added the column name and value in \apps\cq\workflow\components\inbox\list\json.jsp . When I go to http://localhost:4502/libs/cq/workflow/content/inbox/list.json?_dc=1358787785033&start=0&l imit=40, I am able to see the addition variable and value added and displayed in list.json. For e.g. view of list.json

 

           "payloadPath": "/content/dam/geometrixx-outdoors/articles/a-simple-plan.jpg",

           "payloadPath_xss": "/content/dam/geometrixx-outdoors/articles/a-simple-plan.jpg",

           "payloadSummary": {

        "lifestage": "Authored",

           "payloadTitle": "a-simple-plan.jpg",

           "payloadType": "dam:Asset",

 

   2.  Override and updated \apps\cq\workflow\extensions\inbox\cols. Added a new column, lifestage.js. Code in that js file is

         

{

    "header":CQ.I18n.getMessage("LifecycleStage"),

    dataIndex:"lifestage",

    ranking:30

}

 

    3. The inbox/list.json shows the value lifestage correctly. But still it doesnot populate 'lifestage' value in the inbox column. If I replace the dataIndex:"lifestage" with dataIndex:"currentassignee" or any other thing, the Lifestage column in Inbox is populated with the "CurrentAssignee".

 

Why is the lifestage value though visible through list.json not visible in Lifestage column? What else needs to be additionally done?

 

Thanks,


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>