on 05-17-2018 7:34 PM
I am trying to implement multipart request to use DMS on HCP trail account using XSJS. As it is mentioned in HCP Help. SAP HANA Cloud Platform I have created index.html and corresponding xsjs application in HCP Trailaccount as per below link from jsdoc. JSDoc: Tutorial: Creating documents and folders My index.html has following content:
<form action="fileupload.xsjs" enctype="multipart⁄form-data" method="post">
Description:
<input type="text" name="description" size="30"><br/>
File:
<input type="file" name="datafile" size="40"><br/>
<input type="submit" value="Submit"><br/>
</form>
Everthing is working but $.request.entities doesn't contain any entity
Hi Ronald,
If your followed this blog, please disregard the instructions as they are completely outdated and nothing there will work as it is supposed. First, because the code makes use of an internal library that is no longer provided by SAP (neither on productive nor on trial instances).
The recommended way to access the Document Services on SCP is documented here. There you will find instructions on how to build a proxy service in Java so it can be safely called from your html application.
There aren no CMIS client library for JS officially supported by the Apache Camel project (the maintainers of the openCMIS client library for Java). There are unofficial libraries, primarily targeted at server side JS implementations, that you could give a try. I highly recommend you the Java approach which has a widely supported by Apache Camel and will cover more than just the basics.
Regards,
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.