Announcement

Collapse
No announcement yet.

API For Image

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • API For Image

    Hi guys,

    Now that I upgrade to v7 I'm planning to resume creating the Mobile App again. It will be a work in progress and I manage to get the Contact to be working although it is a bit slow , it take about 5 second to load Contact. Ideally data should be saved offline and instant access and only on refresh it will take time to Get new data.

    But that is not the topic. The problem I'm having is how to get Image URL.

    I manage to get the ID of the photo, and append the URL to be full, opening the URL in browser will show the image but when I'm using 'GET'/API it doesn't seem to be working properly. The image is blank. Anyone experience in getting image URL to be show?

    Example: https://website.com/?entryPoint=imag...6fa25156a6b43a

    I'm using AppGyver 'codeless' tool to create the Mobile App.

  • #2
    I guess you should use the Dubas Attachment extension by our fellow forum user emillod from devcrm.it. The extension is free and makes it possible to fetch images from outside of espoCRM.

    Install it and change the link format accordingly.

    Comment


    • #3
      Thank you shalmaxb, do you know which one? Is it the Shared Files for EspoCRM ? Unfortunately it is a Paid Extension now from look of it.

      Comment


      • #4
        Originally posted by espcrm View Post
        Thank you shalmaxb, do you know which one? Is it the Shared Files for EspoCRM ? Unfortunately it is a Paid Extension now from look of it.
        This one: https://devcrm.it/download/?file=43e...0-727d39d9c981

        Comment


        • #5
          Thank shalmaxb, but I think I'm doing it wrong...

          Can't seem to get this part working:
          • Open Admin section;
          • Choose specific file and view it;
          • Change parameter in URL from entryPoint=attachment to entryPoint=DubasPublicAttachment.
          ​---

          I tried the image URL and some documents Attachment URL but it doesn't seem to do anything. Don't see any new setting in the Admin section either.

          Example of URL I tried: https://website.com/?entryPoint=Duba...3b5252sadf5aaf
          and for Photo: https://website.com/?entryPoint=Duba...5632sdf899b43a

          I'm dumb... so the original URL is like this but how to change it correctly... ?entryPoint=image&

          Edit: Tried reading thread here: https://forum.espocrm.com/forum/exte...m-by-devcrm-it
          Seem like you manage to figure it out.

          And it seem to be possible with this thread here: https://forum.espocrm.com/forum/gene...rl-through-api

          It just a matter of 'how-to' get to yours and mkas level of knowledge.
          Last edited by esforim; 10-04-2022, 08:05 AM.

          Comment

          Working...
          X