web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Outbound marketing limit on subject line when using script

(0) ShareShare
ReportReport
Posted on by 274
Hi
 
Trying to do a simple if then else statement on an OB Marketing email, but I get a field  exceeds 256 characters error. I'm now having to load all of my subject lines into a contact field and reference them from there - but surely there must be a way to override this error when using scripting in subject line?
 
Thanks
Jon
I have the same question (0)
  • Suggested answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    In order to remove the error notification, you will need to resolve the error by finding the field that reported the error and limiting it to 256 characters or less.
    In my testing, it was able to find the relevant fields very quickly based on the error notification.
     
    Best Regards,
    Dengliang Li
     
  • jwcpc Profile Picture
    274 on at
    Thanks Dengliang - but think you're missing the point.
     
    I know it's the subject line that is causing the error, it's just 256 characters is very restrictive when you want to use scripting. For example it might contain effectively 3 subject lines based on a contact's profile e.g. 

    if x subject line 1 else if y subject line 2 else subject line 3

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 171 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 83

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans