l4cky
May 21, 2023, 4:16pm
1
Is there a way to create/add/customize a button called “My default” next to “Select all”, “Select Mandary” that will automatically preselect the fields we want in Item list?
If yes, how to do that and where?
Thanks
nasir
May 22, 2023, 11:02am
2
Even I am looking for the same. I thought there would be an option under “Customize form” where we would be able to select the fields. But unfortunately there is none.
nasir
May 23, 2023, 6:45am
3
Have opened a feature request for the same here.
opened 06:43AM - 23 May 23 UTC
feature-request
**Is your feature request related to a problem? Please describe.**
When exporti… ng data from a list view of a doctype, there will be a list of all the fields of a doctype which have to be manually selected each time you decide to export data. This makes it very tedious when there are lots of fields. As of now, there is no way to pre-select them. And the default fields are being pre-selected, which are not required many times.
![image](https://github.com/frappe/frappe/assets/93313345/1226930d-bc8a-4512-b205-58247f27a6bd)
**Describe the solution you'd like**
Possible solution 1: In the "Customize form" of a doctype, under each field setting, add a checkbox "selected for export".
![image](https://github.com/frappe/frappe/assets/93313345/0aef0245-5ab1-429d-a39b-0b4879dcbd55)
Possible solution 2: Create a Doctype Export settings for each doctype, where we can mark the pre-selected fields for each doctype.
**Additional context**
This has been opened in the forum as well.
https://discuss.frappe.io/t/export-data-how-to-preselect-field-values-by-default/105078
1 Like
l4cky
May 27, 2023, 5:16am
4
“Create a Doctype Export settings for each doctype, where we can mark the pre-selected fields for each doctype.”
I see the post on github.
Were you able to do it? If yes, can you help me with a video tutorial on how to do it? thanks! @nasir