Field Styles on Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2017 06:26 AM
Hi SNC,
I am struggling with a very specific issue: configure styles of a given field on Service Portal.
Consider as an example the table on Capture1. This is a print of a table on the back-end, where I have configured the field Status to exhibit that style - red for "Down", green for "Live" and yellow for "Maintenance".
The problem is when I transport this table to Service Portal (please see Capture 2). Here, the field only exhibit the labels "Down", "Live" and "Maintenance", without the respective bubble color.
Does anyone experienced the same problem?
Any ideas on how to solve this?
I have urgency on solving this issue.
Thanks in advance,
Fábio Gonçalves
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2017 07:47 AM
I don't think a field style for a list view will work for Service Portal as well. Service portal list views are coming from widgets which are using for HTML part Angular, so you would need to adjust the Body HTML Template to reflect the same color as for field style.
Is it an out of box widget?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2017 07:51 AM
Hi Sergiu Panaite,
I am using a simple widget to get the table from the back-end.
Please see below the HTML code of my widget:
"
<div>
<div class="panel-heading">Business Services - Service Application: Collaboration</div>
<div class="alert alert-danger" ng-if="data.invalid_table">
${Table not defined} '{{data.table_label}}'
</div>
<sp-widget ng-if="data.dataTableWidget" widget="data.dataTableWidget"></sp-widget>
</div>
"
Best regards,
Fábio Gonçalves
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2017 07:57 AM
Hi Fábio,
I got the same issue, did you found any solution ?
My best,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2017 03:55 AM
Hi Hamza O,
No, unfortunately I did not found a solution for this issue.
Best regards,
Fábio Gonçalves