Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Add 3 fields in 1 custom field for a content query web part

$
0
0

Hello and thank you in advance. Is there a way to add 3 different fields as 1 custom field in a content query web part? Please keep in mind I cannot do this using a calculated field since i am in SharePoint online. Thanks in advance!
For example: i have 3 fields Last Amended date, Previous amended date, and previous amended date 2. I have then created a custom a custom field in the Content Query web part for Last Amended Date. However, i need all three of them to lay on top of each of as a list: 

Last Amended date

Previous amended date

Previous amended date 2

Here is an example of the form, my code, and the current content query web part. (in red is what i would like it to look like)

<!--Adam Add Amended Field--><td width="120px"><div class="description_Amend"><xsl:value-of select="ddwrt:FormatDateTime(string(@lastamendeddate),1033,'MMM d, yyyy')" /></div></td><!--Adam Add Amended Field-->

Any help would be greatly appreciated, thank you!


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>