Monday, April 16, 2012

New line in XPath expression in SharePoint Designer

Recently, while designing Data View Web Part with the help of SharePoint designer I had to concatenate two fields value with a line feed between them.

BTW, it has been my painful experience of putting a line feed in XPath expression.

After a lots of research I found that you can put '
'. So if you have to give a line break between two fields values then your expression would be something like this:
{@field1,'
', @field2}

For detailed solution, refer this link : http://www.infopathdev.com/forums/t/2013.aspx

1 comment: