Tag Info

New answers tagged

0

Have you tried using the webURL: option in you SPServices Call? Try adding that and put your sitecollection URL into this and see if it works. (Taken from the SPServices Documentation) $(document).ready(function() { $().SPServices({ operation: "GetGroupCollectionFromUser", userLoginName: $().SPServices.SPGetCurrentUser(), async: false, ...


0

I have found the error. Let me first explain how I found it: I recreated the scenario found at the project wiki, but without bothering about any extra options, like is this field required, whats the max length of this property and so on. After this I added the code from the linked wiki into the newform.aspx. After calling up this form in the browser I ...


1

Have you tried adding the "parentColumn" option also? This is something I tried a while ago and wrote some comments that may be helpful. //State - County Dropdown list $().SPServices.SPCascadeDropdowns({ relationshipList: "County", //Top List County and States columns relationshipListParentColumn: "Title", //State column in the Top List ...


2

The dataview web part is executed server side, so you can't use jQuery to manipulate the SelectCommand. You would need to remove rows from the DOM with jQuery after the web part has loaded. I would use jQuery to hide the web part initially. Then, make your SPServices call to get the user's Office. Then iterate over each row of the table and if the Office ...


0

Maybe the question needed to be more clear. I could not find certain fields while using jquery ajax to call the lists.asmx and call GetListItems. Apparently, by default, the call fetches fields that are present in the default view of the list. To answer the question: Simply add the fields needed to the default view (AllItems.aspx, in most cases) of the ...


2

Add this to your SPServices call: CAMLQueryOptions: '<QueryOptions><ViewAttributes Scope="Recursive"/></QueryOptions>', So: SP.SOD.executeOrDelayUntilScriptLoaded( 'SP.UserProfiles.js', "~sitecollection/Style%20Library/Scripts/jquery.SPServices-2013.01.min.js"); SP.SOD.executeFunc('SP.js', 'SP.ClientContext'); $(function() { var ...



Top 50 recent answers are included