Associated SCTASKS for RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 02:53 AM
Hi Everyone,
I have created a widget where it displays all the associated SCTASKS. I have added that widget in one of the page and it is working as expected.
But when I added this widget to ticket tab configuration it is showing as empty
Code of Widget:
HTML:
<div class="container">
<div class="row">
<div class="col"><strong>Task Number</strong></div>
<div class="col"><strong>Short Description</strong></div>
<div class="col"><strong>State</strong></div>
<div class="col"><strong>Assigned To</strong></div>
<!-- Add more field names here -->
</div>
<div class="row" ng-repeat="task in data.catalogTasks">
<div class="col">{{ task.number }}</div>
<div class="col">{{ task.short_description }}</div>
<div class="col">{{ task.state }}</div>
<div class="col">{{ task.assigned_to }}</div>
<!-- Add more field values here -->
</div>
</div>
CSS:
<style>
.container {
display: flex;
flex-direction: column;
border: 1px solid #ccc;
padding: 10px;
}
.row {
display: flex;
flex-direction: row;
justify-content: space-between;
border-bottom: 1px solid #ccc;
padding: 5px;
}
.col {
flex-basis: 20%;
padding: 5px;
}
.col:first-child {
flex-basis: 10%;
}
</style>
Server Script:
Can anyone please give me some suggestion that how can I show those details in Tab Configuration.
Thanks in advance,
Akhil.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 07:51 AM
Any Update /Suggestions on this let me know.