Hello all,
I have been programming this code to upload a file and share it to a private community. I have been successful with the file upload but I kept getting errors with the file sharing to the private community.
I used this following resource as a guideline:
http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Sharing_a_file_with_a_community_or_communities_lc3
I used the content type as "application/atom+xml" and the content language as "en". I then send the atom entry document of the community that I had retrieved from the URL:
"http://{server}/communities/service/atom/communities/my?search={term}"
The common error I get is :
- InvalidRequestAn invalid entry was encountered for this operation. This operation expects one and only one category type for input.
Any ideas? I have tried sending a string containing the XML data, and the binary representation of the XML data but they didn't work.