NONE as default value for reference field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 12:03 AM
Can we set none as default value for the reference field type?
Kindly help on this.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 12:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 12:41 AM
Thanks Karthik. But I am creating this reference field in catalog. Can you help on this please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 12:47 AM
Hello Sobitha,
As I informed, please do the same and map the field on catalog to the table field. It might help your cause.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 12:13 AM
Hi Sobitha,
If there is not any value called None then it can not be set to None since reference field sets either null or unique value of that record being selected.
So as per my understanding without None record in reference table it can not be set to None.
Regards,
Atul Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 12:41 AM
Hello Sobha,
There is one way to do this, which I have achieved in my personal dev instance.
Firstly,
1. you have go to configure dictionary of the required field and in attribute field place the following: "u_ref_auto_completer_ajaxreferencechoice" like in below screenshot. which will enable drop down ability for the records.
2. Now. in the choice list specification. select dropdown with none and in default value write as none. which will show the none value in the options.
Below is the screenshot for your reference: