Alfresco Angular components ( Documentation -> https://alfresco.github.io/adf-component-catalog )
in file-view.component.html
I am able to preview document but
but not sure why this is Comments/Properties/Versions are not displaying
<ng-container *ngIf="nodeId">
<ng-template let-node="node" #sidebarTemplate>
<adf-info-drawer [title]="'APP.INFO_DRAWER.TITLE' | translate">
<adf-info-drawer-tab [label]="'APP.INFO_DRAWER.COMMENTS' | translate">
<adf-comments [nodeId]="nodeId"></adf-comments>
</adf-info-drawer-tab>
<adf-info-drawer-tab [label]="'APP.INFO_DRAWER.PROPERTIES' | translate">
<adf-content-metadata-card [node]="node"></adf-content-metadata-card>
</adf-info-drawer-tab>
<adf-info-drawer-tab [label]="'APP.INFO_DRAWER.VERSIONS' | translate">
<mat-card>
<mat-card-content>
<adf-version-manager
[node]="node"
(uploadError)="onUploadError($event)"
>
</adf-version-manager>
</mat-card-content>
</mat-card>
</adf-info-drawer-tab>
</adf-info-drawer>
</ng-template>
<adf-viewer
[nodeId]="nodeId" [overlayMode]="false" [allowGoBack]="true"
(showViewerChange)="onViewerVisibilityChanged()"
>
<adf-viewer-toolbar-actions>
<button mat-icon-button>
<mat-icon>alarm</mat-icon>
</button>
<button mat-icon-button>
<mat-icon>backup</mat-icon>
</button>
<button mat-icon-button>
<mat-icon>bug_report</mat-icon>
</button>
</adf-viewer-toolbar-actions>
<!--
<adf-viewer-extension [supportedExtensions]="['json']">
<ng-template let-urlFileContent="urlFileContent" let-extension="extension">
<h1>JSON VIEWER</h1>
</ng-template>
</adf-viewer-extension>
-->
<!--
<adf-viewer-extension [supportedExtensions]="['png']">
<ng-template>
<h1>PNG Viewer</h1>
</ng-template>
</adf-viewer-extension>
-->
<!--
<adf-viewer-extension [supportedExtensions]="['pdf']">
<ng-template>
<h1>PDF Viewer</h1>
</ng-template>
</adf-viewer-extension>
-->
<!--
<extension-viewer [supportedExtensions]="['obj','3DS']" #extension>
<ng-template let-urlFileContent="urlFileContent" let-extension="extension" >
<threed-viewer [urlFile]="urlFileContent" [extension]="extension" ></threed-viewer>
</ng-template>
</extension-viewer>
-->
</adf-viewer>
</ng-container>
"component": {
"selector": "check-list",
"startValue": {"name":"option 1", "value":"value 1"},
"settings": {
"allowUpdateOnChange": true,
"hideDefaultAction": true,
"options": [
{
"name": "option 1",
"value": "value 1"
},
{
"name": "option 2",
"value": "value 2"
}
}
}
type
and field
here? Is there any documentation I should read?
good morning
any idea on how to have this fixed?
Alfresco/alfresco-content-app#2739
is it the proposed solution the right way to use it?
In local instance, by decoding the following token (VUdWeVptOXliV0Z1WTJWVVpYTjBPaXRaYWtOU1lsQklhV0ZaU1hNd2VsSjBPRWN5Uld4UmRIWlJhejA9), we are able to obtain the exact username and password.
We are getting the value after decoding this:
performancetest:Test12345
However, if we decode the username and password in production, we receive a value for the password that is null.
Token:VUdWeVptOXliV0Z1WTJWVVpYTjBPaXRaYWtOU1lsQklhV0ZaU1hNd2VsSjBPRWN5Uld4UmRIWlJhejA9
after decoding this we are getting performancetest:null
Would you kindly suggest how the passwords are concealed?
this.authService.onLogin
.pipe(
filter(() => this.alfrescoApiService.getInstance()?.isEcmLoggedIn()),
take(1),
switchMap(() => this.discoveryApi.getEcmProductInfo()),
)
.subscribe((info: RepositoryInfo) => {
this.discoveryApi.ecmProductInfo$.next(info);
});