AnsweredAssumed Answered

How to change contextRoot in ADF

Question asked by janardhanc on Apr 6, 2018
Latest reply on May 8, 2018 by dvuika

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.

Outcomes