Archive for the ‘Visio’ Category

Problem: When adding Visio diagrams, saved as HTML and published as XAML,  to SharePoint you may receive the error: An error has occurred. : CreateFromXaml shown in the screen dump below.

 An error has occurred. : CreateFromXaml

On investigation, it appears that this error occurs when the you mouse over any box containing an ampersand. This, in turn, throws an exception when it tries to load the alternative text/title. 

Solution: To resolve this issue, find the offending ampersand by searching for the Content of the culprit box (remember the “&” will be an “&”) in the data.xml file, which is created as part of the Visio HTML files.  After finding the rogue &

Once found replace the &amp with <![CDATA[&amp;]]>