Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Seth Niemuth 275 posts 397 karma points
    Jul 29, 2010 @ 16:04
    Seth Niemuth
    0

    Courier and related links

    I am trying to get the related links data type work with the new version of courier. 

    I am assuming that I need to use the new xPath in the courier.config file. I currently have this in my courier.config and it is not working:

     <dataType alias="relatedLinks" xPath="/links//*/@link">4848424b-ec2c-45f7-a9aa-712bc703b75e</dataType>

     

    The XML for the node looks like this:

        <node id="4760" version="2b7608c1-04d4-4ea8-b583-4716f93147fc" parentID="4730" level="4" writerID="0" creatorID="0" nodeType="1100" template="0" sortOrder="2" createDate="2010-05-27T12:15:45" updateDate="2010-07-29T14:50:04" nodeName="Test Component" urlName="test-component" writerName="Administrator" creatorName="Administrator" nodeTypeAlias="offerComponent" path="-1,1054,1078,4730,4760">

              <data alias="links">

                <links>

                  <link title="test" link="4849" type="internal" newwindow="0" />

                </links>

              </data>

            </node>

     

    Has anyone got this working, my intuition tells me that my xPath is not correct. 

     

     

  • Seth Niemuth 275 posts 397 karma points
    Aug 04, 2010 @ 14:53
    Seth Niemuth
    0

    Has anyone got related links to work with courier?

  • Seth Niemuth 275 posts 397 karma points
    Aug 05, 2010 @ 15:28
    Seth Niemuth
    0

    Having a play around with it, my xPath needed to be: "/links/*/@link"

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies