This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Add columns to My InBasket view

lchang - Thursday, October 18, 2012 6:47 PM:

I would like to add columns to the My InBasket view for properties from the Item that the Workflow is for.  For example, in addition to ECO number that appears in the Workflow/Project column, I would like to add ECO Title for additional identification, or the Change Reason property.

There is a post about this at http://www.aras.comhttp://www.aras.com/Community/forums/p/240/641.aspx#641.  An enhancement to allow configuration is mentioned.  Does anyone have any updates on this?  Also, there is a link to a "dirty hack" but, the link is broken.  Does anyone have this code or similar code that they can help me out with?



asha_gholve - Friday, October 19, 2012 5:39 AM:

Hi Ichang,

Go to aras_object.js file, open finction getAssignedTasks

in that function

var res = soapSend('GetAssignedTasks', body)

here GetAssignedTasks gives the table content to be displayed in the InBasket 

we cant edit GetAssignedTasks 

so just assign res, the html table content which you want to display in InBasket instead of soapSend('GetAssignedTasks', body)

 

Best Regards,

Asha



lchang - Friday, October 19, 2012 10:25 AM:

Thank you Asha.



stlu - Sunday, February 10, 2013 3:20 PM:

Hi Asha,

I can't figure out how this works since the "title" seems to not be included in the answer from GetAssignedTasks when I study the result in AMLStudio.

If possible, please give us a more detailed reply.

Best Regards

Stefan



asha_gholve - Friday, February 15, 2013 7:37 AM:

Hi,

In aras_object.js file,

they are setting the header,

if (r && s1 > -1 && s2 > -1)

  {

  var s = "<thead>" +

                "<th><![CDATA[" + getResource("", "inbasket.locked_column_nm") + "]]></th>" +

                "<th><![CDATA[" + getResource("", "inbasket.type_column_nm") + "]]></th>" +

                "<th><![CDATA[" + getResource("", "inbasket.workflow_project_column_nm") + "]]></th>" +

                "<th><![CDATA[" + getResource("", "inbasket.activity_name_column_nm") + "]]></th>" +

                "<th><![CDATA[" + getResource("", "inbasket.status_column_nm") + "]]></th>" +

                "<th><![CDATA[" + getResource("", "inbasket.start_date_column_nm") + "]]></th>" +

                "<th><![CDATA[" + getResource("", "inbasket.end_date_column_nm") + "]]></th>" +

                "<th><![CDATA[" + getResource("", "inbasket.instrucations_column_nm") + "]]></th>" +

                "<th><![CDATA[" + getResource("", "inbasket.assigned_to_column_nm") + "]]></th>" +

              "</thead>";

  r = r.substr(0, s1) + s + r.substr(s2 + 8);

  }

 

in this you can add more column headers.

 

Regards,

Asha