Copied to clipboard

Flag this post as spam?

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


  • Kevin Lawrence 183 posts 349 karma points
    May 24, 2013 @ 13:04
    Kevin Lawrence
    0

    6.0.5 - Find Node by property value

    Hi,

    I'm importing some content and I'm trying to utilise uQuery.GetNodesByXPath, I have a property called legacyId and it always returns 0 results.

    I've tried the following:

    uQuery.GetNodesByXPath("//*[string(./data [@alias='legacyId']) = '695']

    I've also tried other variations of the XPath but it always returns 0.

    Am I doing something wrong?  All my nodes are published and contain these property values.

    Thanks

  • 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