Skip to main content

Search

get values from another sharepoint list

Answered

Comments

1 comment

  • m.fostyak

    Hello,

    You are using the correct approach but you just should adjust the expression. 

    The syntactically correct expression is:

    return  [[@Web.GetFirstValueForQuery('Project', '<Where><Eq><FieldRef Name="Title" /><Value Type="Number">[[=([[@SubListCurrentRow.EPFRDetails.PCMU]].toString().substring(0,4))]]</Value></Eq></Where>', 'StrategicPriority')]];

     

    Note: are you sure that the Title field is of type Number?

    Name="Title" /><Value Type="Number"
    0

Please sign in to leave a comment.