1 Reply Latest reply: Sep 24, 2012 4:08 AM by Michael Peel-Oracle RSS

    Endeca Pipeline REPLACEMENT string

    952104
      HI

      <EXPRESSION LABEL="" NAME="UPDATE" TYPE="VOID" URL="">
      <EXPRNODE NAME="PROP_NAME" VALUE="NEW_PRODUCT"/>
      <EXPRESSION LABEL="" NAME="REPLACE" TYPE="STRING" URL="">
      <EXPRNODE NAME="TARGET" VALUE="Y"/>
      <EXPRNODE NAME="*REPLACEMENT*" VALUE="N"/>
      <EXPRESSION LABEL="" NAME="IDENTITY" TYPE="PROPERTY" URL="">
      <EXPRNODE NAME="PROP_NAME" VALUE="NEW_PRODUCT"/>
      </EXPRESSION>
      </EXPRESSION>
      </EXPRESSION>
      </EXPRESSION>

      I need to assign a property value for the REPLACEMENT string.. that is "PRODUCT" which is specified below for

      <EXPRESSION LABEL="" NAME="UPDATE" TYPE="VOID" URL="">
      <EXPRNODE NAME="PROP_NAME" VALUE="PRODUCT"/>
      <EXPRESSION LABEL="" NAME="CONCAT" TYPE="STRING" URL="">
      <EXPRESSION LABEL="" NAME="IDENTITY" TYPE="PROPERTY" URL="">
      <EXPRNODE NAME="PROP_NAME" VALUE="PACKAGE_OUTLINE_NAME"/>
      </EXPRESSION>
      <EXPRESSION LABEL="" NAME="CONST" TYPE="STRING" URL="">
      <EXPRNODE NAME="VALUE" VALUE=" - "/>
      </EXPRESSION>
      <EXPRESSION LABEL="" NAME="IDENTITY" TYPE="PROPERTY" URL="">
      <EXPRNODE NAME="PROP_NAME" VALUE="Marketing Outline Description"/>
      </EXPRESSION>
      </EXPRESSION>

      looks like REPLACEMENT accept only CONST string..Can I assign a property value?


      </EXPRESSION>
      </EXPRESSION>
        • 1. Re: Endeca Pipeline REPLACEMENT string
          Michael Peel-Oracle
          Use the UPDATE expression, e.g. something like:

          <EXPRESSION TYPE="VOID" NAME="UPDATE">
          <EXPRNODE NAME="PROP_NAME" VALUE="NEW_PRODUCT"/>
          <EXPRESSION TYPE="PROPERTY" NAME="IDENTITY">
          <EXPRNODE NAME="PROP_NAME" VALUE="PRODUCT"/>
          </EXPRESSION>
          </EXPRESSION>

          Note it would have to appear after the creation of PRODUCT property (assuming this is dynamically created as shown in your example). If you need to make this conditional (i.e. only gets replaced if the value of NEW_PRODUCT is Y), then use an IF expression around it.

          Michael