Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Sep 09 2019 16:25
    eromano milestoned #5057
  • Sep 09 2019 14:43
    eromano milestoned #5061
  • Sep 09 2019 11:36
    dhrn closed #5019
  • Sep 08 2019 08:17
    pionnegru milestoned #5063
  • Sep 06 2019 14:16
    aitseitz edited #5062
  • Sep 06 2019 14:11
    aitseitz opened #5062
  • Sep 05 2019 12:27
    dhrn milestoned #5058
  • Sep 05 2019 06:55
    dhrn milestoned #5054
  • Sep 04 2019 19:14
    eromano milestoned #5044
  • Sep 04 2019 16:48
    eromano milestoned #5055
  • Sep 04 2019 16:36
    DenysVuika labeled #5050
  • Sep 04 2019 13:57
    eromano milestoned #5030
  • Sep 04 2019 07:36
    pionnegru milestoned #5051
  • Sep 04 2019 06:31
    loictrichaud opened #5050
  • Sep 03 2019 14:11
    eromano milestoned #5046
  • Sep 03 2019 10:10
    eromano milestoned #4996
  • Sep 03 2019 07:56
    pionnegru milestoned #5045
  • Sep 02 2019 06:48
    pionnegru milestoned #5040
  • Sep 01 2019 09:03
    eromano milestoned #415
  • Aug 31 2019 03:24
    silverskyvicto edited #5039
