Forums

Direct link to form csv export

Repitol 16 Mar, 2015
Hi,
Is it possible to create in Joomla a direct link to form csv export ?
the normal way is to create a login and explain how to proceed to export csv. It's a bit complicated for some users who need only to export their form csv.
Regards
GreyHead 16 Mar, 2015
Hi Repitol,

I usually create a front-end form with an Authorisation check (an approved user group only) and an Export button.

Bob
Repitol 16 Mar, 2015
Hello Bob
that's to say I have to create a copy of the form ? To enable an Authorisation check and an Export buton on the form...

Repitol
GreyHead 16 Mar, 2015
Hi Repitol,

A copy of what form? You've lost me :-(

Bob
Repitol 16 Mar, 2015
No sorry I think I understand now tell me if I do :
1 : I have a form from which I want a special user (manager) can export csv (table connected is form01)
2 : I create a new form (form02) with an Export button configurated to download csv from Form01
3 : I make special access to form02 so that the manager once logged can simply use the button to download the csv export
4 : I'm on the way to success / I'm happy ?
GreyHead 16 Mar, 2015
Hi Repitol,

Yes, that looks OK to me.

Bob
Repitol 16 Mar, 2015
Ok !
To display the thankyou page I mustn't use the direct dowload
but I don't find how to display the thankyou page + automatic download
GreyHead 16 Mar, 2015
Hi Repitol,

I don't either - it seems to be possible in some browsers and not in others. I generally either use direct download, or add a download link in the Thank You page.

Bob
Repitol 17 Mar, 2015
Hi Bob,
it works fine just with the "download csv" button I put directly into a new article
I set "direct download" in the Event action parameter
I just gave the direct url for this page to the manager. No menu in the website to the article so that only the manager knows where to find the button and dowload the csv. That's seemed to me easier than creating a special group access (No login needed)

Thanks again
Repitol
This topic is locked and no more replies can be posted.