specify / specify7

Specify 7
https://www.specifysoftware.org/products/specify-7/
GNU General Public License v2.0
66 stars 36 forks source link

Export for Web Portal #786

Open norinespears opened 3 years ago

norinespears commented 3 years ago

Currently only Specify 6 has the ability to export data for use in the web portal but Specify 7 users also wish to take advantage of the web portal as the public face for their collection.

reported by: several, including Idaho

norinespears commented 3 years ago

Ben: since it now accepts CSV it should be quite a bit easier!!

maxpatiiuk commented 3 years ago

@benanhalt can this be implemented similarly to the "Export to CSV" button in Query builder?

Should it be available for all records or only for CO and dependent tables? Are arbitrary mappings allowed, or is there specific schema that is accepted by the web portal?

benanhalt commented 3 years ago

Yeah it would mostly reuse the export to CSV mechanism. The portal exports also contain other information that has to be dealt with to implement this feature, though.

I think the webportal assumes it is dealing with collection object data, but otherwise it is pretty flexible about the mappings, I think.

maxpatiiuk commented 2 years ago

For future reference: Specify 6 has a remote pref webportal.PROCESS_WEBLINKS that is related to this

grantfitzsimmons commented 1 year ago

As @benanhalt said, this should be relatively straightforward given enough time. I am happy to work with any developer looking to solve this issue.

Yeah it would mostly reuse the export to CSV mechanism. The portal exports also contain other information that has to be dealt with to implement this feature, though.

I think the webportal assumes it is dealing with collection object data, but otherwise it is pretty flexible about the mappings, I think.

grantfitzsimmons commented 1 year ago

This should be automatic for web portals hosted on Specify Cloud. Currently, it takes a decent chunk of time and labor from us to update these instances.