sharepoint-2013

Update SharePoint site title using Java REST API

泄露秘密 提交于 2020-01-14 05:41:07
问题 I am trying to update the SharePoint site title using Java REST API but I am unable to do so. I am able to connect to the SharePoint but I am unable to update the values. I am receiving HTTP/1.1 200 OK which means I have successfully connected to the SharePoint servers. 来源: https://stackoverflow.com/questions/57997256/update-sharepoint-site-title-using-java-rest-api

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

CmisUnauthorizedException: Unauthorized - error using Apache Chemistry library interfacing to Sharepoint 2013

▼魔方 西西 提交于 2020-01-14 03:30:09
问题 I'm having concern connecting to Sharepoint 2013 via CMIS using Apache Chemistry library. I am receiving Unauthorized error , but the credentials (U/P) I used are correct. I used it to login to the Sharepoint Online so it should be working on my code. Hope someone could help me solving this. Thanks! See my code below I am using to create a session to Sharepoint: public Session fillParams() {//define some values for the connection string String rest_base = "http://<server>/sites/_api/web/";

SQL server connecting to SharePoint server

北城以北 提交于 2020-01-11 11:23:10
问题 I wish to connect SQL server 2012 to SharePoint server. This do complete SQL queries..what is the easy way to do so please? I want to download data from a SharePoint table into SQL server table basically. I can only find tutorials connecting SharePoint to SQL server. I want the other way around Happy to do this via SSIS too.. Please help 回答1: There are three options to read from Sharepoint table: (1) Using ODATA Components You can use ODATA Source component to access to the Sharepoint Lists

Add data to Sharepoint 2013 list from Excel with VBA

て烟熏妆下的殇ゞ 提交于 2020-01-06 15:22:50
问题 I have been attempting to add data to a Sharepoint 2013 list from Excel using VBA with no success. I am using as a template the example that is found all over the internet. Sub Add_Item(ListName As String, SharepointUrl As String, ValueVar As String, FieldNameVar As String) Dim objXMLHTTP As MSXML2.XMLHTTP Dim strListNameOrGuid As String Dim strBatchXml As String Dim strSoapBody As String Set objXMLHTTP = New MSXML2.XMLHTTP strListNameOrGuid = ListName 'Add New Item' strBatchXml = "<Batch

Using a Console App to Extract a data from sharepoint list

痴心易碎 提交于 2020-01-06 14:38:27
问题 I have been searching for hours about the best way to do this and all I find is massively conflicting information and im at the point of breaking down. I have a sharepoint 2013 site which naturally has a list on. I wish to connect to this list and extract the information into a data table. shouldn't be that hard should it... So options I have tried, I was originally planning on ssis to pull the information and transform it prior to its final destination. There is a great little adapter

SharePoint Foundation 2013 - Linking CSS files in a site collection

十年热恋 提交于 2020-01-06 09:59:20
问题 I ran into an issue with linking my css files in master page. <SharePoint:CssRegistration ID="StyleSheet1" Name="~sitecollection/_catalogs/masterpage/Resources/css/quack_1200.css" After="corev15.css" runat="server" /> <SharePoint:CssRegistration ID="StyleSheet2" Name="~sitecollection/_catalogs/masterpage/Resources/css/main.css" After="corev15.css" runat="server" /> These files are not being loaded. When I access the console in browser it doesn't show any errors and when I investigate the HTML

SharePoint 'my membership' webpart counters in community site

安稳与你 提交于 2020-01-06 07:24:07
问题 in a SharePoint 2013 community site, there are a bunch of counters under the members list. Unfortunately these fields are readonly. When we programmatically import discussions (via managed API CSOM), the counters are updated. Before importing, we clear the list of discussions and then the counters for each member are not reduced. When manually deleting items, they are reduced :( Can anyone point out how to be able to update the membership webpart statistics via CSOM (or SSOM if needed).

making an App Part On the main page of SharePoint 2013 using Office 365

社会主义新天地 提交于 2020-01-06 03:58:08
问题 I have made An App part using Napa in outlook365 which shows one URL of my external Application which I have made with that the current user name is there as in pic no.1{Devlopement code successfully Made} Now I have made another outlook account in which SharePoint will open through office 365 which will be of End-user.I need to give some rights in such a way when user Open his SharePoint in outlook 365 on Main page the above App part will open with his name and above URL.I need to give some