Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Hot answers tagged

5

You can't track outbound links from Cloud Pages, as they are not being redirected through the tracker domain, unlike links from emails. If you want, you can create a custom solution, where you will build your own redirect setup: Build a cloud page which will automatically redirect based on a url provided as requestparameter This cloud page should upsert ...


4

You would need to explicitly state the comparison again for proper syntax. So it would need to be: domain(Email) == "noemail.com" OR domain(Email) == "test.com"


3

Take a look at the function lookup. You have a mistake at the stuff you are searching for. It cannot be Surname unless its being a value of the subscriber table. But even then i would write it differently %%[ var @surname set @surname = lookup('test_DE_name','Surname','SearchingColumn',"ValueYouWantToSearchFor" ) ]%% %%=v(@surname)=%% I guess you ...


2

OK, I found it. You have set a @SubKey, while in the function you used @skey. Try this: %%[ VAR @SubKey, @EmailAddress, @language SET @EmailAddress = emailaddr SET @SubKey = _subscriberkey SET @language = Lookup("Account_Salesforce","Language__pc","PersonContactId",@SubKey) ]%%


2

I am not sure if you missed a "not" before "working". I make the assumption that it is not working. First and foremost, the Lookup function takes 4 parameters, not 3. https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-programmatic-content.meta/mc-programmatic-content/lookup.htm %%[ var @surname set @surname = lookup('test_DE_name','Column to ...


1

There is Discover Reporting where you can filter on Email Name and use a contains operand. You could also leverage the Data Views, and join on _job dataview, then you could leverage an where clause on emailname field. You can use the query in this post as an starting example: Query Activity to Return Number of Opens and/or Number of Clicks


1

lightning-output-field, in the end, gets translated into hyperlink of type email. <a href = "mailto:abc@example.com?subject = Feedback&body = Message"> And its the browser that opens up in default email client. In your case outlook. The only way to call the standard Salesforce Send Email is to use Aura's quick action API. One solution I can ...


1

The domain or subdomain (email.company.com) used for the Sender Authentication Package needs to be exclusively used for Marketing Cloud only. You have to delegate the DNS entries to ExactTarget mail servers. In your case, you have two options that I can think of: Add john.doe as a Sender Profile and send from SFMC with john.doe@email.company.com Communicate ...


1

Because it's null. The variable is declared here: String messageToSend; At declaration time, it's initialized to null. It's then shadowed in a for loop: for(AggregateResult aggr: AggregateResultList){ String messageToSend = 'Account name: ' + aggr.get('name') + ' has ' + (Integer)aggr.get('co') + ' cases opened in the last 8 days.'; ...


1

Your problem is with this line message.PlainTextBody = 'Account name: ' + cl.get('name') + ' has ' + (Integer)cl.get('co') + ' cases opened in the last 8 days.'; Specifically: cl is defined of type Case cl.get('name') // no such field Name on Case. Consult your schema for valid OOTB field names. Case happens to be one of the Sobjects that does not ...


1

Try wrapping each of your Ampscript in HTML comments. For example, replacing: %%[ your ampscript ]%% with <!-- %%[ your ampscript ]%% --> Generally this keeps it in place better. The SFMC WYSIWYG editor can do some strange stuff at times. It's not clear where you are doing the editing here, but in my experience using the 'free form' content block ...


1

the issue is message.toAddresses = new String[] { getAddresses() }; should be message.toAddresses = getAddresses(); // returns a list of email addrs


1

I'm not aware of a way to do this with the standard "send email" on case as you have no access to that email before it actually sends out. I've done this type of thing before, but I had a custom lightning component that users used to send emails from cases on which gave me complete control of the email before I sent it out in the code. This obviously adds ...


1

Bookmark this - it will become your best friend https://help.salesforce.com/articleView?id=mc_as_data_views.htm&type=5 Marketing Cloud uses Data Views to store information about events that have to do with email. These views are kept for a soft 90-ish days before the tracking is archived on their side (depends on how much you send and to how many users =...


1

Not 100% sure what your setup is in Salesforce. But in the views, if you need tracking on the individual email level, the views are based on SubscriberID, JobID, BatchID, and ListID (this is not an ID for a listlist, but its another field in the view that happens to be called listID) If you inner join or update your object in Salesforce based on these four ...


Only top voted, non community-wiki answers of a minimum length are eligible