Forum Post: Re: How Can We Send A File Through Rest

  • Thread starter Thread starter mysteryminds
  • Start date Start date
Status
Not open for further replies.
M

mysteryminds

Guest
Dear Anoop I do have a understanding how the process has to be - as I have implemented the same in other products but not in ROLLBASE and I'm novice to this... So I need a step by step clarifications for me to implement please BRIEF PROCESS ------------------------------------ From Rollbase (e.g. Document object) 1. Send the record's ID and object integ to your PDF service (Aspose) through a URL Param, e.g. xyz.com/?record={!id}&object=document_&user=one@xyz.com&pass=test 2. On the PDF side, use getBinary (or some API in the doc) to get the Binary of the file 3. Open the file on PDF editor 4. Do your edits 5. When the user saves, use setBinary to post back the changes to the file using the ID and Object Integ name for the API's parameters REALITY ------------------------------------------------------------------------- #1 - Rollbase formula/template field #2 - this will be on the client server side before you get to open the file on clientserver, you'll need to use REST API to get the file's contents #3 - once you have the file, open in the service #4 - edit #5 - once the user saves the file on the editor, post back the new file to Rollbase using setBinaryData() The usual process with RB REST API is: 1. Login, 2. perform api (e.g. getBinaryData) 3. Logout

Continue reading...
 
Status
Not open for further replies.
Back
Top