How to Retrieve Complete Image and not the Truncated one | CloudFronts

How to Retrieve Complete Image and not the Truncated one

Posted On June 30, 2019 by Posted in

While fetching images using fetch xml there is a possibility that you will not able to get the complete image. You will also notice that this issue generally happens when you are using the multiple internal entities.

Description:

We were working on a project where we displaying the records notes using the multiple entities, we noticed that it is not showing the complete images, but it is truncated or incomplete.

Let’s see the actual query and the output

Scenario 1:

In the below query we are getting the incomplete images as a base 64 string

Result

Scenario 2

In the below fetch xml we are getting complete image.

If you will closely look into the query distinct parameter for the first was true where as in second case it was false.

Conclusion

Hope this helps you to retrieve complete image and not the truncated one


Share Story :

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close