摘要: User identity in AD DS is based on a user account. For successful authentication, the user provides the account name and proof of knowledge of the pas 阅读全文
posted @ 2016-06-29 15:23 杨崇伟 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 客户有个需求,需要在infopath表单中嵌入一段我们自己的东西,计算后要更新infopath某一个field. 1. 怎么去获取到那个field 由于infopath生产的html非常的复杂,嵌套太多,其次id都很凌乱,并且在编辑和查看的时候id不同,但是每个field在html中有个属性叫‘or 阅读全文
posted @ 2016-04-19 17:52 杨崇伟 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 1. 首先是输入网址 以 www.facebook.com 为例 2. 浏览器查找域名对应 IP 2. 1 DNS 查找过程: 浏览器缓存——浏览器会记录 DNS 一段时间(2-30 分钟不等,视浏览器而定) 系统缓存——浏览器里没找到 DNS 缓存,此事浏览器做一个系统调用(window 下是 g 阅读全文
posted @ 2016-04-08 17:35 杨崇伟 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Direction: up, down, left, right scrollamount:滚动速度,单位像素 loop: -1无限循环 阅读全文
posted @ 2016-03-17 17:36 杨崇伟 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 好久没写了,最近没怎么学到新东西,倒是犯了一个很常见的错误,那就是试图在content editor webpart中添加位于_layouts下面的一个txt文件,虽然这个txt中只是几行简单的html代码,并没有后台代码,但还是引起页面报错:不能解析_layouts下面的路径。 其实道理很简单,因 阅读全文
posted @ 2016-03-17 17:32 杨崇伟 阅读(389) 评论(2) 推荐(0) 编辑
摘要: 给客户写了一个Outlook的add-in, 用现在时髦的话应该叫outlook的app. 这个add-in的作用就是把outlook中的email,直接上传到SharePoint中。想要代码的联系我哦。其中一个客户的机器在装了add-in后,死活不好使,经过排查后发现outlook一直以safe ... 阅读全文
posted @ 2015-12-24 11:37 杨崇伟 阅读(5129) 评论(0) 推荐(0) 编辑
摘要: 1. 判断一个对象是不是空可以用 $null来比较2. 判断一个字符串是不是空的:[string]::IsNullOrEmpty(...)3. 在powershell中把结果输出为一个CSV格式的文本文件的方法, 好处自己想# Get the current script execution pat... 阅读全文
posted @ 2015-12-23 10:33 杨崇伟 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Powershell ISE在默认状态下有一个不好的地方就是不会显示关于SharePoint的一些智能提示,例如你写一个"get-"后面提示的选项里没有sp开头的一些对象。于是找了一下解决方案。首先打开Powershell ISE, 把下面的代码拷贝到ISE中 1 if (!(test-path $... 阅读全文
posted @ 2015-12-23 10:14 杨崇伟 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 直接给一个all person的AD组赋了个read权限,然后将一个名为“all beijing”的组加到all person组里,但是all beijing组里的人却不能登录sharepoint,提示没有权限。刚开始以为是个简单的同步问题,想着等个10来分钟,就会好了,可结果过了两个小时,还是提示... 阅读全文
posted @ 2015-12-11 17:44 杨崇伟 阅读(1091) 评论(2) 推荐(0) 编辑
摘要: When you query a SharePoint calendar your results will contain:All non-recurring eventsThe first event of a recurring event seriesAnd won’t contain:Al... 阅读全文
posted @ 2015-12-11 15:55 杨崇伟 阅读(329) 评论(0) 推荐(0) 编辑
版权所有,转载请标明出处