My Assignments Extended View - additional columns
Note: I have registered the extension under "csui/controls/table/cells/cell.factory"
Comments
-
Hello @MarimuthuDurai did you succed with extending the widget? I am trying to find a similar thing. A customer wants to order the items according to the order of creation. Unfortunatelly there is no info about it in API response.
We are looking at CS 20.4
I tried to add fields query parameter but with no luck.
See the API documentation
{{url}}/v2/members/assignments?metadata=&fields=assignments&expand=assignments%7Bfrom_user_id%2Clocation_id%2Cworkflow_subworkflow_id%2Cworkflow_subworkflow_task_id%2Cworkflow_subworkflow_task_id%7D&expand=properties
0 -
you will most likely need to check the code of the Widget to see if it can be extended via configuration or via code changes, most likely the latter.
1 -
I'm afraid that the columns in the built-in My Assignments widget are fixed - hardcoded in JavaScript. You could file a FR about the column customisation. Or write you own widget w/o REST API, or a WR.
3 -
@Yes it is possible to extend the columns in the My Assignments Widget Expanded view to display the date the task was assigned to the user.
To achieve this, you can register an extension under the "csui/controls/table/cells/cell.factory" path. This will allow you to customize the columns in the My Assignments Widget Expanded view and add a column to display the date the task was assigned.
-1 -
Defining a new cell for the "assigned_date" column. We're using the built-in text.cell renderer, but you can also define a custom renderer if needed.
The getValue function is responsible for retrieving the assigned date value from the node data. Ensure that your node data contains the "assigned_date" property and that it's in a format that can be displayed correctly.
0 -
I want to propose an alternative solution that avoids the need to implement a custom OScript module, which you then have to deploy and maintain on all servers.
If you have the Module Suite, creating workflow dashboards is quite simple. You can have your "My Assignments" section (or "My Workflows," if you prefer) divided by type of flow, or even a generic dashboard if you want.
Additionally, you can add analytics and charts that help with monitoring.You have building blocks that support the creation of these dashboards in WYSIWYG mode, allowing you to customize them as you prefer with the information you need.
In your specific case, you can customize the "My Assignments" grid with the information/columns you require using the GRID widget (which is part of the Module Suite), adding actions you find useful for individual or bulk assignments.
Moreover, the component already offers out-of-the-box features such as filtering results, grouping them, sorting columns, and exporting to Excel or PDF.
As I mentioned, you do this once on one server, and that's it—you don't have to deploy it on all other servers.
I will show you other examples just to help you understand the kind of results you can achieve:
4
Categories
- All Categories
- 122 Developer Announcements
- 53 Articles
- 151 General Questions
- 146 Thrust Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 179 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 9 XM Fax
- Follow Categories