The mime type can be set via the ui:responseType property at the SWP service. There are several pre-defined instances of ui:ResponseType, but you can define your own. Example:

ui:HTML
  rdf:type ui:ResponseType ;
  ui:mimeType "text/html" ;
  rdfs:comment "The HTML response type." ;
  rdfs:label "HTML" .

Holger



On 26/05/2017 20:59, Ilya Ushakov wrote:
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 [email protected]
---
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 [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
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 [email protected]
--- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to