Page 2 of 3

How to create an image site url?

Posted: Tue Jul 01, 2014 10:32 pm
by adam griffin

Image

I get this when invoking the direct link to file. How can I just get the url so I can just display the image?


How to create an image site url?

Posted: Wed Jul 02, 2014 12:17 pm
by Evgene Karachevtsev

Adam,

You do not need to get a picture with the help of the rest request. it's a direct link. You can just paste it in the src attribute of the picture


How to create an image site url?

Posted: Wed Jul 02, 2014 2:53 pm
by adam griffin

So what I get in the service response from my screenshot is correct? And I can just map the response to a variable and add the variable to my html img tag?


How to create an image site url?

Posted: Wed Jul 02, 2014 6:22 pm
by adam griffin

I am very confuse! I am able to upload the file but I am still lost on getting the direct link to file. The documentation isn't helping at all. Its almost useless. Can someone please post screenshots on setting this up?


How to create an image site url?

Posted: Wed Jul 02, 2014 6:23 pm
by adam griffin

I am very confuse! I am able to upload the file but I am still lost on getting the direct link to file. The documentation isn't helping at all. Its almost useless. Can someone please post screenshots on setting this up?


How to create an image site url?

Posted: Wed Jul 02, 2014 7:51 pm
by Kateryna Grynko

Hi Adam,

You can add this URL to Image 'src' attribute. You can also use mapping to do it.


How to create an image site url?

Posted: Thu Jul 03, 2014 2:22 am
by adam griffin

How can I query the file name of the file?


How to create an image site url?

Posted: Thu Jul 03, 2014 4:42 am
by Yurii Orishchuk

Hi Adam,

See where is direct URL you need on this screen shot: http://prntscr.com/3yw7ho/direct

Aslo see screen shot with response mapping: http://prntscr.com/3yw8dl/direct

Regards.


How to create an image site url?

Posted: Thu Jul 03, 2014 8:25 am
by adam griffin

Im getting an error when trying to upload an file through the create file service. code":"BCXX002","description":"Cannot consume content type"


How to create an image site url?

Posted: Thu Jul 03, 2014 9:24 am
by adam griffin

I fix the error, but now the entire file will not upload. It will only upload like 20kb of the file instead of the entire file. How can I solve this?