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

New Post: Limitations of SPServices

$
0
0
Hi

I am getting a similar issue with sp2010 portal, patched to Feb 13 CU



In my custom master page
<SharePoint:ScriptLink language="javascript" name="~sitecollection/Style Library/Scripts/jquery-1.8.2.min.js" Defer="false" runat="server"/>

<SharePoint:ScriptLink language="javascript" name="~sitecollection/Style Library/Scripts/jquery.SPServices-0.7.2.min.js" Defer="false" runat="server"/>
    
                    
var thisCurrentUserTitle = $().SPServices.SPGetCurrentUser({fieldName: "Title",debug: false});
                                                        
var thisFirstName = $().SPServices.SPGetCurrentUser({fieldName: "FirstName",debug: false});
                            
var thisLastName = $().SPServices.SPGetCurrentUser({fieldName: "LastName",debug: false);
<div id="MyServices-Box-Header-User-Name-Large"><script type="text/javascript"> document.write( thisCurrentUserTitle  );</script></div>
<div id="MyServices-Box-Header-User-Name-Large"><script type="text/javascript"> document.write( thisFirstName  );</script></div>

<div id="MyServices-Box-Header-User-Name-Small"><script type="text/javascript"> document.write( thisLastName  );</script></div>              
                        
Users added to portal via an Domain Users AD Group.

access my new portal and only the Title field (for debug purposes)_ is shown. The other fields seem to appear later on or after a reboot. when a new user accesses the system.._. wierd eh! Just been around the IT dept getting people to logon and access the portal -via IE 9 the outcome is how I have described

Daniel

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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