03-23-2012 05:45 AM
03-23-2012 06:05 AM
03-23-2012 07:24 AM
03-23-2012 07:33 AM
03-23-2012 08:42 AM
<webscript>
<shortname>Export Search Results</shortname>
<description>Export Searching result in Advance Search</description>
<url>/repository/exportcsv</url>
<format default="json"></format>
<authentication>user</authentication>
</webscript>
03-23-2012 08:54 AM
03-23-2012 09:00 AM
03-23-2012 09:09 AM
03-26-2012 02:22 AM
protected void streamContent(WebScriptRequest req, WebScriptResponse res, File file, Long modifiedTime, boolean attach, String attachFileName) throws IOExceptionwhich is also requiring following :
<!– by object id –>
<url>/cmis/i/{id}/content{property}?a={attach?}&streamId={streamId?}</url>
<url>/cmis/s/{store}/i/{id}/content{property}?a={attach?}&streamId={streamId?}</url>
<!– by path –>
<url>/cmis/p{path}/content{property}?a={attach?}&streamId={streamId?}</url>
<url>/cmis/s/{store}/p{path}/content{property}?a={attach?}&streamId={streamId?}</url>
<!– alfresco style –>
<url>/api/node/content{property}/{store_type}/{store_id}/{id}?a={attach?}&streamId={streamId?}</url>
<url>/api/path/content{property}/{store_type}/{store_id}/{nodepath}?a={attach?}&streamId={streamId?}</url>
<url>/api/avmpath/content{property}/{store_id}/{avmpath}?a={attach?}&streamId={streamId?}</url>
<url>/api/node/{store_type}/{store_id}/{id}/content{property}?a={attach?}&streamId={streamId?}</url>
<url>/api/path/{store_type}/{store_id}/{nodepath}/content{property}?a={attach?}&streamId={streamId?}</url>
03-26-2012 09:40 AM
res.setContentType("application/csv");
res.setHeader("content-disposition","filename=test.csv");
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.