From 9f6d228617098409b688662f5b75e2d3c0862afe Mon Sep 17 00:00:00 2001 From: rar4u2 Date: Wed, 4 Aug 2021 19:55:40 +0500 Subject: [PATCH 1/4] demo project Update for my project --- public/config.json | 12 ++++++------ public/js/customActivity.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public/config.json b/public/config.json index 20acd2b1..605c5e23 100755 --- a/public/config.json +++ b/public/config.json @@ -21,7 +21,7 @@ } ], "outArguments": [], - "url": "https://twilio-sfmc.herokuapp.com/journeybuilder/execute", + "url": "https://pushsmsdemo.herokuapp.com/journeybuilder/execute", "verb": "POST", "body": "", "format": "json", @@ -30,9 +30,9 @@ } }, "configurationArguments": { - "applicationExtensionKey": "e962d1d4-8b07-4e76-89be-ecd1f1423b6d", + "applicationExtensionKey": "2b37fe22-3692-4eed-8373-431defacaef1", "save": { - "url": "https://twilio-sfmc.herokuapp.com/save", + "url": "https://pushsmsdemo.herokuapp.com/save", "verb": "POST", "body": "", "format": "json", @@ -40,7 +40,7 @@ "timeout": 2000 }, "publish": { - "url": "https://twilio-sfmc.herokuapp.com/publish", + "url": "https://pushsmsdemo.herokuapp.com/publish", "verb": "POST", "body": "", "format": "json", @@ -48,7 +48,7 @@ "timeout": 2000 }, "validate": { - "url": "https://twilio-sfmc.herokuapp.com/validate", + "url": "https://pushsmsdemo.herokuapp.com/validate", "verb": "POST", "body": "", "format": "json", @@ -56,7 +56,7 @@ "timeout": 2000 }, "stop": { - "url": "https://twilio-sfmc.herokuapp.com/stop", + "url": "https://pushsmsdemo.herokuapp.com/stop", "verb": "POST", "body": "", "format": "json", diff --git a/public/js/customActivity.js b/public/js/customActivity.js index e2448477..617d77d6 100755 --- a/public/js/customActivity.js +++ b/public/js/customActivity.js @@ -100,7 +100,7 @@ define([ "authToken": authToken, "messagingService": messagingService, "body": body, - "to": "{{Contact.Attribute.TwilioV1.TwilioNumber}}" //<----This should map to your data extension name and phone number column + "to": "{{Contact.Attribute.Contacts_with_phone.+16786733382}}" //<----This should map to your data extension name and phone number column }]; payload['metaData'].isConfigured = true; From 2a87c1de22d27b66a2c22bd30bf0f03a94b414dd Mon Sep 17 00:00:00 2001 From: rar4u2 Date: Wed, 4 Aug 2021 23:21:44 +0500 Subject: [PATCH 2/4] Update index.html updated title --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index f024a213..2944b836 100755 --- a/public/index.html +++ b/public/index.html @@ -35,7 +35,7 @@
-

Create a Twilio SMS message:

+

Test Demo For Push SMS Create a Twilio SMS message:

Twilio's Programmable SMS has the features you’ll need to build quickly and scale to production. We’ve solved the hard problems so you don’t have to. Learn more about about Twilio SMS here.


From 623ef971a570a5075382ad63c9c4b1a037dc8a8b Mon Sep 17 00:00:00 2001 From: rar4u2 Date: Wed, 4 Aug 2021 23:37:08 +0500 Subject: [PATCH 3/4] hi trying to fix it --- public/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/config.json b/public/config.json index 605c5e23..28645bb6 100755 --- a/public/config.json +++ b/public/config.json @@ -17,7 +17,7 @@ "inArguments": [ { "email": "{{Contact.Default.EmailAddress}}", - "to": "{{Contact.Attribute.TwilioV1.TwilioNumber}}" + "to": "{{Contact.Attribute.Contacts_with_phone.+16786733382}}" } ], "outArguments": [], From 706c62cb9da77c6bad644c8695de8a227d78a893 Mon Sep 17 00:00:00 2001 From: Imran Rahman Date: Wed, 11 Aug 2021 02:49:20 +0100 Subject: [PATCH 4/4] corrected route URLs --- public/config.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/config.json b/public/config.json index 28645bb6..6459a8b1 100755 --- a/public/config.json +++ b/public/config.json @@ -32,7 +32,7 @@ "configurationArguments": { "applicationExtensionKey": "2b37fe22-3692-4eed-8373-431defacaef1", "save": { - "url": "https://pushsmsdemo.herokuapp.com/save", + "url": "https://pushsmsdemo.herokuapp.com/journeybuilder/save", "verb": "POST", "body": "", "format": "json", @@ -40,7 +40,7 @@ "timeout": 2000 }, "publish": { - "url": "https://pushsmsdemo.herokuapp.com/publish", + "url": "https://pushsmsdemo.herokuapp.com/journeybuilder/publish", "verb": "POST", "body": "", "format": "json", @@ -48,7 +48,7 @@ "timeout": 2000 }, "validate": { - "url": "https://pushsmsdemo.herokuapp.com/validate", + "url": "https://pushsmsdemo.herokuapp.com/journeybuilder/validate", "verb": "POST", "body": "", "format": "json",