How to Set the reference field dropdown with "blank" as the default value using business rule?

Divi
Mega Guru

How to Set the reference field dropdown  with "blank" as the default value using business rule?

So, I have a field "type" in "managed documents" module, where in i had made the type filed mandate but i also want to make the type field's default value as "blank" when creating a new record but if we click on the dropdown it  displays dropdown of other choices.(Also have removed none from dropdown).I have tried with onload client script but as its not a best practice, wanted to try with business rule.Any suggestions would be appreciated.

Thank you.

8 REPLIES 8

The SN Nerd
Giga Sage
Giga Sage

Do you mean. literally the word "blank"?

Why not just use None?


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Not word "blank", i want to display empty field, refer the below image

find_real_file.png

 

Hi,

reference field would always shows value for the column which is display=true;

reference field will either hold a value or be empty; but since it is mandatory you would require to have a value 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Utpal Dutta1
Mega Guru

Hey Divi,

It's very simple. Just right click on the field you want to make blank as default and go to Configure Dictionary.

Now under Configure Dictionary go to Choice List Specification and select Choice as (Drop down without none)

Now create a choice in Choices section as only Table name selected. Label and Value should be blank.

Now save this and open your form. By default the value of that field will be blank.

 

If i was able to help you out then please mark my comment Helpful and Correct.

 

Thanks and Regards:

Utpal Dutta

DxSherpa Pvt. Ltd.