Differences

This shows you the differences between two versions of the page.

usersideinformation:loadexistingquotes:custom_load_quote_xslt_quote_link [2012/08/17 09:19] (current)
sobradovic created
Line 1: Line 1:
 +====== Custom Load Quote XSLT Transformation - Managing Quote Link ======
  
 +In order to show Quote link in custom existing quotes transformation:
 +
 +1. Replace following part of code:
 +
 +<code xml>
 +  <xsl:template match="/LoadQuote">
 +    <xsl:variable name="sort_by">
 +</code>
 +
 +with this one:
 +
 +<code xml>
 +  <xsl:template match="/LoadQuote">
 +    <div id="dialogMessage" class="mw" style="display: none;"><!-- permission message popup -->
 +      <div class="mw_head">
 +          <a href="" onclick="closePermissionMessage(); return false;">close</a>
 +      </div>
 +      <div style="padding: 40px;">
 +        <label for="" id="lblMessage" class="message" />
 +      </div>
 +    </div>
 +    <div id="overlay" style="display: none;">
 +      <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
 +    </div>
 +    <xsl:variable name="sort_by">
 +</code>
 +
 +2. Replace following part of code inside **<xsl:for-each select=”./Column”>** node: 
 +
 +2a. If there is ScParam part in <xsl:for-each select=”./Column”> node, then replace following part of code: 
 +
 +<code xml>
 + <xsl:otherwise>
 +  <![CDATA[ ]]><xsl:value-of disable-output-escaping="yes" select="." />
 + </xsl:otherwise>
 +</code>
 +
 +with following one:
 +
 +<code xml>
 + <xsl:otherwise>
 +  <xsl:choose>
 +   <xsl:when test="contains(current()/@ColumnName, 'quoteNumber')">
 +    <a href="">
 +     <xsl:attribute name="onclick">
 +      openPermissionMessage(<xsl:value-of disable-output-escaping="yes" select="." />, <xsl:value-of disable-output-escaping="yes" select="$ownerId" />, <xsl:value-of disable-output-escaping="yes" select="$cartId" />); return false;
 +     </xsl:attribute>
 +     <![CDATA[ ]]><xsl:value-of disable-output-escaping="yes" select="." />  
 +    </a> 
 +   </xsl:when>
 +  <xsl:otherwise>
 +   <![CDATA[ ]]><xsl:value-of disable-output-escaping="yes" select="." />  
 +  </xsl:otherwise>
 + </xsl:choose>
 +</xsl:otherwise>
 +</code>
You are here: SAP Sales Cloud CPQ Online HelpUser Side HelpLoad Existing QuotesCustom Load Quote XSLT Transformation - Managing Quote Link