I need to create report based on swp technology which would be save as file and not just opens in new browser's tab . To achieve this in, for example, sparqlmotion, you can use sml:mimeType property of sml:ReturnText and put there something like "text/csv". But, alas, sparqlmotion is not suitable technology for our requirements.
Is it possible to put mimetype in swp?
--
You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include the TopBraid Suite family of products and its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to topbrai...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 31 May 2017, at 13:42, Ilya Ushakov <juve.us...@gmail.com> wrote:earkier you mentioned about undocumented hack, "We have no clean way of setting the download file name or extension right now (apart from an undocumented hack), but I have just extended ui:setResponseHeader for 5.4 so that you could do". Which hack in 5.3 version did you mean?
Hi Everyone,
Thank you for reply
You pointed me out on the problem. I had incorrect &_base param. Thanks a lot again.
earkier you mentioned about undocumented hack, "We have no clean way of setting the download file name or extension right now (apart from an undocumented hack), but I have just extended ui:setResponseHeader for 5.4 so that you could do". Which hack in 5.3 version did you mean?
Hi Holger,
Thanks a lot.
By the way, I got an unexpected obstacle when i tried to set mimetype in my sparqlmotion.
Because because only sml:ReurnText has sml:mimeType. I need to use smf:convertRDFToTextfirst. After that I use sml:ReturnText where i set text/csv or application/octet-stream.
The problem is that i must have all possible serialization (Turtle, RDFXML and JSON), but using smf:convertRDFToText + sml:ReturnText combination is only acceptable to RDFXML format.
How can i set mimeType for Turtle and json formats in sparqlmotion?