Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Prevent changing tab name after using form, gform component in UI Builder

mszymkowiak
Tera Contributor

I have a Home Landing page which is open as a tab with Label "Home" (which is expected). 

Inside there is a Tab Component. Inside subpage I use form component for display block.  The issue I'm facing is that once display block is loaded, the  Home tab change its name to the short_description of the record.  I would like to prevent this behaviour. This occurs each time I'm using  on any subpage components using data controlls form or gform

2 REPLIES 2

David Speirs
Tera Contributor

Would like to know how to do this as well.

mackinley
Tera Expert

We've encountered the same issue but instead of a Tab Component, we are rendering our Form component in a Viewport Modal. We haven't been able to determine the source but it seems like there is a script in either the Form component itself or the `@servicenow/now-record-form-connected` `Form Controller`.

 

We suspect its executing helpers.screen.updateStatus({...}) api call since the browser window title also gets updated. Seems like using a form in anything other than a Record page was overlooked or dismissed as a valid use case for the Form component/Controller. I believe a property in the Form components `Configuration` config called something like 'updateScreenTitle' would be nice and solve this however.