How to add a drop down in UI page with the following choices 1:None 2:On Hold

AyeshaM1
Tera Contributor

 

 

3 REPLIES 3

Abhijit4
Mega Sage

Hi @AyeshaM1 

 

If you come here ask everyone to provide directly updated working code based on your requirement then you will not learn anything which will make you dependent on others in future as well.

 

So let's break down your requirement into multiple chunks then I would let you search for its code and fit into UI Page.

 

- How to add dropdown option in UI Page ( Hint : https://www.w3schools.com/tags/tag_select.asp ).

- How to put selected choice into current record as work notes ( along with some message I believe ).

 

Now, I would let you search this option separately and try to built something by yourself.

 

 

It's fine even if you don't make it working as expected, I am here to help you if you stuck anywhere.

 

If my response helped please mark it as correct.

 

Regards,

Abhijit 

ServiceNow MVP

ServiceNow Buddy Owner: snbuddy.com

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP

Ankur Bawiskar
Tera Patron
Tera Patron

@AyeshaM1 

is that an OOTB UI page or custom one?

you can add drop down using html <select> tag in UI pages

check these links

How to add a drop down in a UI page, and based on choice selected fields should be changed on UI pag...

Need help with Jelly script in UI Page using dropdown options

those links will help you how to access the value of that as well

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@AyeshaM1 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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