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.

Save Button on the record producer from the portal

shid077
Tera Contributor

Hi All,

 

i am create a record producer and try to access it from portal.

 

so when i hit on "submit" button  from the portal it will open the change request form

 

sp?id=form&query=chg_model%3De55d0bfec343101035ae3f52c1d3ae49%5Estd_change_producer_version%3D5b7399bc53231300e321ddeeff7b1206&sys_id=-1&table=change_request

so in below one Save(Ctrl+s) button will come like this which is OOB.

 

shid077_0-1698920448327.png

 

How can we remove (Ctrl+s) from the Save button.

 

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@shid077 

that is OOB, why to remove it?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Clara Lemos
Mega Sage

Hi @shid077 ,

 

To remove the (Ctrl+s) from the button navigate to Service Portal > Widgets 

Open the record that the Name is 'form '

Clone the Widget and make the following change :
In the Clint Controller field replace the line 6 code: 

from $scope.saveButtonSuffix = spUtil.getAccelerator('s');   to 
$scope.saveButtonSuffix = '';
 
Then navigate to Service Portal > Pages open the record called 'form' and click on the Instance and replace the widget to your cloned  widget: 
Screenshot 2023-11-02 at 10.35.45.png

If that helps please mark my answer as correct / helpful!
And if further help is needed please let me know

Cheers