Thursday, December 17, 2015

Sitecore walkthrough of Email Experience Manager templates

Templates for Sitecore's Email Experience Manager (EXM) are a different process than a standard page layout. However once implemented they have the standard placeholder which can then hold sublayouts/renderings which can then use your existing controls and data!

One note is that email HTML generally has some different requirements than a standard page to ensure it loads correctly in all mail clients (outlook for example). You will need to do some research, but generally all css classes should be inline (not external files) and you should use tables over div elements...

Friday, December 4, 2015

TDS error - maximum message size quota for incoming messages

While syncing media items for a project using Team Development for Sitecore in Visual Studio, I came across the following error:
Exception The maximum message size quota for incoming messages (16000000) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.
 This error occurs when large content (file size) is being brought into the source control solution. The fix is to open the file located at: C:\Program Files (x86)\Hedgehog Development\Team Development for Sitecore\HedgehogDevelopment.SitecoreProject.VSIP.dll.config and then modify the maxBufferSize attribute.

This may also lead to the error:
Exception For TransferMode.Buffered, MaxReceivedMessageSize and MaxBufferSize must be the same value.
 So the maxReceivedMessageSize attribute also needs to be changed to match the value of the maxBufferSize attribute.

And finally when syncing the offending item (large file size), the following error will occur:
Exception The maximum array length quota (16000000) has been exceeded while reading XML data.


Which means that the maxArrayLength attribute also needs to match the other variables.