sharepoint-2010

Check if Current Users belongs to SP group using javascript Client Side Object Model

谁说胖子不能爱 提交于 2019-12-29 04:20:06
问题 I havent found a specific example of how to get the current user and then check if it belongs to a specific sharepoint group, as I havent found anything I cant provide a code, help on the right direction is appreciated. 回答1: SharePoint 2013 CSOM Prerequisites: compatible with SharePoint 2013 CSOM API only since SP.GroupCollection.getByName Method is not available in SharePoint 2010 How to check if current user belongs to SharePoint group via CSOM (JavaScript): function

Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed

旧街凉风 提交于 2019-12-25 17:44:48
问题 Our Sharepoint portal has been active for some years now but I'm just now getting bug reports about some controls not working. So far all problem reports are from subsidiaries - some here in Germany, others in the US. The controls are all on UpdatePanels and cause the following error message: Meldung: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response

Sharepoint 2010 migration to sharepoint online using sharegate

感情迁移 提交于 2019-12-25 14:48:47
问题 We have migrated few surveys from 2010 to SharePoint o365, but we observed that there is a change in Time created of the survey as below in SP 2010 Time Created: 7/17/2014 6:21 AM and in SP online Time Created: 4/29/2017 8:51 PM is this a limitation of share gate that it cannot retain the time created or there is something wrong with the migration? 回答1: Are you talking about the creation date of each survey answer or the creation date of the survey list itself? For each answer, Sharegate

Using an array to filter an array Javascript

北城余情 提交于 2019-12-25 12:45:11
问题 I am trying to look at every value in one array and see if any of them are contained in any of the other array values. Ex: arrOne = ['a', 'b' ,'c' ]; arrTwo = ['option a', 'option c', 'option b', 'option d']; So I want it to cycle through to see every value in arrTwo that has one of the values from arrOne and remove the ones that dont so I get: arrFinal = ['option a', 'option c', 'option b']; Here is the code I am working with: JavaScript function PreSaveAction() { var Fields = ['input',

A WebException with status TrustFailure was thrown. AmazonS3 .net 3.5 Version 3 invoking from sharepoint 2010

删除回忆录丶 提交于 2019-12-25 09:06:05
问题 Currently I am working in POC with CRUD operations using AmazonS3 Sdk for .net 3.5 version 3. I am trying to retrieve the Region Endpoint(Location) of the specific bucket name using secret key and Access Key and bucket name( has Location: EU (Frankfurt) (eu-central-1)). in order to establish connection with AmazonS3 and perform CRUD operations So I get the A WebException with status TrustFailure was thrown when I tried to get the Region Endpoint from share point(web page I create my own page

Why is this jQuery not working on my Sharepoint page?

坚强是说给别人听的谎言 提交于 2019-12-25 05:34:07
问题 I have this code at the bottom of my Sharepoint WebPart's .ascx file: <script> $(document).ready(function () { alert("The ready function has been reached"); $('#ckbxEmp').on("change", function () { if ($('#ckbxEmp').prop("checked")) { alert("Checked"); } else { alert("Not checked"); } }); }); </script> On running the WebPart (opening a page that has the WebPart embedded in it), I see the "The ready function has been reached" alert, but on clicking the checkbox, there is no alert. The checkbox

sandboxed web parts inside SharePoint 2010

心不动则不痛 提交于 2019-12-25 04:43:31
问题 Is it possible to develop a web-part in ASP.NET (framework > 2.0), to have a sandbox architecture, and deploy those web parts inside Share Point 2010 and/or MOSS 2007 we donot want to use any SharePoint dll reference with web parts we develop. we refer to the url, section at http://msdn.microsoft.com/en-us/library/ee539417.aspx (section Web Parts in Sandboxed Solutions) 回答1: i referred the following How Tos, hope it helps some one .. http://blah.winsmarts.com/2009-12-SharePoint_2010_Sandboxed

Sharepoint 2010 Project package: Cannot add a new project output assembly to the package

≯℡__Kan透↙ 提交于 2019-12-25 04:42:56
问题 When creating a Sharepoint 2010 project in VB.NET and wanting to deploy an additional referenced assembly you cannot add a new project output assembly to the package. To replicate the issue: Open Sharepoint 2010 project in Visual Studio 2010 Open "package\package.Package" Select "Advanced" In the Additional Assemblies area select "Add | Add assembly from Project Output..." This error is then presented: Cannot add a new project output assembly to the package. The path is not of a legal form.

Client Object Model access to Custom User Properties

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 04:17:30
问题 I've setup up a custom user property via central admin and set the value on a couple of my users. That said when I query the User Information List using Query Builder I'm not seeing values for the field. I've even tried specifying the fields to return via ViewFields. Anyone have any experience with this? Any other suggestions? Thanks! Casey 回答1: i've also searched a while, but the closed i came to was this... i ended up using the UserProfileService instead, like described in this article. 来源:

Setting preview image for Sharepoint 2010 custom web template

和自甴很熟 提交于 2019-12-25 03:53:30
问题 I have a custom Sharepoint 2010 Web Template and I would like to set a custom preview image for it in the Sharepoint add site gallery. Example (I wanna set a custom image for the "Project Template Site" custom web template): Note: I already tried setting the ImageUrl property of the WebTemplate element (http://msdn.microsoft.com/en-us/library/ff408392.aspx) and it is not working.. 回答1: I've managed to solve my problem. Apparently the ImageUrl property of the template element only works with