sharepoint-2013

SharePoint 2013 - Accessing List data through web service from Sharepoint site, getting error 404

限于喜欢 提交于 2019-12-24 16:07:47
问题 I have been trying to get the list data from Sharepoint 2013 Site for many days but no luck. I stuck to the point where I don't know what could be the reason. I have created a Sharepoint 2013 provider Hosted app on the development server. I have a list with data on the azure site (Production) and I am trying to access that data through the web service. Somehow I am able to connect to the service using URLs like "http: //mydomain/sites/sitename/_vti_bin/Lists. asmx" while adding the

Dynamically Loading Project Online Properties via CSOM

不问归期 提交于 2019-12-24 14:40:01
问题 I'm looking at trying to load our projects from project online into a .NET application, while i can load the projects one thing i'm having trouble with is loading all the columns i would like. I know i can specify the columns i want to load using include but i wanted to be able to use a list of columns that could be generated dynamically. It's part of an ETL program that I would like to allow the users to configure the list of columns being brought over into the cache database. Below is what

JSOM dynamicly get two announcements from all lists in all webs

大兔子大兔子 提交于 2019-12-24 12:09:12
问题 Need help with the chaining. The functions work. But async calls make it hard for me to get everything. Help me think right! My thought: Get All Webs recursively (function works) Get all lists from webs and iff announcementlist add to array and pass along Get two items from all announcmentlists and sort by created. Add ALL announcement items into one large array (to be able to sort array later. Heres the code, function getAllWebs(success, error) { var ctx = SP.ClientContext.get_current(); var

Uncaught SyntaxError: Unexpected token p in JSON at position 36

感情迁移 提交于 2019-12-24 06:39:31
问题 I´m populating webpage with sharepoint so I do a json to get data with ajax like these: function completeFleet(data, target, eng) { var items = data.d.results; console.log(items); var prefix = "<div class='row'>"; var sufix = "</div>"; var menu = "<div class='col-md-4'>"; var cat = ""; var spec = ""; var counter = 0; var obj = null; for (item in items) { spec = ""; if (counter == 1) { menu += "</div><div class='col-md-4'>"; counter = 0; } if (eng) { obj = JSON.parse(items[item].Specifications

Upload > 5 MB files to sharepoint 2013 programmatically

北慕城南 提交于 2019-12-24 05:07:25
问题 I am having troubles uploading large files to my sharepoint 2013/office 365 site. I am using Visual Stuidos 2010 and .NET 4.0 I have tried code from these questions: SP2010 Client Object Model 3 MB limit - updating maxReceivedMessageSize doesnt get applied maximum file upload size in sharepoint Upload large files 100mb+ to Sharepoint 2010 via c# Web Service How to download/upload files from/to SharePoint 2013 using CSOM? But nothing is working. So I need a little help. Here is code that I

Creating simple pages for SharePoint-2013 remotely from WPF

百般思念 提交于 2019-12-24 03:55:07
问题 I have no experience working with share point. I have a simple C# WPF application that should connect to SharePoint server and programatically create some pages based on layouts or update existing ones. The sharepoint server is not installed on my machine. I am using SharePoint client dlls locally from C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI The only steps that is done and working is connecting with credentials, getting the list of folders and pages. I

using rich textbox in Sharepoint 2013

邮差的信 提交于 2019-12-24 01:39:12
问题 I want to use a rich textbox in Sharepoint 2013 as seen in the figure below. How can I do that? I have already used the code below. <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <SharePoint:InputFormTextBox ID="RichTextField1" runat="server" TextMode="MultiLine" RichTextMode="FullHtml" Columns="20" Rows="10"/> but I could not get what I need. I got a simple

Add MathJax script to pages in Office 365 Sharepoint

泄露秘密 提交于 2019-12-24 00:59:38
问题 I'm trying to add the Mathjax library to a SharePoint library so that we can use LaTex syntax to add equations. I've seen several methods while searching on the web, but none seems to be working properly with the latest version of MathJax and with the Office 365 version of SharePoint. One solution I found, that works in Chrome but works neither in IE nor in Firefox, is to add the javascript link directly into the master page. I edited seattle.master and added the following: <script type="text

Get all the users based on a specific permission using CSOM in SharePoint 2013

99封情书 提交于 2019-12-23 14:21:57
问题 I want to get the list of all the users who have a particular role/permission on a site. For example, I need the list of users who have edit rights (RoleType=Editor) using .Net CSOM in SharePoint 2013. They can be in any group. I tried many things. However, it seems there isn't a straight forward way to do this. Any ideas? Thanks in adavance. 回答1: You could utilize Web.GetUserEffectivePermissions method to gets the effective permissions that the specified user has within the web site. Example

Get all the users based on a specific permission using CSOM in SharePoint 2013

ぃ、小莉子 提交于 2019-12-23 14:21:14
问题 I want to get the list of all the users who have a particular role/permission on a site. For example, I need the list of users who have edit rights (RoleType=Editor) using .Net CSOM in SharePoint 2013. They can be in any group. I tried many things. However, it seems there isn't a straight forward way to do this. Any ideas? Thanks in adavance. 回答1: You could utilize Web.GetUserEffectivePermissions method to gets the effective permissions that the specified user has within the web site. Example