Incident field in the activity log of Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2017 10:44 PM
Hello All,
This really urgent requirement for us.
We need to add the fields from the incident record in the activity log.
In CMS it was coming like below
But in the Service portal,
I can only see the comments.
How this fields can be added..
Can some please help me this issue..
Its really bit urgent
Thanks
Saranya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2017 11:02 PM
You need to update the widget which is showing the activities, add the fields in the server script, and then save and test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2017 04:24 AM
Hello Anuraj,
I have just created a view and added the actvities(filtered).
Thanks
Saranya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2017 04:27 AM
Yes that's the front-end way to add activities. But for Service Portal, Activity Widget will have few defined number of fields (like number, comments). You need to add a few fields in Server code of this widget in order to display them all in activity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2017 01:13 AM
Hello Anurag,
I am not getting how can add field there.Can you please suggest on this?
How can set field here?
// Activity formatter is hardcoded to set specific options
for (var f in data.f._formatters) {
var fm = data.f._formatters[f];
if (fm.formatter == "activity.xml") {
fm.hardcoded = true;
fm.widgetInstance = $sp.getWidget('widget-ticket-conversation',
{table: data.table,
sys_id: data.sys_id,
includeExtended: true,
title: "${Activity}",
placeholder: "${Add a comment}",
btnLabel: "${Post}"});
} else
fm.widgetInstance = $sp.getWidget(fm.widget, data);