alfresco-content-app/projects/adf-office-services-ext
Denys Vuika ddc6f36ab4
Prettier upgrade and e2e type checks (#1522)
* upgrade prettier

* noImplicitAny rule

* fix type

* update tsconfig

* upgrade to 150 print width
2020-07-14 10:03:23 +01:00
..
2020-02-17 19:06:26 +02:00
2019-02-08 15:45:39 +02:00
2019-02-11 16:45:00 +00:00
2020-06-29 17:28:42 +01:00
2019-02-11 16:45:00 +00:00
2019-02-08 15:45:39 +02:00

Alfresco Office Services Extension

An extension module for the Alfresco Content Application that enables "Edit in Microsoft Office" feature.

Integrates with:

  • Context Menus
  • Toolbars
  • Viewer / Open With

Automated Installation

Install the ngi as a global tool:

npm i -g @ngstack/install

In the project root:

ngi @alfresco/adf-office-services-ext --module=extensions

Update app.extensions.json and append a reference to the plugin definition:

{
  "$references": ["aos.plugin.json"]
}

Manual Installation

Install the extension library

npm i @alfresco/adf-office-services-ext

Update the extensions.module.ts and import corresponding module.

import { NgModule } from '@angular/core';
import { AosExtensionModule } from '@alfresco/adf-office-services-ext';

// Main entry point for external extensions only.
// For any application-specific code use CoreExtensionsModule instead.

@NgModule({
  imports: [AosExtensionModule]
})
export class AppExtensionsModule {}

Setup the resource references in the angular.json assets section:

{
  "glob": "**/*.json",
  "input": "node_modules/@alfresco/adf-office-services-ext/assets",
  "output": "./assets/plugins"
}

Update app.extensions.json and append a reference to the plugin definition:

{
  "$references": ["aos.plugin.json"]
}