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-26-2017 11:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2020 03:42 PM
Hi Anurag,
I see this post if from 3 years ago, but wanted to see if you had some more specifics for how to add the fields I want to show up in the "Ticket Conversation" widget in the portal. I've cloned the "Ticket Conversations" widget and am tinkering with the Server Script, but not sure where to add what I need, which is the Activity logs for the "State" field. Any help would be appreciated. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2017 01:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2017 02:21 AM
Hello Shamma,
I want to have the field in the activity log similar to the CMS which I provided in tmy earlier screen shot.
In the form widget, they are hard coding the activity formatter.
/ 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);
Thanks
Saranya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2017 02:12 PM
Looks like you need to update the widget: "widget-ticket-conversation" below is where you would start. make sure the server script retrieves the data that you want to display. If you already found a solution, please post yours.
HTML
<div class="timeline-panel timeline-panel-first-item">
<div class="timeline-heading">
<h4 class="timeline-title">{{data.stream.user_full_name}}</h4>
<p>
<small class="text-muted">
<span class="glyphicon glyphicon-time " />
<sn-time-ago timestamp="data.created_on" />
</small>
</p>
</div>
<div class="timeline-body">
<p>{{data.number}} ${Created}</p>
</div>
</div>
Server Script:
data.number = gr.getDisplayValue('number');