alfresco-ng2-components/docs/core/host-settings.component.md
Andy Stark a7cdcbf7b9 [ADF-3551] Doc review updates (#3789)
* [ADF-3551] Updated docs plus minor ToC tool fix

* [ADF-3551] Updated docs and JSDocs

* [ADF-3551] Updated docs and JSDocs
2018-09-13 18:08:47 +01:00

1.6 KiB

Added, Status, Last reviewed
Added Status Last reviewed
v2.0.0 Internal 2018-09-13

Host settings component

Validates the URLs for ACS and APS and saves them in the user's local storage

Note: this is an internal component and is not meant to be used in production.

Host settings

Basic Usage

<adf-host-settings>
</adf-host-settings>
@NgModule({
 providers: [
        { provide: AppConfigService, useClass: DebugAppConfigService },
    ]
)]

Class members

Properties

Name Type Default value Description
providers string[] Tells the component which provider options are available. Possible valid values are "ECM" (Content), "BPM" (Process) , "ALL" (Content and Process), 'OAUTH2' SSO.

Events

Name Type Description
bpmHostChange EventEmitter<string> (Deprecated: in 2.4.0) Emitted when the bpm host URL is changed.
cancel EventEmitter<boolean> Emitted when the user cancels the changes.
ecmHostChange EventEmitter<string> (Deprecated: in 2.4.0) Emitted when the ecm host URL is changed.
error EventEmitter<string> Emitted when the URL is invalid.
success EventEmitter<boolean> Emitted when the changes are successfully applied.