1
Vote

MultiSelectValueCheck Template not returning value

description

The SPXSLT template MultiSelectValueCheck not returning the value 0 or 1. I have fixed this please find the attached template for your reference.

file attachments

comments

sympmarc wrote Dec 28, 2010 at 2:41 PM

jayakumar39: I realize that it's been a really long time since you posted this issue, and I apologize for the delayed response. I just tested the template as I originally wrote it and it works for me. Here's the call:
<xsl:call-template name="MultiSelectValueCheck">
<xsl:with-param name="MultiSelectColumn" select="@City"/>
<xsl:with-param name="CheckValue" select="'Barre'"/>
<xsl:with-param name="Delimiter" select="';'"/>
<xsl:with-param name="ReturnTrue" select="1"/>
<xsl:with-param name="ReturnFalse" select="0"/>
</xsl:call-template>
In this case, the City column in a multiselect lookup column. I have column values which contain Barre and which don't, and I get the right return values for all of them. Can you post what specific call you had problems with if you still have it around?

Thanks, M.

wrote Feb 21, 2013 at 11:47 PM