mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
committed by
Eugenio Romano
parent
2d6861e96f
commit
8a52d6fed5
@@ -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 => {
|
||||
|
Reference in New Issue
Block a user