sharepoint

Sharepoint “Could not load file or assembly” “The system cannot find the file specified”

瘦欲@ 提交于 2020-01-14 07:47:07
问题 I have added a reference to a dll (sharpPDF) to my .net project. In the code it has picked up the dll and I can use it. When I deploy by sharepoint webpart i get the following error: Could not load file or assembly 'sharpPDF, Version=1.0.3511.18105, Culture=neutral, PublicKeyToken=f099e668beaaa0f9' or one of its dependencies. The system cannot find the file specified. I am deploying the webapp by using STSDEV. I have tried clearing out C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary

Read site page contents in Sharepoint using CSOM

二次信任 提交于 2020-01-14 06:50:26
问题 In my project I need to store the site pages locally. These pages may be of published or unpublished pages. I have tried with following code but unable to get contents of the page. ClientContext clientcontext = new ClientContext(url); var credentials = new SharePointOnlineCredentials(userid, SecurePass); clientcontext.Credentials = credentials; Web web = clientcontext.Web; clientcontext.Load(web, website => website.Lists); clientcontext.ExecuteQuery(); clientcontext.Load(web, website =>

How can I authenticate SharePoint REST calls from Android App?

社会主义新天地 提交于 2020-01-14 06:39:21
问题 I have a website that is built using SharePoint Foundation 2013.I have a number of list and libraries there. For Example: I need to develop a android application to show the SharePoint List Items/Data. Using the SharePoint 2013 Rest API, We can get the Data form SharePoint. But The problem is the authentication. I'm using Windows NTLM claim based authentication in the SharePoint foundation 2013. How can I authenticate my SharePoint site inside the android application and get the SharePoint

How to enable JSON response for SharePoint 2013 REST APIs onpremise?

蓝咒 提交于 2020-01-14 05:32:24
问题 I am using SharePoint 2013 onprem and online version for integration purpose. While accessing REST APIs for online SharePoint, I was able to use application/json and application/xml as ACCEPT header with no issues. However, while accessing SharePoint 2013 onpremise REST APIs I could use application/xml as ACCEPT header and using application/json throwing below error: GET - http://xxxxxxx:8300/_api/web/ Header - Accept:application/json Response: { "error": { "code": "-1, Microsoft.SharePoint

Not able to call JavaScript function on onClick Event

风流意气都作罢 提交于 2020-01-14 05:26:06
问题 **I have created a custom edit form for a SharePoint online custom list. Where I have created a custom button via which I will start a Workflow. the issue is I am not able to call that function on button click. I have used a single comma also for the function call I have created a custom edit form for a SharePoint online custom list. Where I have created a custom button via which I will start a Workflow. The issue is I am not able to call that function on button click. I have used a single

VBA / .Net download files from password protected website via Windows Security

♀尐吖头ヾ 提交于 2020-01-14 04:42:23
问题 I have a SharePoint test website (Azure SharePoint farm) which contains several image files and some document templates. I want to download the images to my local drive. I anticipate looping through a list of URLs, e.g. http://mySharePointSite/Sites/Images/Image01.png and downloading each in turn. I've tried URLDownloadToFile which works great if I put the images on a regular website but I'm unable to get past Windows Security with this approach. I had a go at creating an InternetExplorer

dynamically creating select elements and populating options from sharepoint list

限于喜欢 提交于 2020-01-14 03:13:36
问题 The code I wrote works, but it could be better. I am writing out the same function three times, one for each of the combo box elements. I am stuck on how to make this more efficient. I have looked at creating an object and putting each of the variables in an array, but I was not able to successfully get it working. var csCategory = <%=csCategoryArray%>, csKeyword = <%=csKeywordArray%>, csEntity = <%=csEntityArray%>; addOption = function (selectbox, text, value) { var optn = document

What event is triggered when a document is saved in a Document Library in SharePoint?

有些话、适合烂在心里 提交于 2020-01-14 03:10:27
问题 We have a document list that contains Excel sheets, the documents that are in the list have to be processed. The processing code is triggered by the EventReceiver. Until know we used the ItemCheckedIn event, but this isn't triggered when the user just saves a document from within Excel. I have tried to use the ItemUpdated event, but that doesn't seem to work either. So I'm wondering whether there is an event that is triggered when a user saves the document from within Excel. 回答1: There are

What event is triggered when a document is saved in a Document Library in SharePoint?

落花浮王杯 提交于 2020-01-14 03:10:11
问题 We have a document list that contains Excel sheets, the documents that are in the list have to be processed. The processing code is triggered by the EventReceiver. Until know we used the ItemCheckedIn event, but this isn't triggered when the user just saves a document from within Excel. I have tried to use the ItemUpdated event, but that doesn't seem to work either. So I'm wondering whether there is an event that is triggered when a user saves the document from within Excel. 回答1: There are

OneDrive API Python SDK - points to login.live.com not mydomain.sharepoint.com

坚强是说给别人听的谎言 提交于 2020-01-13 19:49:29
问题 I am trying to use the OneDrive API Python SDK to upload files to an Office 365 E3 account SharePoint folder. As described for OneDrive for business / SharePoint files I am using Azure AD that is included in my Office 365 E3 account for auth and have created a native client application app in Azure AD management. I would expect that I need to point auth to Office 365: mydomain.sharepoint.com However, it appears the OneDrive API Python SDK (auth_provider.py) points auth to: AUTH_SERVER_URL =