sharepoint

Simple SharePoint 2010 + Silverlight + Client Object Model Example

半腔热情 提交于 2020-04-06 13:37:26
This post will take you through a very simple example of using a Silverlight application in SharePoint 2010, using the new SharePoint 2010 Client Object Model. I will also show how to use the new SharePoint 2010 tools in Visual Studio 2010 to package the Silverlight application for deployment. Note that I will not be getting into the details of creating a flashy (no pun intended) UI in Silverlight – i will just create a very simple UI with a list box and a text box. The Example is broken into 2 parts. The first will describe how to create a SharePoint 2010 solution which will deploy a

SharePoint 排错:配置完Windows Cluster节点后,安装SQL Server失败

无人久伴 提交于 2020-04-06 11:42:17
Blog链接: https://blog.51cto.com/13637423 很多时候我们在给客户推荐SharePoint Farm作为企业数据管理业务平台时,通常都会建议配置客户考虑平台的稳定性、可扩展性、安全性等等,为了满足企业用户对平台访问的SLA标准情况下,会建议客户在配置SharePoint Farm时考虑针对SQL配置高可用性,这样当一个SQL节点宕机的情况下,会切换另一个SQL节点,保证终端用户可以正常访问平台数据。 最近在研究SharePoint Server 2019 + SQL Server Always On Group 部署时,遇到一个问题和解决方案,整理一下分享给大家,希望对大家日后部署有一定的帮助。 问题描述:在配置完Windows Server Failover Clustering之后,在第二个Cluster节点安装SQL Server时出现如下异常,提示:SQL Server Setup has encounter the following error:Failed to retrieve for this request。 安装环境:SQL Server Server 2017,Windows Server 2019,SharePoint Server 2019. 经过排错,发现安装SQL Server获取的资源文件与Windows

SharePoint page not loading in personal tab of static app (MS Teams desktop client)

