registerApp
Registers the application in the translation service.
Required System Actions
None
Usage
BPMTranslationServiceConfig.registerApp(appId,pfx)
Parameters
Parameter
|
Type
|
Description
|
appId
|
String
|
The name of the application, as deployed in Application Development, that contributes the property bundles.
|
pfx
|
String
|
The prefix to be used to access the translation keys. This can be passed as null, which causes it to default to a prefix of 'tcf'.
|
Sample Usage
var yourModule = angular.module("CustomModule", ..
..
yourModule.run(['BPMTranslationServiceConfig',function(BPMTranslationServiceConfig){
BPMTranslationServiceConfig.registerApp("MyCustomApp", null);
}]);
Copyright © Cloud Software Group, Inc. All rights reserved.