We have created a member list function for end users so they can do a search on members and obtain a list. Now we want to be able to offer the ability to export the list shown on screen in a csv file format. Anyone seen anything like this before for members?
One simple way to do this would be to create an alternative template for your document type, this template should not inherit any of your master templates so that it does not become web page. All it needs to do is re-run your search and output the results as a CSV's. Because you have not inherited your master templates the only content sent to the browser will be the CSV.
You might find this article related to alt templates by Tim useful.
Export member lists
We have created a member list function for end users so they can do a search on members and obtain a list. Now we want to be able to offer the ability to export the list shown on screen in a csv file format. Anyone seen anything like this before for members?
Hi Batmanflys,
One simple way to do this would be to create an alternative template for your document type, this template should not inherit any of your master templates so that it does not become web page. All it needs to do is re-run your search and output the results as a CSV's. Because you have not inherited your master templates the only content sent to the browser will be the CSV.
You might find this article related to alt templates by Tim useful.
Cheers,
Chris
is working on a reply...