上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 52 下一页
摘要: 场景:我们在客户的VM环境中进行SharePoint的开发工作,由于权限的限制(连IE的设置都无法修改),我们在很多情况除了以Administrator的身份执行应用程序(IE,VS2010,cmd窗口,集成SharePoint的PowerShell命令窗口等)外,我们可能需要拷贝GAC的dll文件,怎么办呢?以下操作以从GAC中拷贝HR系统的Common.dll到D盘为例PS C:\> cd .\WindowsPS C:\Windows> cd .\assemblyPS C:\Windows\assembly> cd .\GAC_MSILPS C:\Windows\asse 阅读全文
posted @ 2011-08-30 11:05 风影极光 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 下文以开发HR的Leave系统并部署为例:安装部署Add-SPSolution -LiteralPath E:\Alfred\Project\SIRS\Workflow\TFS\AZ.SharePoint.SIRS\AZ.SharePoint.SIRS\bin\Debug\sharepoint.leave.wspInstall-SPSolution -Identity sharepoint.leave.wsp -GACDeployment说明:全新部署的方式。如果此解决方案中有多个项目或引用了第三方的dll,即有多个dll程序集文件,需要使用参数-GACDeployment,这样相关引用的dl 阅读全文
posted @ 2011-08-30 10:58 风影极光 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 搭建环境:Win7和Win2008中自带有PowerShell 2.0,在命令中输入powershell即可。http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=20430使用Windows PowerShell ISE编写代码,用户体验跟写c#代码很像。在运行命令中输入powershell_ise,即可。第三方开发工具:PowerGUI.3.1.0.2058.msi,提供智能感知功能。常用快捷键:保存ps文件后可以按F9启动调试F10跳跃调试F11单步调试get-command *uninstall 阅读全文
posted @ 2011-08-29 14:43 风影极光 阅读(708) 评论(0) 推荐(0) 编辑
摘要: 说明:11_00020.xml为InfoPath的xml文件。利用Linq to xml来便捷地读取相关节点。XmlDocument doc = new XmlDocument(); doc.Load("D:\\11_00020.xml"); XElement xmlTree = XElement.Parse(doc.OuterXml); XNamespace awNamespace = xmlTree.GetNamespaceOfPrefix("my"); Console.WriteLine("Namespace: {0}", aw 阅读全文
posted @ 2011-08-15 15:50 风影极光 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 两种情况第一 部署wsp包到站点第二 部署wsp包到管理中心http://www.cnblogs.com/majiang/articles/2107151.html 阅读全文
posted @ 2011-08-09 12:34 风影极光 阅读(185) 评论(0) 推荐(0) 编辑
摘要: http://www.microsoft.com/china/learning/mcpexams/register/prometric.mspxhttp://www.register.prometric.com/Menu.asp?cookie%5Ftest=1 阅读全文
posted @ 2011-08-08 10:00 风影极光 阅读(128) 评论(0) 推荐(0) 编辑
摘要: http://nikspatel.wordpress.com/2011/07/20/debug-browser-enabled-infopath-2010-forms-deployed-on-sharepoint-2010-using-visual-studio-2010/http://msdn.microsoft.com/en-us/library/gg271285.aspxhttp://msdn.microsoft.com/en-us/library/aa944831(v=office.11).aspxhttp://blogs.msdn.com/b/infopath/archive/200 阅读全文
posted @ 2011-08-08 09:51 风影极光 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1查询Feature相关的命令get-command *feature 阅读全文
posted @ 2011-07-22 13:22 风影极光 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 1 在Task列表中增加定制列ApprovalPersons,设置为People and Group类型,并允许多选。2 拖放onTaskCreated动作在CreatTask之后,并在其事件中执行如下SPList taskList = workflowProperties.TaskList; SPListItem taskItem = taskList.GetItemById(afterProps.TaskItemId); SPUser user; SPFieldUserValueCollection fuvc = new SPFieldUserValueCollection(); stri 阅读全文
posted @ 2011-07-13 13:02 风影极光 阅读(699) 评论(0) 推荐(0) 编辑
摘要: 问题描述:创建一个全新的工作流,并拖放Task activity,部署到目标Library后,运行工作流实例出错。在日志中发现以下信息:System.InvalidOperationException: Correlation value on declaration "workflowToken" is already initialized.解决办法:CorrelationToken对应Workflow.Runtime.CorrelationToken . 1 对于整个工作流,需要定义个相关的tooken,在OnWorkflowActivated 活动中绑定tooken 阅读全文
posted @ 2011-07-13 12:50 风影极光 阅读(212) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 52 下一页