I have a SharePoint calendar list, and I'm looking for a script to retrieve the number of events on a day. For example, for today, 10 August, I want to just retrieve the number of events stored in my calendar.  Any suggestion will be very helpful...
I'm new to CSOM (I've used SPServices up to this point), and I'm trying to learn the basics to getting list items. I have a list with lots of columns, several of which are lookups to other lists. When I try to get and print out one of the...
I have an MVC application deployed to Azure which was created as a SharePoint App Part (Provider-Hosted) for a SharePoint Online site.  All Client ID and Secret ID are set correctly within SharePoint site and the Azure web Application.   The App does...
I'm trying to figure of the best--or really any working way-- to store key/value pairs in a SharePoint hosted app. The pairs need to:   Be loaded on start up, if the settings exist, otherwise use defaults. Be created on demand--i.e. a user can ad...
Can anyone help me to get the user info from a person column using javascript? So far I have been able to read the list item and return a SP.FieldUserValue from which I can get a numeric Id (not sure what this ID is) and the display name. e.g.  var M...
I would like to make use of the jQuery $.Deferred/promise functionality together with the SharePoint JavaScript API.  Here is an example of what I am trying to achieve.  function getCachedSearches() {     var dfd = $.Deferred(function () {         va...
I am creating an App for SharePoint Online and I have a question: How can I insert a list item (audio file) in a SharePoint asset library using CSOM with JavaScript? is that possible?  Thanks...
I'm trying to retrieve list items Title  to insert it into a div section in my SharePoint home page, I've found this code which retrieve item URL.  it works just fine.  var clientContext = SP.ClientContext.get_current(); var list = clientCont...
I have a list in SharePoint Online that has a custom HTML form. The form has the following structure:  Country:  Color:  Type:  (These are in a table/gridview and are repeatable/many) Name:    Lastname:   Gender:   Age:  My goal is to have up to 40 r...
I am trying to get all of the available App Parts for a SharePoint page using Javascript, how would I go about doing this?    I have tried to use a LimitedWebPartManager to get all of the apps, but it only picks up 1 application.      function loadWe...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.