How to set in widget options schema to display the table name?like:(incident[incident])

lzj
Tera Contributor

Figure 1 (table) is the result I set now. I want to make the style result in Figure 2. Please help me, thank youfind_real_file.png

Figure1 

find_real_file.png

Figure 2find_real_file.png

7 REPLIES 7

Thank you very much for your reply. However, as shown in Figure 1, after I set it according to what you said, I didn't achieve the desired effect. Is it w that I set in Figure 2

Figure 1

find_real_file.png

Figure 2

find_real_file.png

No . After doing that you will not find in widget options schema. but directly in the instance option of the widget. please refer the below screenshot.

 

find_real_file.png

 

find_real_file.png

 

As Shown in the above screenshot you will directly found it in the instance option. and in the widget script you can access it through options.table

shloke04
Kilo Patron

Hi,

I will be very eager to know on why are you trying to build something which I believe may confuse users looking at the portal with Table Name getting shown twice on the page.

This is not at all a good user experience from the practical experience I am having in ServiceNow and have never seen anyone doing this.

Can you tell me what is the exact use case because of which you are trying to build this functionality.

There can be a better approach which a member from Community forum can suggest if you share the details.

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

 

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke