문제

We have a FetchXml query with a couple of link entities, one of which is to the annotation entity in order to retrieve an attached image's base64 encoded content. This is so we can display an image inline on a page using data uris.

The problem is that the image displays trimmed because the documentbody returned is actually cut off at 2,000 characters.

도움이 되었습니까?

해결책

The problem ended up being an issue with the query itself. We had distinct="true" set on the fetch query, removing this attribute then caused the result to contain the entire documentbody of the image. Very strange.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top