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

How to Dynamically Use Parameter in CloudPageUrl From DataExtention?

$
0
0

I have a email template from wher we have a custom link for a cloud page(Unsubscribe Page). We are using cloudpageUrl() function to open a cloud page and page value to it. It works fine when we just pass a value like :- %%=RedirectTo(CloudPagesURL(1623))=%%

And when we pass a hardcore value in the Parameters, then Also it works well, like :- %%=RedirectTo(CloudPagesURL(3961,'ObjId','abcd'))=%%

but when we pass a dynamic value from the DataExtention to which this email is sent then it shows an error and the method is :-%%=RedirectTo(CloudPagesURL(6238,'ObjId',%%Id%%))=%% ,

where ObjId is the parameter name and %%Id%% is one of the property from Data Extention.

How can we resolve this and pass a dynamic value to the cloudpage from the DataExtention and what wrong are we doing here?


Viewing all articles
Browse latest Browse all 594

Latest Images

Trending Articles



Latest Images