in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

Sander's Blog

December 2007 - Posts

  • Showing attachments in a Content Query Webpart

    Not quite that complicated, but I'm it sure can save you (and myself next time) some time.

    To show the attachment paperclip in your CQWP, just add this section to the xsl:template in the ItemStyle.xsl:

    <xsl:choose>
        <xsl:when test="@Attachments='1' or msxsl:string-compare(string(@Attachments),'Yes','','i')=0 or msxsl:string-compare(string(@Attachments),'N0','','i')=0">
            <img src="_layouts/images/attach.gif" border="0" alt="Attachment"></img>
        </xsl:when>
        <xsl:otherwise>
            <!-- message no attachments attached -->
           </xsl:otherwise>
    </xsl:choose>

    Secondly, export the webpart and add the Attachment field to the commonviewfields:

    <property name="CommonViewFields" type="string">Attachments,Attachments;</property> 
  • Passed my first SharePoint MCP exam!!

    This morning I did the 70-630 exam: 'Microsoft Office SharePoint Server 2007, Configuring'.

    Although the specific training for this exam was cancelled last week I've passed! A lot of the questions are in fact pretty logical once you've got some Sharepoint experience. Everything's multiple choice, so determining the options that would definitely be wrong will leave you with a 50-50 change. You'll get 51 questions, ranging from Administrating MOSS 2007, to Excel Services and Search (this is not the complete list!). Just to know; there's no in-depth WSS knowledge needed.

    As preparation I've read Patrick Tisseghems book: Inside Microsoft® Office SharePoint® Server 2007.

    Beside that I've worked through the Transcender and Pass4sure training exams. This combination is more than enough to pass.

    Next exam will be Configuring WSS, after that the 2 development certifications are left.


Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts