Skip to content

Commit 293b9c7

Browse files
TvGesselgitbook-bot
authored andcommitted
GITBOOK-58: Tom's Jan 31 changes
1 parent b7f2b94 commit 293b9c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

13/umbraco-engage/developers/profiling/external-profile-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ When this component is registered a new tab will be rendered in the Profiles sec
2323
To render this External Profile Tab with a custom component, you have to create your component and register it with Umbraco Engage. The following code will show how to do both. Add the below code in a JavaScript file in the `App_Plugins` folder and load it using a `package.manifest` file. If you have your own custom module, you can use this:
2424

2525
```javascript
26-
angular.module("myCustomModule", ["Engage"]);
26+
// angular.module("myCustomModule", ["Engage"]);
2727
// angular.module("umbraco").requires.push("myCustomModule");
2828
// angular.module("myCustomModule").run([ ... ])
2929
// Create a component. We create a component named "myCustomExternalProfileDataComponent" here:
@@ -40,7 +40,7 @@ angular.module("umbraco").component("myCustomExternalProfileDataComponent", {
4040
// Register your custom external profile data component.
4141
// Please note you have to use kebab-case for your component name here
4242
// just like how you would use it in an AngularJS template (i.e. myCustomComponent -> my-custom-component)
43-
angular.module("umbraco").run(["myCustomComponents", function (customComponents) {
43+
angular.module("umbraco").run(["umsCustomComponents", function (customComponents) {
4444
customComponents.profiles.externalProfileData = "my-custom-external-profile-data-component";
4545
}]);
4646
```

0 commit comments

Comments
 (0)