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 am trying to build a component that renders the structure of sites and subsites for a sharepoint site collection, and using the code from here   This code is great but, unfortunately for case, it returns all sites one after the other without hierar...
My App reads the SharePoint Term Store and need to get the label associated with the user's language. I get the user's language and lcid, and then I read all the terms under a certain node in the taxonomy using this code:  ... some code to ge...
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 filtered a lookup field by current user id and status using "SP.js CSOM SP.ClientContext" and it was successful in filtering the lookup. But trying to save gave an error "Sorry, Something went wrong", with a correlation ID "9b40...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.