Request a file via API

  • 1
  • Question
  • Updated 9 months ago
I am tasked with adding a request link in every users email signature for our environment.


I'm soooooo close to executing this, but I've hit a snag.

I can create a request, using the API via powershell.  What I'm doing is finding the users id, getting their homefolder id (thats where we want the files dumped) and then create a share. ie: New-Object Sharefile.api.models.share.  I can so far create the request and add properties like, requireuserinfo, expirationdate etc.
When I go to the uri created, The upload page has my name on it (instead of the persons email).  This is not desirable, as we do not want clients to become confused.  I have no idea how to change this.  I've tried modifying the creator, user, title and sentmessagetitle with no luck :( Am i missing something here?

Everything else works just fine though.  My tests have shown the files do indeed get put in the users respective personal folder.
Photo of Renato Dattilo

Renato Dattilo

  • 31 Posts
  • 6 Reply Likes

Posted 9 months ago

  • 1
Photo of Eliezer Encarnacion

Eliezer Encarnacion, Official Rep

  • 732 Posts
  • 102 Reply Likes
Renato,

Unfortunately the creator of the Share is assigned as the currently logged in user, and that cannot be updated. If it's not possible for each user to generate their own link, one possible workaround could be creating the Shares with a user whose first and last name spell out a more generic text, such as the name of the company, to reduce the confusion on the links. 

Thanks,
Eli
Photo of Renato Dattilo

Renato Dattilo

  • 31 Posts
  • 6 Reply Likes
.... thats a good idea