Quantcast
Channel: Active questions tagged ampscript - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 359

Retrieve Mobile List attribute using ampscript in Mobile Push Message

$
0
0

I'm trying to retrieve Mobile List attribute using ampscript in Mobile Push Message and trying to insert a row based on that information in Data Extension.

But when I try to send message, it gets failed. Below code I'm using in Mobile Push Outbound message.

%%[var @ContactKey = AttributeValue("Contact Key")var @MobileNumber = AttributeValue("Mobile Number")var @DeviceID = AttributeValue("Device ID")var @Source = AttributeValue("Source")var @Channel = AttributeValue("Channel")set @insert= InsertData('POC_Geofence', 'ContactKey', @ContactKey, 'MobileNumber', @MobileNumber, 'DeviceID', @DeviceID, 'Source', @Source, 'Channel', @Channel, 'Geofence', 'False')]%%
Contact Key : %%=v(@ContactKey)=%%

Viewing all articles
Browse latest Browse all 359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>