Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/discount-code/config/config-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module.exports = function configJSON(req) {
workflowApiVersion: '1.1',
metaData: {
// the location of our icon file
icon: `images/icon.svg`,
category: 'customer'
icon: `images/icon.png`,
category: 'message'
},
// For Custom Activity this must say, "REST"
type: 'REST',
Expand Down Expand Up @@ -50,7 +50,7 @@ module.exports = function configJSON(req) {
userInterfaces: {
configurationSupportsReadOnlyMode : true,
configInspector: {
size: 'scm-lg',
size: 'medium',
emptyIframe: true
}
},
Expand Down
2 changes: 2 additions & 0 deletions modules/discount-code/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@
<button id="done" disabled type="button" class="slds-button slds-button_brand slds-m-right--medium">Done</button>
</div>
<script type="text/javascript" src="dist/discount-code-activity.js"></script>
<script src = "postmonger.js"></script>
<script src = "customActivity.js"></script>
</body>
</html>
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"name": "sfmc-jb-custom-activity-example",
"version": "0.0.1",
"version": "1.0.0",
"engines": {
"node": "6.11.1"
},

"main": "app.js",
"author": "Salesforce Marketing Cloud",
"description": "Journey Builder Custom Activities",
Expand Down Expand Up @@ -33,4 +37,5 @@
"postmonger": "0.0.16",
"serve-static": "^1.12.3"
}

}