Forum Discussion

Re: Unable to copy file upload field value to another table in Automation editor

Mark-  This does answer my question up to the point of permissions...   really what I'm trying to do here is download a file attachment from QB (which then is sent off to an email program as an attachment).  So all of my work is happening via an external service that is calling QB APIs....so using your post I now understand how I can build the URL to download the file attachment- but normally I would be including a user and apptoken in my API calls.... doesnt seem like I can do that in this case?   So not sure how to proceed- and don't love the idea of making the file attachments EOTI

------------------------------
Scott Pugh
------------------------------

4 Replies

  • MarkShnier__You's avatar
    MarkShnier__You
    Icon for Qrew Legend rankQrew Legend
    Sorry, but if there is an API call that you can use, why are you saying that you cannot supply a usertoken to deal with permissions?

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • ScottPugh's avatar
      ScottPugh
      Qrew Cadet
      Admittedly I'm making an assumption as I havent yet tried this...
      But if I put the URL (replacing the xxx's)   https://xxxxxx.quickbase.com/up/xxxxxxx/a/rxxxx/exx/v0   into a webpage it (understandably) forces me to login first before it downloads a file
      I will be calling that URL from a web service to stream the file contents to the service, which then does some other things with that file.... my assumption (this is what I havent tried) is that it will error out because I"m not providing any authentication....        Or maybe a better way of saying is I actually hope it will error out because I havent provided any authentication
      normally in my QB API calls made from external services I'll include the user and apptoken.....but how/where do I include the user and apptoken in this URL?  https://jennason.quickbase.com/up/xxxxxx/a/rxxx/exxx/v0
      --
      Scott Pugh
      Jennason LLC | Principal
      Minneapolis, MN | (704)763-0703


      ------Original Message------

      Sorry, but if there is an API call that you can use, why are you saying that you cannot supply a usertoken to deal with permissions?

      ------------------------------
      Mark Shnier (YQC)
      Quick Base Solution Provider
      Your Quick Base Coach
      http://QuickBaseCoach.com
      mark.shnier@gmail.com
      ------------------------------