Customize title for "Form widget"

snehalkhare
Kilo Guru

Hi All,

I have a 'Form Widget' available for incident.  This is the title of any incident when opened in the portal. Is it possible to update this title. How are these values configured ?

The Opened value in the title is set in  GMT timezone. But the Opened value on the form is based on the user's timezone. Where should I make the updates to show same value at both places based on the user's timezone if personalized by the user.

find_real_file.png

Thanks,

Snehal

5 REPLIES 5

Jaspal Singh
Mega Patron
Mega Patron

Hi Snehal,

 

Do a Ctrl + Right click & Open the widget in Page editor.

Once done look for the Server Side code with a search as options.title. Possibly line 15-16.

You will have to customize the widget by cloning it so as to get the Title updated.

Thanks for your response. This works. Apart from options.title is there any other way also in which we can do this as I can see one comment in the widget

" // don't use options.title unless sys_id and table also come from options"

as per this comment if we are not using options then how could this be done.

options.title will return you short_description which will be displayed as title. You can try changing it to options.description & check for difference (Haven't tested).

For the Open field value can you elaborate bit more about it.

Open field- As in the screenshot in the question there is Opened date displayed at the title and the one on the form. The time indicated is in different timezones. The one at the title is in GMT and one on the form is in the user's timezone. Should this values be not displayed in same timezone, the difference causes confusion to the end user.

Also in the widget I do not find any thing returned in the title with respect to Opened field.