随笔分类 - SharePoint
摘要:Hey guys , sorry for not writing this part within the same period I've written the previous 3 parts, but that because I wanted to be sure that the code is written without bugs , so in the previous 3 weeks we have tested the control very well and solved a lot of issues we have found in it , and n
阅读全文
摘要:The init.js and core.js JavaScript filesin the layouts directory of SharePoint2007 contain alot of helpful JavaScript functions. Here is a brief list ofsome of the most helpful classes, functions and variablesavailable.If you are looking for SharePoint 2010, check out the extensive ECMAScript Class
阅读全文
摘要:PRINT THISEMAIL THISREPORT THISJoin Now!SharePoint is Flowers and Rainbows and UnicornsSPGridView, SPMenuField, Grouping, PostbackUsing the SPGridView and SPMenuField objects go a long way to encapsulate the functionality and look & feel of SharePoint into your custom controls, pages and web par
阅读全文
摘要:先看看SPGridView能实现的效果:1)分组,分页2)下拉菜单3)过滤以上效果是不是跟系统的列表一模一样?SPGridView继承于GrieView,拥有GridView的所有功能,并扩展了以上功能。下面讲述SPGridView的两种用法:采用自定义数据源和采用WSS的列表作为数据源。利用SPGridView显示自定义数据源Step1:新建一个页面,写入如下内容:<%@PageMasterPageFile="~/_layouts/application.master"Language="C#"AutoEventWireup="true
阅读全文
摘要:Technorati Tags:MOSS,WSS 3.0,SPGridView,ItemTemplate,TemplateFieldThings I cover on this Post:Custom TemplateField/ItemTemplateCustom Paging icons - no code required! (well almost)Many people out there (PowloandJason Wangare great examples) have shown you how to use the SPGridView and do cool things
阅读全文
摘要:这段时间手头要做一个KM系统,在发表新知识文章时需要选择一个或多个维度下的知识分类。其实实现方法有很多,例如说再做一个专门用于设置知识分类的页面,让了发表完知识时或者在了表知识前让用户选择;又或者扩展ITEM的Action,弹出一个对话框来选择。但个人觉得这三种实现都似乎是强加上去,就算实现了,也会不太自然,像是个附加品。为了让知识分类的选择能完全融入MOSS列表中,做一个自定义字段类型来显示一个棵知识分类树供用户选择最恰当不过了,碰巧上周刚好学了自定义字段类型,嗯,看来正好能派上用场。于是我马上动工“写”(从网上的例子中拷)了几行代码,先把框架和文件建好:字段定义:1<?xmlvers
阅读全文
摘要:知识点总结目录获得List初始上传,还没有Check In过的File删除SPListCollection转DatatableFolder类型添加自定义属性多行文本取出换行识别为垃圾邮件使用MOSS自带的方法发送email.net方式发送email更新审批状态string转GuidContent Type显示个人信息长时间操作,不超时转向内容类型AD操作List附件的读取模拟用户代码People Editor控件工作流历史记录表AJAX实现当Person or Group字段允许多人时,通过sdk对象读取用户信息代码启动工作流CAML查找Lookup型WEB页面显示word多文件上传工作流中.
阅读全文
摘要:The following is a list of SharePoint URLs to get to commonly used administrative functions on a MOSS or WSS v3 site. Not all links listed on this page are accessible to all user levels of a site. This is a quick list for speedy reference as compared to tracking down links through the admin screens
阅读全文
摘要:It's not a headache until you can do without it, but to use the sharepoint's attachment controls can be a pain in you know what. Try the solution below and save your self from same.~Adding attachment Functionality in a Web Part.//Attachment Controls//Add the Attachment Controls in the webpar
阅读全文
摘要:using System;using System.IO;using System.Net;using System.Collections.Specialized;namespace SharePointVisitUtilities{ public static class SharePointFileHelper { // 上传文件 // // 参数 // 上传的文件在SharePoint上的位置,要上传的本地文件的路径名,用户名,密码,域 public static string UploadFile(string strDestUrl, string strFilePathName,.
阅读全文
摘要:Creating a SharePoint list is hella easy. Point and click - and bingo - you have a form to type in and maintain your data in a structure you specified, and you can then create various views on the data collected.But what if you wished to customize either the "New" form, or the "Update
阅读全文
摘要:Have you ever wanted to change the fields presented in a form when you create a new announcement or task for your SharePoint team site? Do you wish you could remove a field or two in order to keep someone from changing important metadata once a document has been uploaded into your library? Perhaps y
阅读全文
摘要:You may come across the need when working with lists and list items in SharePoint, to allow a default value for a field to be passed via a URL parameter.Before we get started, please note that you will need access to Microsoft Office SharePoint Designer, and full access to your site in order to perf
阅读全文
摘要:JQuery操作SharePoint Web Services之删除和更新列表数据这篇文章继续上次的http://www.cnblogs.com/fanwenxuan/archive/2009/12/26/1632998.html操作环境。介绍一下更新和删除列表:更新列表效果图如下:删除的代码如下:varbatch="<BatchOnError='Continue'>\<MethodID='1'Cmd='Delete'>\<FieldName='ID'>"+itemid+&q
阅读全文
摘要:最近整理了使用JQuery来操作SharePoint的Web Services的一些操作,这一篇文章介绍的是:查询列表数据。首先介绍一下基本的要求:1.有一个SharePoint的列表。(废话)2.有jquery-1.3.2.min.js。位置放在SharePoint站点的根目录的js文件夹里面。(如果没有就新建一个)3.这个列表有默认的“Title”和自定义的“city“。前者代表区号,后者代表城市名称。(啰嗦)效果图如下:输入titlede 值就可以得到对应的City值。在页面上面添加一个内容编辑器,代码如下:Title:<inputtype="text"id=&
阅读全文
摘要:上一篇中我介绍了JQuery操作SharePoint Web Services之查询列表数据,这一篇我介绍一下添加列表数据 。一些基本的要求和上一篇一样,效果图如下:输入 Title和City的值,列表项的数据就会更新。(不过需要你刷新一下页面,原理嘛,大家都知道)代码如下:Title:<inputtype="text"id="txtNewTitle"/><br/>City:<inputtype="text"id="txtNewCity"/><br/><inpu
阅读全文
摘要:What is jQuery?jQueryis a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development (wikipedia article). It was created byJohn Resigand dual licensed under the MIT License and the GNU General Public Licens
阅读全文
摘要:协作应用程序标记语言 (CAML) 是一种基于 XML 的语言,用于在 Windows SharePoint Services 中定义在网站和列表中使用的字段和视图。CAML 还用于在网站设置过程中定义 Windows SharePoint Services 数据库中的表。也可以对列表进行更新,在使用SharePoint Web Service的时候十分重要。详细的规范请参考http://msdn.microsoft.com/zh-cn/library/ms462365.aspx,本文列出一些常用的和重要的信息。1.一些属性RowLimit:<RowLimit>10</Row
阅读全文
摘要:下面列出了sharepoint的母版页中定义的所有占位符:(详细位置请对照default.master)1、<asp:ContentPlaceHolderID="PlaceHolderGlobalNavigationSiteMap"runat="server"/>放置连接到顶级站点的超连接2、<asp:ContentPlaceHolderID="PlaceHolderGlobalNavigation"runat="server"/>放置顶部一行内容。3、<asp:ContentPlac
阅读全文
摘要:编辑器加载中...这篇很短的文章展示了ASP.NET2.0中的母板页和内容页在Windows SharePoint Services v3.0中的应用。WSS 3.0 是在ASP.NET 2.0 的基础上实现的,这篇很短的文章展示了ASP.NET2.0中的母板页和内容页在Windows SharePoint Services v3.0中的应用。WSS 3.0 是在ASP.NET 2.0 的基础上实现的,所以WSS 3.0中母板页/内容页也是基于ASP.NET 2.0中的相应功能而实现站点定制的。网上已经有很多介绍ASP.NET2.0中母版页的文章了。下面提供的链接来源与MSDN,个人认为是一篇
阅读全文
浙公网安备 33010602011771号