邮差的信 提交于 2020-04-05 06:49:53
问题 When adding a SharePoint page as a static tab in my custom personal app , the added SharePoint page is not loaded in the MS Teams desktop client, but works as expected in the web client. Also , when switching to Developer Preview the tab starts to work. Even when switching out of Developer Preview the web page still loads as expected. Steps to Reproduce Create a page in SharePoint online Create a new MS Teams app (e.g. in App Studio's Manifest editor) Add a new Personal tab, linking to the

SharePoint page not loading in personal tab of static app (MS Teams desktop client)

半世苍凉 提交于 2020-04-05 06:49:10
问题 When adding a SharePoint page as a static tab in my custom personal app , the added SharePoint page is not loaded in the MS Teams desktop client, but works as expected in the web client. Also , when switching to Developer Preview the tab starts to work. Even when switching out of Developer Preview the web page still loads as expected. Steps to Reproduce Create a page in SharePoint online Create a new MS Teams app (e.g. in App Studio's Manifest editor) Add a new Personal tab, linking to the

SharePoint Online 开发:创建一个基于节点的Project

五迷三道 提交于 2020-04-03 18:38:05
Blog链接: https://blog.51cto.com/13969817 本文将为大家介绍如何创建一个简单的基于node的project并了解一些基于node的project如何工作的基本概念。 前提条件: https://cmder.net/,安装Cmder , 是Windows下非常好用的终端模拟器, 常用于替换windows自带的终端。它可以在不同的标签页中同时连接不同的底层Shell,包括cmd、PowerShell、Bash和WSL,并提供相关增强功能和更加便捷的操作方式. https://code.visualstudio.com/docs/?dv=win,安装VisualStudio Code,它是一款轻量级 但功能强大的源代码编辑器,它可以在你的桌面上运行,适用于Windows、macOS和Linux。它内置了对JavaScript、TypeScript和Node.js的支持,并为其他语言(如c++、c#、Java、Python、PHP、Go)和运行时(如。net和Unity)提供了丰富的扩展生态系统。 现在,我们先使用mkdir为新Project创建一个名为newproj的文件夹,然后进入这个文件夹并将其设置为一个基于node的project。 然后输入npm init, 会问一些相关问题,这里我们直接采用默认答案即可,最后我们选择Yes,

Sharepoint学习笔记—习题系列--70-573习题解析 -(Q88-Q90)

霸气de小男生 提交于 2020-04-03 05:21:54
Question 88 You have a Microsoft .NET Framework console application that uses the SharePoint client object model. The application contains the following code segment. (Line numbers are included for reference only.) 01 ClientContext cCtx = new ClientContext(" http://intranet/hr "); 02 List sharedDocList = cCtx.Web.Lists.GetByTitle("Shared Documents"); 03 CamlQuery camlQuery = new CamlQuery(); 04 camlQuery.ViewXml = 05 @"<View> 06 <Query> 07 <Where> 08 <Eq> 09 10 <Value Type='Text'>Doc1.docx</Value> 11 </Eq> 12 </Where> 13 </Query> 14 </View>"; 15 ListItemCollection docLibItems = sharedDocList

SharePoint站点中用户信息与AD用户信息的“不一致”问题

安稳与你 提交于 2020-04-01 16:03:37
SharePoint站点中用户信息与AD用户信息的“不一致”问题 先把问题描述一下:已把AD用户“User1”加到SharePoint站点中,然后进行如下类似操作:将“User1”从SharePoint站点中删除,将“User1”从AD中删除,在AD中增加一个新用户“User1”,在SharePoint站点中增加一个用户“User1”,这时,您会发现很有意思的问题:可能可以成功增加这个用户,但是这个用户始终无法登录到SharePoint站点中;或者根本增加不了这个用户到SharePoint站点中,提示您站点中已经存在这个用户了。 在上次CSDN站点的SharePoint技术聊天活动中,有参与的网友询问了类似的问题,由于当时我在聊天活动中无法给出非常详细的解释,所以只是给出了一个相关的链接。今天用这篇文章详细解释一下。 这个问题出现的原因,是出自SharePoint对于站点用户的存储机制所造成的。SharePoint站点用户信息保存在站点对应的内容数据库的UserInfo表中,如果站点管理员删除了站点中的某个用户,您可能会惊奇的发现,这个用户相应的记录并未从UserInfo表中删除,而只是将“tp_Deleted”这个列的数据进行了设置。(这种机制的原因所在是这条记录可能已经通过外键关联了其他表的其他记录,比如此用户编写的文档,所以将此记录直接删除是不可取的。) 在以后

将Sharepoint Server 2010部署到WINDOWS 7

南楼画角 提交于 2020-04-01 13:58:18
首先祝CNBLOGS上的筒子们新年快乐。Sharepoint 2010 BETA版发布已经有段时间了,总是感觉MS的步伐要比我们这些追逐他的人快很多,不过确实他的每一次革新总给我们带来了惊喜。 前几天报名参加了SHAREPOINT 2010 DAY 活动( 详情 ),等待着1月16日体验2010给我带来的喜悦。放假三天外面好大雪,不准备出去了。在家好好研究。 1、部署-安装环境: 在这里先说明一下:2007的版本中我们只能装在WINDOWS 2003 SERVER 上,这种限制在2010被彻底打破了。我们可以将它安装在VISTA/WINDOWS 7/SERVER 2008 R2上,这里面只有R2 2008才是真正的生产环境,而前两个只能是程序员的开发环境。由于2008 R2只发布64X的版本,因此暂时在虚机里面还没发安装。我只能装在外面(幸亏是外面的机器是WIN7)。 下图是我的安装环境: 下面开始安装(本文中需要的软件下载我会在后面列出来) 前面的安装很简单,没什么可说的。这里面另外提一下,2010和之前的07有所不同,07的基础框架是WSS3.0而这个名字不会在2010中出现了(WSS4.0?),2010里面将WSS改名为:SharePoint Foundation 2010。了解的朋友都知道这是FREE的。 下载完Sharepoint后,使用OfficeServer.exe

unable to parse a string of this format “1/29/2020 12:00:00 AM” into a valid DateTime

ぃ、小莉子 提交于 2020-03-30 18:00:12
问题 I am working on a SVC service, and when I run it locally I get the Date field as follow 30/01/2020 00:00:00 and I parse this string to be a DateTime as follow (DateTime.ParseExact(i["ProjectLastUpdate"].ToString(), "dd/MM/yyyy hh:mm:ss", CultureInfo.InvariantCulture).ToString("yyyy'-'MM'-'dd'T'00':'00':'00'Z'")) , since my local machine uses the United Kingdom regional setting. But when I host the service inside an Azure Web App, I start receiving the date string as follows: 1/29/2020 12:00

SharePoint Online 开发篇:SharePoint Framework 基本概念

随声附和 提交于 2020-03-28 06:22:22
Blog链接: https://blog.51cto.com/13969817 如果大家想学习SharePoint Framework,需要了解一些基础知识,这对 classic SharePoint 开发人员来说非常重要,因为我们面对的是modern开发,一个可能并不熟悉的工具。 首先,我们来熟悉一下Node.js和基于npm的开发: 类似.json Node Package Manager(npm) Yarn(推荐) Webpack 是非常流行的Module Bundlers,它是SharePoint Framework所选择的,所以我们需要对它有一些基本了解。 是一个模块捆绑器 Modern Solution是建立在他人工作的基础上的 Modern Framework的规模越来越大 Module Bundlers允许我们使用CSS、JavaScript、图像等做延迟加载,捆绑等等更多事情 作为一名开发人员,我们经常被卷入更复杂的项目中,一个简单的hello world应用程序并不适用于我们,我们需要学习一下比较重要的Yeoman。 任何基于npm的项目都有许多依赖项、脚本、构建步骤和任务,SharePoint Framework也是如此。 在Visual Studio中有File\New Project, 它会帮我们设置好一切 在基于npm的开发中,与file\new