Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

Created Unassigned: SPGetCurrentUser returns wrong data when fieldname setup is incorrect [10175]

$
0
0
__I used SPGetCurrentUser with the following values:__
currentUser = $().SPServices.SPGetCurrentUser({ fieldName: "Name", fieldNames : ["Name", "Department", "Work phone"], debug: false });
__The JSON that was returned looked like this:__
{Name: "INTHEBOX\stf", Department: "New Department", Work phone: "New Department"}

Instead of an error the department was returned a second time.


Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>