We are working on implementing APP Inbox messages. When we create an Inbox message in MobilePush studio it generates a CloudPage URL. I am looking for editing this auto-generated CloudPage URL to include a Data Extension column name passing it as a string parameter.
For example, the URL generated is
https://pub.sX.exacttarget.com/XXXXXXXXX/ and I want to pass a DE column called InsertDate in the URL as a parameter.
I have tried it like this
And then in my CloudPage I am using Ampscript to get this value:
%%[ SET @passeddate = Requestparameter("date") SET @AccountBalance = Lookup("DEName", "DEColumn", "Lookupcolumn", Lookypvalue) ]%% Account Balance on %%=v(@passeddate)=%% is %%=v(@AccountBalance)=%%
The problem is when I trigger this Inbox message, I get the message in my APP inbox where the URL is being shown as
and when I tap on it within the Inbox, the message displayed is Account Balance on is
$xx.xx whereas I am expecting the message to be
Account Balance on "date(whatever date is in the data extension)" is $xx.xx
Looking for suggestions to get the correct value from DE.