摘要: ECMAScript常用方法汇总(经过测试)ECMAScript对列表项的增删改查及其他操作 不废话看代码!<script type="text/javascript">ExecuteOrDelayUntilScriptLoaded(myjsfucntion, "sp.js");//获取WebSite信息function retrieveWebSite() {var clientContext = new SP.ClientContext.get_current();this.oWebsite = clientContext.get_web( 阅读全文
posted @ 2012-02-07 09:02 郑力军 阅读(559) 评论(0) 推荐(0) 编辑
摘要: sharepoint 自己开发的Webpart,发布后。当你在网站设置---->web部件将其添加进去后,会有默认的图标显示,今天看了那图标突然有点想用自己的图标去替换的冲动,于是通过谷歌+百度,我是翻山越岭、跋山涉水终于把那玩意儿给搞定了。先将其记录下来: 在你的Webpart中找到一个 .webpart的文件,加上下述 <property name="CatalogIconImageUrl" type="string">/_layouts/images/ACF16.GIF</property>的这句话,路径指向正确,即可 阅读全文
posted @ 2012-02-07 08:38 郑力军 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 本人存档之用请勿拍砖!谢谢!卸载解决方案 UnInstall-SPSolution -Identity abcd.wsp -AllWebApplication 移除解决方案 Remove-SPSolution -Identity abcd.wsp 添加解决方案 Add-SPSolution D:\directory\abcd.wsp 安装解决方案 Install-SPSolution -Identity abcd.wsp -WebApplication http://url/ -GACDeployment stsadm -o deploysolution -name sspwspbuilde. 阅读全文
posted @ 2012-02-07 08:33 郑力军 阅读(189) 评论(0) 推荐(0) 编辑