I'm trying to pull username information from the SharePoint User Profile Web service. I can connect to the web service and get the information but the formula is not behaving. I've come up with
"concat(Value[Name = "FirstName"], Value[Name = "LastName"],)"
It gives me this error:
Expected value type: end-of-string
Actual value: name
"concat(xdXDocument:GetDOM("-->GetUserProfileByName<--")/dfs:myFields/dfs:dataFields/tns:GetUserProfileByNameResponse/tns:GetUserProfileByNameResult/tns:PropertyData/tns:Values/tns:ValueData/tns:Value[../../../tns:Name = "FirstName"], xdXDocument:GetDOM("GetUserProfileByName")/dfs:myFields/dfs:dataFields/tns:GetUserProfileByNameResponse/tns:GetUserProfileByNameResult/tns:PropertyData/tns:Values/tns:ValueData/tns:Value[../../../tns:Name = "LastName"],)"
Are both FirstName and LastName in GetUserProfile?