aiEasyLabel
Details
Prints Mailing Labels - very very cool. Saves you such a lot of time.Â
Other Tools
There are other mailing label tools, some paid, some free, some work with Dymo labels. I tried one that used old S-Controls that didn't work. I think this one is really easy and it's free.Â
Documentation
https://appexchange.salesforce.com/servlet/servlet.FileDownload?file=00P3000000P3R4eEAF
https://appexchange.salesforce.com/servlet/servlet.FileDownload?file=00P3000000P3WGOEA3
Notes
Notes
- Use up as many of the 6 lines you want - it will work it out and only print 3 lines if you only have data in 3 of the fields.Â
- Sort by Postal Code then City so your letters go to the post office in the right order.Â
Great Things
- Does all Avery layouts
- FREE
- Easy to use
Issues
- Only prints to PDF
- Free version only does Contacts
- Address Lines issue - see below.Â
Â
Now, there is a stupidly weird issue with Salesforce. So bizarre it's laughable. https://success.salesforce.com/ideaView?id=08730000000Bq71AAC
Your Street field  is entered as
Level 1
10 Smith Street
In aiEasyLabel that will print as
Level 1 10 Smith Street
That is NOT ideal.Â
Â
I am too much of a perfectionist to let this go.Â
So this lead me on a wild journey with a very weird work around.Â
Even though there are 3 seperate address fields in Salesforce Reports, there is NO WAY to use any regular formula in Salesforce to FIND the linebreak and split the MailingStreet field into two fields.Â
There are many ideas for how to do this with code or Visualforce or CSS. Plus a great idea from Rakesh Gupta for how to do something tricky with Process Builder. But I needed this sorted in a simple formula field.Â
There are some very weird suggestions as to how to get around this issue - the comma's one is a beauty (read ugly).Â
It is really easy to join two fields together with a line break, BTW, but aiEasyLabel does not even recognize line breaks - it prints them asÂ
Field One<br>Field Two
Now, here is the solution I used, thanks to this fab idea on Salesforce StackExchange.Â
Formula Field: Mailing Line 1
Formula
IF( CONTAINS(MailingStreet, MID($Setup.Global__c.CRLF__c,3,1)), LEFT( MailingStreet, FIND(MID($Setup.Global__c.CRLF__c,3,1), MailingStreet) ), MailingStreet )
Â
Formula Field: Mailing Line 2
Formula
IF( CONTAINS(MailingStreet, MID($Setup.Global__c.CRLF__c,3,1)), RIGHT( MailingStreet, LEN(MailingStreet)-LEN(MailingLine1__c)), "" )
Â
Perfect!
Â
Then I set up a few other formulas.
Mailing Name
TEXT(Salutation)+ ' ' + FirstName + ' ' + LastName
Mailing Line 3
(using State and Country Picklists)
MailingCity + " " + TEXT(MailingStateCode) + " " + MailingPostalCode
Mailing Line 4
IF(ISPICKVAL(MailingCountryCode,"AU"),"",MailingCountry)
Â
So, in aiEasyLabel I then added 6 fields.Â
- Mailing Name
- Account Name
- Mailing Line 1
- Mailing Line 2
- Mailing Line 3
- Mailing Line 4
Order By
- Mailing Post Code
- Mailing City
Fabulous!Â
Â
Â
Â
Â
Â
Â
Â
Â