I got an error message:
How can I use the AlfrescoApi properly?
With ADF 4.8, up to what version of Angular can we upgrade ? angular v10, v11, v12, v13 ?
@loictrichaud looks like it's still v10, though PeerDependencies seem to allow to go v13 ("@angular/common": ">=10.0.2").
We have an internal test application, where I will upgrade this week, and I will test to see if it's possible to go to Angular v13, though I fear it will cause some issues
1 reply
vijay bhosale
I am using ADF 3.9 - adf-viewer component to show my pdf files, and for some reason I am getting labels rather than actual text on the toolbar which looks something like above
any help would be appreciated
Where can I find most updated/ workable ADW extending tutorials/documentation?
How to retrieve node id inside a Data Column Component?
I'm running alfresco community 6.2 with docker container.
Any body know how to install watermark and ocr add on for my alfresco ?
Please help me.
is there a channel for alfresco-js-api?
I am trying to do import { ActivitiAlfrescoContentService } from '@alfresco/adf-core'; from this page https://www.alfresco.com/abn/adf/docs/core/services/activiti-alfresco.service/
But it is said that ActivitiAlfrescoContentService is not a member of @alfresco/adf-core
Can you try ActivitiContentService ?
1 reply
Is there any way to use the same service instantiation SearchQueryBuilderService in a lazy loaded module ? When i'm trying to use the adf-search-filter in my app, no problem, I can use facets but when I am in my module, no interaction, I think my module use another instantiation. I tried many option but can't see any solution...
How to get current node id's in ADF document list component? Thanks in advance.
1 reply
Hi, what is min version of APS when using ADF? after upgrading ADF to 4.8.0, the dropdown field using rest url to get options will use ID property & Label property as form field value to complete or save the form. In preview ADF version (I was using 4.0), it will use id & name, like {id: '', name: ''}. Here is source code I just copy from ADF 4.8.0 lib
    private setFormFieldValueOption(option: FormFieldOption ) {
        if (this.optionType === 'rest' && !!this.restUrl) {
            const restEntry = {};
            const restIdProperty = this.restIdProperty || 'id';
            const restLabelProperty = this.restLabelProperty || 'name';
            restEntry[restIdProperty] = option.id;
            restEntry[restLabelProperty] = option.name;
            this.form.values[this.id] = restEntry;
        } else {
            this.form.values[this.id] = option;

Regarding the version compatibility

What is ADF version compatibility when it comes to Process Services v2 and Content Services v7


I see there is a PR in progress

any tentative date for Angular v13 upgrade?

Hello - I'm interested in building the ADF, library perhaps with some modifications for a very specific use case, and then using the library in an ADF application. Is there any documentation for how to do this? Cheers
Klissda Pononsa
I can't use the npm install command
Sanjay Patel
10 replies
Romain Brochot
Hello, I have one question concerning 'adf-viewer'. We have one node that has trouble with the imgpreview. We tried setting [maxRetries] to 1 and there are still 30 attempts in the viewer. We checked the ADF source code and we didnt understand the problem. Also on ACA/ADW, maxRetries is set to 1 in app.config and we have a different behaviour because there are 5 attempts instead of 30. I also tried in latest ADF 4.10 (vanilla, no code modification) with yeoman and same problem.
Could you shed some light on this? I'm not sure if this is a bug or not because of the difference between ADF standalone and ACA.

Hi, Is it possible to inject "AdminGroupsApi" to my component? I am trying to use adminGroupsApi.createNewGroup to add new group to APS.

I have my constructor as
constructor(private adminGroupsApi: AdminGroupsApi, private bpmUserService: BpmUserService)

but when I load the component in browser, I see below error in console..

ERROR Error: Uncaught (in promise): NullInjectorError: R3InjectorError(AppModule)[AdminGroupsApi -> AdminGroupsApi -> AdminGroupsApi]: NullInjectorError: No provider for AdminGroupsApi! NullInjectorError: R3InjectorError(AppModule)[AdminGroupsApi -> AdminGroupsApi -> AdminGroupsApi]: NullInjectorError: No provider for AdminGroupsApi!

2 replies
Sanjay Patel
Tim Donovan
@eromano Is there a roadmap somewhere on the plans to support the newer Angular versions? We're running into issues with clients worried about Angulars LTS policies. (Angular 10 is out of support as of now and 11 is gone this month)

Hi, I am working on configuring ADF for OAUTH. I have below configuration added to my app.config.json file..

"oauth2": {
    "host": "https://ping-federate.company.com",
    "authPath": "/as/token.oauth2",
    "scope": "openid",
    "clientId": "app-oauth",
    "secret": "",
    "implicitFlow": true,
    "silentLogin": true,
    "redirectUri": "/",
    "redirectUriLogout": "/logout"

When I go to my ADF app url http://localhost:4200, it re-directs to below url..

https://ping-federate.company.com/protocol/openid-connect/auth?client_id=app-oauth&redirect_uri=http://localhost:4200/&scope=openid&response_type=id_token token&nonce=aBBC9lM0pY4GlU4AJK5sFl52ykU7hwCHpLjjRwWQ

But team who manages the Ping Federate mentioned ADF should re-direct to below url..

https://ping-federate.company.com/as/authorization.oauth2?client_id=app-oauth&redirect_uri=http://localhost:4200/&scope=openid&response_type=id_token token&nonce=aBBC9lM0pY4GlU4AJK5sFl52ykU7hwCHpLjjRwWQ

Is it possible to configure ADF to generate re-direct URL as above?

Please let me know. Thanks.


I was able to resolve this using authorizationUrl prop. Now it redirects me to Auth login page and after successful login it redirects me back to ADF url...


but I am seeing below error in browser console.

Hi, I am seeing 401 error when user tries to view process diagram. API that fails is activiti-app/app/rest/process-instances/<processId>/model-json. I have BASIC auth configured and everything works except this API. Please share if there is any fix that can help prevent this issue. User also gets logged out from app.
vikash patel

Our ACS 7.2 is working on one server and our ADF application is deployed on another server and I pointed the same ACS server in configurations

app.config.json .
"ecmHost": "http://xxxxxxx:8080",

module.exports = {
"/alfresco": {
"target": "http://xxxxxxx.com:8080",
"secure": false,
"changeOrigin": true

While trying to login using ADF application it's giving CORS error and not allowing to login.

I followed this documentation link to enable cors https://docs.alfresco.com/content-services/community/config/repository/#cors-configuration



Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.

Please help here to solve the issue.

Denys Vuika
You are having a standard CORS issue as backend and frontent are probably running on different servers, that's a browser protections. Note that "proxy.conf.js" works only for local development runs, not a deployed scenarios. In your case the ecmHost should point to localhost, as localhost is proxied to the "xxxx.com:8080"
vikash patel
Thanks @DenysVuika ,
I tried by replacing host with localhost it's still not working.
So do we need to put any jars in tomcat/lib like "enablecors" or using which property we can achieve?
Denys Vuika
For the tomcat, try leaving the default value there {protocol}//{hostname}{:port} for the ecmHost, assuming you have ACS running at /alfresco
vikash patel
ok thanks @DenysVuika let me try I will update you.
vikash patel
This message was deleted
2 replies
vikash patel
Request URL: http://XXXXXXXXX.com/alfresco/api/-default-/public/authentication/versions/1/tickets
Request Method: POST
Status Code: 405 Not Allowed
vikash patel

@DenysVuika thanks, "ecmHost": "{protocol}//{hostname}{:port}",

module.exports = {
"/alfresco": {
"target": "http://xxxxxxxxxxx:8080",
"secure": false,
"changeOrigin": false

it worked.
but when I create the build of this ADF application, it's giving error
when I try to login.

Hello, I have just seen that ADF 4.11.0 has been released. When do you plan to release a 5.0.0 (with Angular upgrade)?
For some time now, you've only been doing fixes on ADF. Why don't you develop new components anymore?
Thanks in advance
1 reply
Denys Vuika
@spark66rc there's many new stuff for ADW, which ADF components do you think are needed? I suggest raising a separate feature request per component
1 reply

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

Hi, I am trying to add "enterprise-viewer" to my ADW app. I have added "enterprise-viewer" component to my project and updated <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?
I also tried to add debug point to enterprise-viewer component ts file ngOnInit, but it does not come to that point.
6 replies
Denys Vuika
we use the following
node: v14.19.0
npm: 6.14.16
once the upgrade to Angular 13/14 is over (work in progress), the node/npm can be the latest, for now it's important to have npm 6

Hi, I am trying to invoke custom ACS API. For that I am using
this.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?

1 reply
Hi, I recently migrated an app from ADF 4.4.0 to ADF 4.11.0 (connected to both an ACS and APS) and since the migration when the login page is accessed, the browser is asking for an APS login because 2 request are made on https://{APS_URL}/activiti-app/api/enterprise/profile and are being answered with 401. Is there any way to disable this?
401 aps.PNG
The requests (even for -me- on ACS) were not sent before with ADF4.4.0