How to change contextRoot in ADF

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

How to change contextRoot in ADF

Jump to solution

Hi, 

ContextRoot is hard coded to 'alfresco' in adf-core. Is there a way to configure a custom context like 'alfresco/demo'?

AlfrescoApiService.prototype.reset = function () {
   this.alfrescoApi = new alfrescoApi({
      provider: this.storage.getItem('AUTH_TYPE'),
      ticketEcm: this.storage.getItem('ticket-ECM'),
      ticketBpm: this.storage.getItem('ticket-BPM'),
      hostEcm: this.appConfig.get('ecmHost'),
      hostBpm: this.appConfig.get('bpmHost'),
      contextRoot: 'alfresco',
      disableCsrf: this.storage.getItem('DISABLE_CSRF') === 'true'
   });
};

Thanks.

1 Solution

Accepted Solutions
Highlighted
Alfresco Employee

Re: How to change contextRoot in ADF

Jump to solution

Yes, both are supported.

View solution in original post

3 Replies
Highlighted
Alfresco Employee

Re: How to change contextRoot in ADF

Jump to solution

This has been fixed couple of days ago and should be available with the upcoming 2.3.0 release. It will be possible to change both APS and ACS context roots via configuration file.

Highlighted
Active Member II

Re: How to change contextRoot in ADF

Jump to solution

Hi Denys,

Denys Vuika

Is this fixed for ACS in 2.3.0? If yes, how can we configure it?

I checked in the Release Note, its mentions for BPM only.

  • [ADF-2609] - Provide a way to change the BPM context

So wanted to confirm with you.

Highlighted
Alfresco Employee

Re: How to change contextRoot in ADF

Jump to solution

Yes, both are supported.

View solution in original post