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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 118 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 46 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 41

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans