merge the custom widget

ujjwala_678
Tera Contributor

Hello Experts,

I've been trying to merge the custom widget with the standard ticket header so that it will look like a single widget....

Could anyone please suggest me what changes I should make in my code so that it will look like a single widget

Please find the attached screen captures for your reference

first image shows how I created, and the second image shows how it should look like

Below is the HTML code I'm using-

<div>
<!-- your widget template -->
<div class="panel panel-default">
<p class="label-color size header-text text-xs" style="padding-left: 0;"> Watchlist: </p>
<div class="panel body"style="width 100%">
<table style="width:100%">
<tr style="width:100%">
<td style="width:80%">

<sn-record-picker id ="watch_list" field="sys_user"
table="'sys_user'"
display-field="'name'" display-fields="'email'"
value-field="'sys_id'" search-fields="'name,email'"
page-size="100" multiple="true"
default-query="'active=true'"
></sn-record-picker> </td>
<td style="width:100%"><button type="button" id="update" ng-click="c.updateUsers()">Update</button></td>
</tr>
</table>
</div>

 

Thank you in advance,

 

4 REPLIES 4

Shruti Khaire
Kilo Sage

Hello @ujjwala_678,

 

Can you please confirm if you are trying to merge the custom widget with the standard ticket header or you are trying to duplicate the OOB one and add some modification to it to make it look like a single widget confirm and let me know so i'll guide likewise if possible.

Thank you!

 

Hello @Shruti Khaire ,

Thank you for replying ...yes i have cloned the OOB standard ticket header widget so that I can add the custom widget which I created : watchlist widget  to make it look like a single widget

Please guide me

Thank you,

Hi @ujjwala_678,

 

Okay great since you have cloned it now could you guide me how the OOB widget looks like. So that i'll get an idea what all needs to be fetched from your previous widget which you created.

 

Thank you!

created wathlist widget want to merge it with OOB std ticket header widget