Styling Not Rendered in IPaaS HTML Template
Please see below. I have an IPaaS HTML Template that renders correctly in the design mode, as well as a web browser, but when I use it in a Ticket Update action (using STD action), the styling of the template is lost. The table data is displayed as expected, but there is no styling in the table.
https://app.screencast.com/VhqCThNNLh9FV
Can you point me in the right direction?
Thanks, Tevis
Answer (1)
Hi Tevis,
We think that's because of the way that iPaaS templates handle styles. If you look at the raw HTML, does it have a
<style>
.table-row {background-color: "whatever"}
</style>
at the top?
If so, that's definitely not going to work because I dont think the feed item will take <style> tags.
If you changed it to inline styles, that would work, e.g.,
<tr style="background-color: red;">
<td>Hello</td>
</tr>
Sincerely,
Mark Sayers
Sr Support Consultant, CS
<tr style="background-color:#4F81BD;color:white;">
All I did was change the color value:
<tr style="background-color:#006241;color:white;">
Here is my code and I did not use a Style tag, but all of the styles are inline
<table style="width:75%;border:5px solid #006241;">
<tbody>
<tr style="background-color:#006241;color:white;">
<th style="width:30%;font-weight:bold;">CAB Group</th>
<th style="width:30%;font-weight:bold;">Due Date</th>
</tr><!--{{#notifications}}-->
<tr>
<td style="width:30%;"><!--{{group}}-->
</td>
<td style="width:30%;"><!--{{dueDate}}-->
</td>
</tr><!--{{/notifications}}-->
</tbody>
</table>
Tevis - Tevis Boulware Mon 9/23/24 11:34 AM
See the attached.
I want to get this resolved since I have several templates not working at expected. I am using the template provided in the IPaaS template editor. I would like to know if I am doing something incorrectly, or if there is an issue with the update ticket operations. - Tevis Boulware Wed 10/23/24 2:08 PM