This article outlines how to shorten an alias in DocumentsCorePack-TemplateDesigner when an error message appears that says: “Alias is longer than 128 characters”
Should you get an error that your alias is longer than 128 characters, please do the following steps.
Please note that the 128 character limitation is not from our side but is a standard limitation from CRM.
Open your relationships by editing them using the pencil symbol and navigate to fetchXML:
In the FetchXML View search for the long alias names that need to be shortened due to the character limitation from Dynamics 365:
Give it a short, descriptive name, only change the alias tag:
Switch back to the Designer View and click OK.
Afterward, it is necessary to reinsert all fields from that relationship.
That’s it! We appreciate your feedback! Please share your thoughts by sending an email to