- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2023 08:48 AM
Hi,
We're trying to change how the list of cards look (which fields are included) for the Tasks in the My Items widget on Employee Center. In the Activity Configuration of Tasks there is a section called List view json, which seems to give advice on how to create such a template for this purpose. It's not clear though how to use it and where to insert it. We tried to add it to the List view script field above without any success. Does someone know how to do this?
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2023 05:26 AM
Hi @Melinda Ivok ,
Can you please add this API iActivityConfigurationUtil:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2023 06:23 AM
You can use the fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2023 09:51 AM
Hi @Melinda Ivok,
The list view of Tasks is derived from the "getMyTodos" API from the todoPageUtils script include. However, the fields from the card are derived from the To do configuration. In that configuration, we have a Title row and a detail row. If you will change those fields card would be updated with the selected fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2023 01:42 AM
Hi @Ankit Kumar3,
It is the fields in the My Items widgets that I would want to change, for example hide Price/Quantity (see attached picture). How and where can I do that?
Thank you in advance!
Best regards,
Melinda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2023 04:09 AM
Hi @Melinda Ivok , As I can understand you only need to hide the price and quantity for only Tasks.
To achieve this you can override the 'getMyTodos' API of ActivityConfigurationUtilSNC to the below code snippet:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2023 04:32 AM
Unfortunately it didn't do anything. Do you have any other suggestion for how I can make this work?