Behavior share creation API

  • 1
  • Question
  • Updated 4 months ago

I need to create a link to a document that can be used by any client that has the permission to the folder location (in ShareFile) of the file. For this purpose I’m using the ShareFile API to upload files to a specific folder and to create a link for direct file access.

Currently I’m creating a share with RequireLogin = false, RequireUserInfo = false. However, without the recipients the link in the Response of POST /Share works only for the account that created the share. A separate configuration of the target recipients is very cumbersome. 

So my questions are:

  1. How to generate a link that can be used by all customers that have permission to view a certain location?
  2. Are there any other possibilities?

David
Photo of David Jungwirth

David Jungwirth

  • 2 Posts
  • 0 Reply Likes

Posted 5 months ago

  • 1
Photo of Zack Stout

Zack Stout

  • 14 Posts
  • 1 Reply Like
I am having the same issue. Did you ever find a resolution?
Photo of David Jungwirth

David Jungwirth

  • 2 Posts
  • 0 Reply Likes
My current solution consists of the example in the API documentation and a four year old Reply (https://community.sharefilesupport.com/citrixsharefile/topics/create-share-using-api?topic-reply-lis...) to a simmilar question. But due to the incomplete API documentation, and probably the changelog will also be incomplete, this solution could break with any update of with any whim of Citrix. So therefore in wouldn't call that a solution, you may use this on your own risk.