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.

Need to display custom button on the servicenow form header.

pranookas
Tera Contributor

My client is expecting a custom button on the servicenow form header with choice values.

for example : a button on the form header with dropdown menus as shown below: 

pranookas_0-1721808306558.png

 

Anyone please provide all the feasible approaches to achieve this requirement . 

 

Thanks,

Pranooka.S

1 ACCEPTED SOLUTION

AnirudhKumar
Mega Sage

A button should never be a drop down😑

Drop downs are inputs, and inputs should be separate from buttons.

You have a rare opportunity to tell your client that the requirement is ridiculous. Go for it.

 

Anyway, the better approach is to create a button that will show a popup (Use Glidemodal/GlideDialogWindow). In the popup have a drop down and a Save button.

 

Here's how you do it:

https://docs.servicenow.com/bundle/washingtondc-api-reference/page/app-store/dev_portal/API_referenc...

View solution in original post

4 REPLIES 4

pranookas
Tera Contributor

Need a Custom Button on the servicenow table form header with displaying choice values  @Sid_Takali can you please provide any possible approach for the above requirement . 

Thank You,

Pranooka.S

Rakesh50
Mega Sage

Hi,

 

@SN_Learn @Chuck Tomasi @Ankur Bawiskar @AnirudhKumar @Allen Andreas @Anurag Tripathi 

can any one please suggest solution for the above requirement.

 

Thanks,

Rakesh T

 

AnirudhKumar
Mega Sage

A button should never be a drop down😑

Drop downs are inputs, and inputs should be separate from buttons.

You have a rare opportunity to tell your client that the requirement is ridiculous. Go for it.

 

Anyway, the better approach is to create a button that will show a popup (Use Glidemodal/GlideDialogWindow). In the popup have a drop down and a Save button.

 

Here's how you do it:

https://docs.servicenow.com/bundle/washingtondc-api-reference/page/app-store/dev_portal/API_referenc...

pranookas
Tera Contributor

@AnirudhKumar Thank You for the reply !!