When I display my custom fields - I get a column of (blank)

Oct 22, 2008 at 6:26 PM
has anybody else come across this ?  -I add in my extra fields in the commonviewfields and then I get a column of (blank)
I actually get the same thing in the cqwp - so I guess it's not really an eqcwp issue - but I thought others working with this webpart might have some across it before


Sep 18, 2009 at 10:08 PM

Hi,

i donno if this might be your issue but just wna to let you know,  if you are using this for discussion boads and see (blank) items in you columns then it is because you have to select "Folder Content Type" in the Query property where it says Content Type and Discussions as the sub category..

Apr 21, 2010 at 2:29 PM
Edited Apr 21, 2010 at 2:31 PM
This is how to do it:
1. In the Common View Fields you enter a "semi collon" separated list of internal field names without any field datatype information as you may have seen on CQWP related pages (!!!as you can see special characters as space or your language specific characters must be escaped!!!)
example: Velja_x0020_od_x0020_dne;Podro_x010d_je
2. In the .xslt file add header td cells and row td cells:
example of row td cells (!!! NOTICE THE ADDITIONAL _x005F characters!!!):
<td>
<xsl:value-of disable-output-escaping="no" select="ddwrt:FormatDate(string(@Velja_x005F_x0020_od_x005F_x0020_dne), 3081, 5)" />
</td>
<td>
<xsl:value-of disable-output-escaping="no" select="@Podro_x005F_x010d_je" />
</td>