Alfresco Angular components ( Documentation -> https://alfresco.github.io/adf-component-catalog )
ADF app with a multi environment setting on k8s
Hi, is there a hook to customize app.config.json file before it's loaded?
I'm trying to customize the identity provider URL based on a Helm chart value on k8s.
I'm able to change the oauth2 value on the AlfrescoApiConfig but those changes does NOT take effect, it seems that I need to do it "before".
Only the hardcoded values from app.config.json are taking into account.
Any suggestions on how to customize this file to run it on a k8s multi-env?
Thanks in advance!
CC: @DenysVuika, @eromano
<adf-viewer>
with <adf-viewer-extension>
with supportedExtensions as pdf,mp4
. But still when I open the content preview it loads the default viewer and not the enterprise-viewer. Is enterprise-viewer supported for ADW?Hi, I am trying to invoke custom ACS API. For that I am usingthis.alfrescoApiService.getInstance()
.contentClient
.callCustomApi
my ADF app is running on http://project-app.comp.com and ACS is running on http://project.comp.com
Above code invokes API on http://project-app.comp.com/alfresco instead of http://project.comp.com/alfresco.
Which service should I use to invoke custom ACS api so it points to correct hostname?
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?