[ADF-1889] fix preview of the APS content (#2663)

* fix preview of the APS content

* test fixes

* viewer integration enhancements

* code fixes

* test fixes
This commit is contained in:
Denys Vuika
2017-11-17 20:53:53 +00:00
committed by Eugenio Romano
parent 2d6861e96f
commit 8a52d6fed5
7 changed files with 53 additions and 17 deletions

View File

@@ -153,12 +153,12 @@ The response is going to be `null` if the delete was successful.
See `getProcessRelatedContent` and `getTaskRelatedContent` for how to get to the `contentId`.
#### getContentThumbnailUrl(contentId: number): Observable<any>
#### getContentThumbnail(contentId: number): Observable<Blob>
Get the thumbnail URL for related content (currently does not return this):
```ts
const contentId = 6008;
this.contentService.getContentThumbnailUrl(contentId).subscribe(
this.contentService.getContentThumbnail(contentId).subscribe(
res => {
console.log('Response: ', res);
}, error => {