Answered X Path expression User name

  • vendredi 3 août 2012 06:51
     
     

    Background - I am creating a data view (merging 3 lists and task list) using SPD 2010

    Problem - I am trying to put a filter condition where Approverfield = [Currentuser]. It is not working in Xpath expression and dataview is not getting filtered


    Gaurav

Toutes les réponses

  • vendredi 3 août 2012 07:27
     
      A du code

    Hi,

    You should try something like this as filter:

    Approverfield = [Me]

    Cheers,

    Dan.


    You can find my blog here: http://developertrack.blogspot.com

  • vendredi 3 août 2012 07:32
     
     

    can't take me. it says invalid expression.


    Gaurav

  • vendredi 3 août 2012 12:51
     
     Traitée

    Finally got the answer bymyself. need to use below XPath expression.

    [contains(normalize-space(@AssignedTo),concat('>',$UserID,'<'))


    Gaurav

    • Marqué comme réponse GauravHP vendredi 3 août 2012 12:51
    •