sharepoint

In sharepoint, how to list all webpartzones of a specific page from object model approach?

╄→гoц情女王★ 提交于 2020-01-06 07:33:10
问题 I'm using Sharepoint Object Model and after spending some hours with this problem, it looks like SPLimitedWebPartManager doesn't have the "Zones" property (available in SPWebPartManager). I cannot believe the SPLimitedWebPartManager is able to retrieve all the webparts on a specific page (an SPFile), each one with its respective webpartzone assigned, and not able to retrieve all the webparzones of that file! Any ideas? Thanks in advance! Nuno 回答1: Alas, SPWebPartZone is a bit of a mysterious

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).

When should I use 'view' instead of 'read only' in SharePoint permissions?

大城市里の小女人 提交于 2020-01-06 07:12:48
问题 I'm using SharePoint 2007 and I need to know when/where I should use the 'view' instead of 'read-only' for user permissions. 回答1: Here is a link to a default permission matrix. Read level has only one more permission than View Only So the users with read level can view the source of the aspx pages, but the users with view only permission can only view the result. 来源: https://stackoverflow.com/questions/4071942/when-should-i-use-view-instead-of-read-only-in-sharepoint-permissions

When should I use 'view' instead of 'read only' in SharePoint permissions?

扶醉桌前 提交于 2020-01-06 07:12:45
问题 I'm using SharePoint 2007 and I need to know when/where I should use the 'view' instead of 'read-only' for user permissions. 回答1: Here is a link to a default permission matrix. Read level has only one more permission than View Only So the users with read level can view the source of the aspx pages, but the users with view only permission can only view the result. 来源: https://stackoverflow.com/questions/4071942/when-should-i-use-view-instead-of-read-only-in-sharepoint-permissions

Upload large files to sharepoint server 2013

我的梦境 提交于 2020-01-06 06:03:48
问题 I am trying to upload files ~1GB to sharepoint 2013 on prem, I downloded Microsoft.SharePoint2013.CSOM, and tried with UploadFileSlicePerSlice but there is no such method "StartUpload" (compile error). 回答1: didn't I post the answer to this question here post ? In the same article You posted there is also mentioned the method SaveBinaryDirect which should work for large files and for sure is present in the nuget You posted. Please try something like: class Program { static void Main(string[]

Upload large files to sharepoint server 2013

岁酱吖の 提交于 2020-01-06 06:03:25
问题 I am trying to upload files ~1GB to sharepoint 2013 on prem, I downloded Microsoft.SharePoint2013.CSOM, and tried with UploadFileSlicePerSlice but there is no such method "StartUpload" (compile error). 回答1: didn't I post the answer to this question here post ? In the same article You posted there is also mentioned the method SaveBinaryDirect which should work for large files and for sure is present in the nuget You posted. Please try something like: class Program { static void Main(string[]

CAML query to add a ListItem in Sharepoint

折月煮酒 提交于 2020-01-06 05:41:15
问题 my CAML query to add a ListItem (Wiki Page) doesn't work. I've tried several fields, but Sharepoint always creates empty pages. Here is my CAML so far: <Batch OnError="Continue"> <Method ID="1" Cmd="New"> <Field Name="WikiField">My Wiki Content</Field> </Method> </Batch> 回答1: Try this <Batch OnError="Continue"> <Method ID="1" Cmd="New"> <Field Name="urn:schemas-microsoft-com:office:office#WikiField">My Wiki Content</Field> </Method> </Batch> 来源: https://stackoverflow.com/questions/965581/caml

facebook share Image not showing

。_饼干妹妹 提交于 2020-01-06 05:03:22
问题 I have a sharepoint webpage that has a facebook share button. however after I shared the webpage, the image is not showing in facebook. Using the facebook tool 'Open Graph Object Debugger', I got the following error Errors That Must Be Fixed Missing Required Property The 'og:type' property is required, but not present. When Viewing the source of the webpage, I can clearly see that the required facebook meta data is there <meta property="og:url" content="https%3a%2f%2fxxx.xx.xx/xx" /> <meta

facebook share Image not showing

≯℡__Kan透↙ 提交于 2020-01-06 05:03:07
问题 I have a sharepoint webpage that has a facebook share button. however after I shared the webpage, the image is not showing in facebook. Using the facebook tool 'Open Graph Object Debugger', I got the following error Errors That Must Be Fixed Missing Required Property The 'og:type' property is required, but not present. When Viewing the source of the webpage, I can clearly see that the required facebook meta data is there <meta property="og:url" content="https%3a%2f%2fxxx.xx.xx/xx" /> <meta

change URL spelling/case on sharepoint library

有些话、适合烂在心里 提交于 2020-01-06 04:59:13
问题 I have a sharepoint library that was created by a user with a url like "/mysite/MyLIBrary" I want to change the case of the URL to be correct so it reads "/mysite/MyLibrary" I cannot figure out how to do this in the sharepoint designer. Just renaming the library doesn't change the URL. 回答1: You should be able to select Document Library in SharePoint designer and Rename. This updates the Title of the list, not actual name. After this you will also have to rename Library in "All Files" (Left