You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have lots of client plugins that copy-paste CSV Upload functionality into them before then running extra functionality after these.
Requirements
Create a CSV Upload Utility that takes a file path, and params.
The Utility will return a success true or false flag, and also an message that can be displayed on the front-end.
The Utility will take a query and also an updateQuery that is ran after the importing is done (to create a geometry for example).
CSV Upload Layer Plugin
A plugin that returns a button that opens a dialog that handles CSV Uploading, and layer reloading once completed.
CSV Upload Entry Plugin
A plugin that returns a button that opens a dialog that handles CSV Uploading, and the infoj reloading once completed.
Type of Issue
Please delete options that are not relevant, and select all options that apply.
✅ New Feature
The text was updated successfully, but these errors were encountered:
We have a csvDownload utility which is poorly test and documented. This should be done first. The csvDownload utility creates a csv text file from a query response.
The csvUpload should work in a similar fashion with comparable parameter. The core functionality of the csv upload is to create a POST request with the body being a stringified array.
The csvUpload utility should not be confused with an array insert into table XYZ module. The csvUpload should work with any query that receives the POST request body.
The query for the csvUpload utility should not be reequired to be a module dependent on arr property in the body which is substituted with a string in the render method of the query.
The body should be substituted in the database as the restricted template variable %{body}.
The csvUpload utility should handle a payload size property to handle how the csv array is split before being sent in multiple requests.
It must be possible to control whether requests should be sent async.
Description
We have lots of client plugins that copy-paste CSV Upload functionality into them before then running extra functionality after these.
Requirements
Create a CSV Upload Utility that takes a file path, and params.
The Utility will return a success true or false flag, and also an message that can be displayed on the front-end.
The Utility will take a
query
and also anupdateQuery
that is ran after the importing is done (to create a geometry for example).CSV Upload Layer Plugin
A plugin that returns a button that opens a dialog that handles CSV Uploading, and layer reloading once completed.
CSV Upload Entry Plugin
A plugin that returns a button that opens a dialog that handles CSV Uploading, and the infoj reloading once completed.
Type of Issue
Please delete options that are not relevant, and select all options that apply.
The text was updated successfully, but these errors were encountered: