Quantcast
Viewing all articles
Browse latest Browse all 6517

Edited Issue: SPGetCurrentUser returns wrong data when fieldname setup is incorrect [10175]

__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: "domain\myusername", 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>