上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 52 下一页
摘要: 前提:Task Form 使用InfoPath 2010来设计。在Task Form中的FormEvents_Loading事件中读取第二数据源ItemMetadata中的数据。ItemMetadata中包含了丰富的数据,在工作流中把RequestForm的xml数据存储到ows_ReqXMLSource字段中,此时再来读取这个字段的值时,我们会发现不仅仅是Request的xml数据,还有丰富Task相关联的所有数据(Request对应的Form Library和Task Id等信息)。 string xmlSource = this.DataSources["ItemMetada. 阅读全文
posted @ 2011-09-14 14:15 风影极光 阅读(252) 评论(0) 推荐(0)
摘要: 获取SPWeb实例方式一 if deployed on farm,we can get spweb by time job titleA define site url in feature template.xml as property,and access it in FeatureActivated eventstring url = properties.Feature.Properties[activeSiteUrl].Value;……job.Title = displayName + "(" + url.ToLower().Trim() + ")&q 阅读全文
posted @ 2011-09-13 12:35 风影极光 阅读(483) 评论(0) 推荐(0)
摘要: net localgroup administrators /add ibm\mingle 阅读全文
posted @ 2011-09-06 20:14 风影极光 阅读(379) 评论(0) 推荐(0)
摘要: NeverAlwaysNecessay 阅读全文
posted @ 2011-09-02 17:58 风影极光 阅读(132) 评论(0) 推荐(0)
摘要: Article1 how to customize task list display page and content type?Article2 how to design time job in SharePoint 2010?Article3 InfoPath debug 阅读全文
posted @ 2011-09-02 17:57 风影极光 阅读(233) 评论(0) 推荐(0)
摘要: 应用场景:在请假系统中,需要一个Country列表和Task列表。Country列表作为元数据显示用户所属的国家。Task列表工作流审批使用,并且呈现Task的编辑aspx页面需要隐藏删除按钮。<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- Country Content Type : Parent ContentType: Item (0x01) 阅读全文
posted @ 2011-09-02 17:54 风影极光 阅读(223) 评论(0) 推荐(0)
摘要: new-spuser -useralias "ibm\10086" -web https://tst15.emdev.azcollaboration.com/operations/Operations/HR -Group "Reporter" 阅读全文
posted @ 2011-08-30 12:31 风影极光 阅读(392) 评论(0) 推荐(0)
摘要: 说明:目标站点HR中的列表Location中PeopleandGroup 域LSR,需要添加人员$curWeb = Get-SPWeb ""$curWeb = Get-SPWeb "https://tst15.emdev.azcollaboration.com/operations/Operations/HR"[Microsoft.SharePoint.SPList]$curList = $curWeb.Lists["Location"][Microsoft.SharePoint.SPListItem]$curItem = $curL 阅读全文
posted @ 2011-08-30 11:33 风影极光 阅读(226) 评论(1) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.SharePoint;namespace CR.SharePoint.HR.Common{ public static class PermissionManager { //SPGroup group = web.Groups[0]; //SPUser user = web.Users[0]; //SPUser user2 = web.Ens... 阅读全文
posted @ 2011-08-30 11:10 风影极光 阅读(425) 评论(0) 推荐(0)
摘要: 场景:我们在客户的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 风影极光 阅读(289) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 52 下一页