Sixteen steps that will definitely save you a lot of time if you’re working with workflows, especially the more complex ones.

Saved me a lot of trouble at work, I had to clone a list along with all of it’s workflows to another site.

Saving the list as template helped me move everything (including all of the custom made forms!), while the workaround below made it possible to simply import the workflows I had in place into the new list!

Click here to see the step by step tutorial.

You can already find this process on other sites around the web, but it was only in a comment I found out that this only works with default forms (and not with custom made forms created by you). This is why you need to edit NewForm.aspx, DispForm.aspx or EditForm.aspx.

Also, to be able to use this you must be a Site Collection administrator.

This is done using prototype.js and SPUtility.

Click here to see the code.

To test only one condition, <xsl:if></xsl:if> is used.

<xsl:if test="price > 10">
    <tr>
        <td><xsl:value-of select="title"/></td>
        <td><xsl:value-of select="artist"/></td>
    </tr>
</xsl:if>

To express multiple conditional tests you should use a combination of <xsl:choose> and <xsl:when>.

<xsl:choose>
    <xsl:when test="price>'10'">
        <td bgcolor="#ff00ff">
            <xsl:value-of select="artist"/>
        </td>
    </xsl:when>
    <xsl:otherwise>
        <td>
            <xsl:value-of select="artist"/>
        </td>
    </xsl:otherwise>
</xsl:choose>

All you have to do is select the field you want to display as link and then change the code from:

<xsl:value-of select="@VariableName"></xsl:value-of>

to

<xsl:value-of select="@VariableName" display-output-escaping="yes"></xsl:value-of>

This works in SharePoint 2010, if you’re on 2013 you should use the following (notice the closing tag):

<xsl:value-of select="@AssignedTo" disable-output-escaping="yes" />

Thanks to Ryan Tate for pointing it out.