cancel
Showing results for 
Search instead for 
Did you mean: 

How to change contextRoot in ADF

janardhanc
Champ on-the-rise
Champ on-the-rise

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 ACCEPTED ANSWER

Yes, both are supported.

View answer in original post

3 REPLIES 3

dvuika
Star Collaborator
Star Collaborator

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.

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.

Yes, both are supported.