Upload CSV file into CSV data source asset using Easy Edit - possible?


(Iestyn Polley) #1

Hi all,

 

CSV files can be uploaded into CSV data assets using the admin interface quite successfully. But it doesn't seem to be possible in EES. Is that right?

 

I have authors who only ever use EES, but may need to upload their own CSV files in the future (preferable also with EES). Can it be done?

 

Cheers,

Iestyn.


(Scott Hall) #2

Hey Iestyn

 

The CSV Data Source asset is not supported as a specific asset type within the EES interface. You should still be able to redirect and load it from the asset finder with it's own webpath/_edit though. Which will let you edit some basics like details, metadata, linking et al. The only way that you 'might' be able to expose the upload feature to your users might be via the EES plugin system and something like > after details screen loads > try adding a new section to the details screen > use simple edit keyword replacement to load in that section from standard simple edit > do some code to clean up/allow user to upload. All that would have to be done in a very 'safe' way.

 

That's not really trivial work. It's custom stuff. But can be done is more of a controlled/supportable way via the EES plugin approach. That way it can be turned off (commented out) during upgrades. And then reviewed post upgrade for any issues. And requires intermediate to advances JS skills as well as knowledge/skills around the Matrix simple edit system. Specifically how you can use simple edit keyword replacements to load specific screens/sections.

 

Might be helpful to engage with the local Squiz office for assistance to avoid anything that might cause pain/grief in the future.

 

Cheers

 

Scotty


(Iestyn Polley) #3

Thanks Scotty for the super fast response.

 

Just out of interest, how would one determine the keyword replacements (here are some, but I bet there are others)? 

 

Cheers,

Iestyn.


(Aleks Bochniak) #4

How about going old school and use a Simple Edit Layouts ?  :P