New answers tagged

1

You will have to call SPAutocomplete separately for each column. $().SPServices.SPAutocomplete({ sourceList: "My list", sourceColumn: "Email", columnName: "user1", ignoreCase: true, numChars: 3, slideDownSpeed: 1000, debug: true }); $().SPServices.SPAutocomplete({ sourceList: "My list", sourceColumn: "Email", ...


0

In this link, it has SharePoint 2010 illustration, but it will give you good reference. Please refer this link: http://sharepointkings.blogspot.in/2011/05/include-image-in-sharepoint-survey.html


0

I solved it. This can be achieved in 2 ways: $(document).ready(function() { var soapEnv = "<?xml version='1.0' encoding='utf-8'?> \ <soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'> \ <soap:Body> ...


1

This code is of retrieving user properties of current logged in user. you can read more in this article of how to modify the below code to obtain what you need. (function($){ $(document).ready(function(){ // Ensure that the SP.UserProfiles.js file is loaded before the custom code runs. SP.SOD.executeOrDelayUntilScriptLoaded(loadUserData, ...


0

Looks like it need the ?Web=1. have added to the link


1

This code is the basic implementation of LoadSodByKey, this is the best implementation of the function as it has the override to allow you to have a callback for when the script is loaded. After jquery is loaded, the anonymous function will write "Hello World" to the console <script type="text/javascript"> LoadSodByKey("js/jquery-1.9.0.min.js", ...


0

Try this code: $(document).ready(function() { $().SPServices({ operation: "GetListItems", async: false, listName: "State", /*CAMLViewFields: "<ViewFields><FieldRef Name='Title' /></ViewFields>",*/ completefunc: function (xData, Status) { var output = ""; $(xData....


0

The answer provided by Ahmed Mahmoud is not wrong (and should perhaps be marked accepted), calling set_welcomePage on SPWeb RootFolder is the correct approach. But the provided examples doesn't run, so I have decided to provide a couple of alternative code examples. Note, they use features from ES6, and the variable subWeb refer to server-relative or ...


1

It will not work as it is already mentioned in Codeplex comments & there is no solution mentioned over there as well. You need to make standard ajax call but it will give you XML with having all user's information in it using below code (As you required SPUser so i cleared the output). $.ajax({ url: "/_api/lists/getbytitle('User Information List')/...


1

The solution that Erin is fully explained in this blog post. It is using the SPServices to query the Picture Library and Bootstrap Carousel to render. The other option that I used in a very recent project was the solution provided in Sharegate web site and I do think it is a more robust solution since it is using Content Search Web part with a custom display ...



Top 50 recent answers are included