Hot answers tagged

1

Please use below line to get original size picture. currentUserInfo.photo=getUPValue(xData.responseXML, "ows_EncodedAbsUrl"); Instead of currentUserInfo.photo=getUPValue(xData.responseXML, "PictureURL"); This ows_EncodedAbsUrl will give you the original picture's URL.


1

Please try below mentioned code. You will get the current logged in user's username & department using SPServices <script src="/Scripts/jquery-1.10.2.min.js" type="text/javascript"></script> <script src="/Scripts/jquery.SPServices-2014.02.min.js" type="text/javascript"></script> <script language="javascript" ...


1

One issue I can see is below "<Value Type='Text>11000</Value>" It should be Type='Number'


1

There have to be commas between the value pairs: [ ["EmployeeNumber", $("#tbEmployeeID").val()], ["EmployeeName", $("#tbEmployeeName").val()], ["EmployeeEmail",$("#tbEmployeeEmail").val()] ]


1

This was a typo on my part. I was not putting the ContentType field into the pairs array as an array itself. The right way: pairs.push(['ContentType', this.get('contentTypeIdName')]); The wrong way (and how I was doing it): pairs.push('ContentType', this.get('contentTypeIdName'));



Only top voted, non community-wiki answers of a minimum length are eligible