Service Portal :: Data Table From Instance Definition and widget-form

ggg
Giga Guru

I have Data Table From Instance Definition (table = incident) and widget-form on a page.

the incident displays in the form widget.

I would like the Data Table From Instance Definition to display in a different widget on the page.

How do I tell Data Table From Instance Definition to display in that other widget?

 

1 ACCEPTED SOLUTION

Hi,

If the form has the fields, then you don't nee dto add any code. The widget will take care of the update. I already checked this.

How did you add a field to the form? You need to add a field to the Service portal view as that is the view that gets rendered in the from widget.

And any changes to any of the fields that are displayed in the form will be updated by the widget itself. The code that i give is to update any other fields that are not on the form.

Mark the comment as a correct answer and also helpful if this helps.

View solution in original post

19 REPLIES 19

asifnoor
Kilo Patron

Hi,

Go to service portal configuration-> Designer and select the page in which currently this is being shown. There you shall see other widgets as well. Whichever container, where you want to add, go there and drag Data table form instance definition widget there and configure.

Then remove this from the form-widget by clicking on delete icon.

Mark teh comment as a correct answer and helpful if this helps.

what I dont' understand is how data table table from table instance knows what widget to appear in? if 'widget-form' is on the page it will display there. if 'widget-form' is NOT on the page it appears in a new window.

I want it to display in a widget that I have created.

how do I do that?

Hi, Please note that data table from instance is a widget and it can be included in a page. You cannot include a widget directly in another widget. In service portal config - desiner- select Page. Then in that page you see containers. In any of the container, you can stage the widget from top left and then access that page. In that page you will see that widget. You can include as many widgets as you want under the container and they will be visible one below other. Mark the comment as a correct answer and also helpful if this helps.

yup, get that. i still don't see how when i click on an incident it knows to display in the form widget vice in a new window.