- Code to retrieve list items, if run under elevated block(SPSecurity.RunWithElevatedPreviliges) it always returns list items that are only checked in but not checked out.
- To know the current style for a summary link webpart use attribute @Style
- How to check if the page is in edit mode in XSLT in summary link webpart?
Declare the below namespace and the parameter.
xmlns:slwp="urn:schemas-microsoft-com:SummaryLinkWebPart"
use <xsl:if test="$slw_iseditmode='True'">
- Cancel approval do not update the status of the item from pending to draft when the workflow is a custom designed using Sharepoint Designer(SPD). In other cases(OOTB page approval or Visual Studio workflow) it works.