Monday, June 1, 2009

Tip: Don't use "&" in instance.xml when creating a WSP

Here is a small tip for you. If you get a parsing error when deploying a WSP for one of your SharePoint lists and the list has data that uses "&", replace it with "&". to get rid of the error. For example:
<Field Name="IceCream">Ben & Jerry</Field>
List with this data will not deploy. Use the following:
<Field Name="IceCream">Ben &amp; Jerry</Field>

No comments:

Post a Comment