This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Aug 27, 2014, 8:44 AM
1 Posts

Domino Data Access

  • Category: Application Development
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: Domino Data Access
  • Replies: 1

Hello!

I have got an application which creates notes documents via domino data access in json format. At the moment there is only the use of primitive datatypes possible.  In the Domino Data Access document I read that there is no creating and update of richtext fields is supported in version 8.5.3. There is no content type of "multipart" possible for post-requests.

Note: Creating attachments and embedded objects is not currently supported. Attempting to create or update a rich text field with attachments or embedded objects, or references to attachments or embedded objects, returns error 400 (Bad Request). If you use the data returned from a GET request to update or create a new document, remove any attachment data.

Can anybody tell me, if that limit is  still in notes 9.0.1?

best regards

Matthias

Aug 27, 2014, 7:07 PM
19 Posts
There's better rich text support in 9.0 and 9.0.1 ...
It's not entirely accurate to say "there is no creating and update of richtext fields" with the data service in 8.5.3.  There was some limited support for rich text in that release.  The limitations were related to attachments and embedded images.

However, rich text support is much improved in 9.0 and 9.0.1.  As of 9.0, multi-part format is the default for rich text items.  Multi-part format allows us to represent rich text, attachments and images in a single JSON object.  There are some examples of this in the description of the Document GET request:

http://www-10.lotus.com/ldd/ddwiki.nsf/xpAPIViewer.xsp?lookupName=IBM+Domino+Access+Services+9.0.1#action=openDocument&res_title=Document_GET_dds10&content=apicontent

You can also write a multi-part rich text field when creating a new document.  See the second example on this page:

http://www-10.lotus.com/ldd/ddwiki.nsf/xpAPIViewer.xsp?lookupName=IBM+Domino+Access+Services+9.0.1#action=openDocument&res_title=Document_Collection_POST_dds10&content=apicontent

And, of course, you can use the same format when updating a document:

http://www-10.lotus.com/ldd/ddwiki.nsf/xpAPIViewer.xsp?lookupName=IBM+Domino+Access+Services+9.0.1#action=openDocument&res_title=Document_PUT_dds10&content=apicontent
 
-- Dave

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal