摘要: 1. 条形图(Bar Chart)需要的数据格式类型如下: ["Luke Skywalker", "Darth Vader", "Yoda", "Princess Leia"] [2, 4, 1, 1] 2. Bar Chart代码示例: $(function () { $('#container' 阅读全文
posted @ 2014-12-19 11:21 Jacky Ge 阅读(4866) 评论(0) 推荐(0) 编辑
摘要: 1. 饼状图(Pie Chart)示例: <div id="container" style="height: 400px"></div> <script type="http://.....jquery-1.9.1.min.js"></script> <script src="http://cod 阅读全文
posted @ 2014-12-18 15:37 Jacky Ge 阅读(882) 评论(0) 推荐(0) 编辑
摘要: 1. 数据视图 可以将图片、新闻等列表(如: Announcement)用以下视图显示,具体做法可以参考这篇文章,但需要强调几个地方: 1.1 选择了视图样式后,需要点击“自定义” --> "自定义项目"来进行应用; 1.2 搜索“ms-stylebox”可以找到每个item的模板,进行修改,如下图 阅读全文
posted @ 2014-11-19 16:06 Jacky Ge 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1. "^"表示以什么字符开始,"$"表示以什么字符结束; 2. \w表示字符类,包括大小写字母和数字; 3. “+”表示一个或多个,"*"表示零个或多个; 阅读全文
posted @ 2014-11-18 14:14 Jacky Ge 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1. CAML是顺序操作,如果要实现类似 “A or B or C or D” 的结果,最好写成 “(((A or B) or C) or D)”的形式,但写成 “((A or B) or (C or D))” 也可以正常工作; 2. CAML中对时间操作时,时间格式为 “yyyy-MM-ddTHH 阅读全文
posted @ 2014-10-29 14:34 Jacky Ge 阅读(831) 评论(0) 推荐(0) 编辑
摘要: 默认情况下,App是不能直接部署到Production环境,只能通过App Catalog中安装。 只有在Developer类型站点中才默认激活了Developer feature。 所以如果想要使用VS部署app,需要首先激活Developer feature,参考此文章; 1. 首先需要安装Sh 阅读全文
posted @ 2014-09-25 10:54 Jacky Ge 阅读(208) 评论(0) 推荐(0) 编辑
摘要: By default SharePoint 2013 doesn’t have a breadcrumb (like the 2010 version used to have). This was a very helpful feature to navigate back in your si 阅读全文
posted @ 2014-09-22 10:32 Jacky Ge 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 0. SharePoint 2013使用_api来标识出 REST SERVICE,REST Service其实是 client.svc web service的一部分,但为了简化 REST URI的构造以及缩短REST URI的长度,使用 _api 来替代 _vti_bin/client.svc, 阅读全文
posted @ 2014-09-09 11:25 Jacky Ge 阅读(857) 评论(1) 推荐(1) 编辑
摘要: 1. 移除隐藏空间后剩余的空白: http://social.technet.microsoft.com/Forums/sharepoint/zh-TW/3dea3014-f808-428b-b283-bb99f6bff676/hiding-the-blank-space-behind-a-hidd 阅读全文
posted @ 2014-08-25 16:09 Jacky Ge 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 用于在SharePoint中调用其它网站服务时使用。 1. 需要引用sp.js 和 sp.runtime.js文件; 2. 需要用到SP.WebRequestInfo,SP.WebProxy,和SP.WebReponseInfo对象; 3. 例子: (function () { // Prepare 阅读全文
posted @ 2014-08-21 13:46 Jacky Ge 阅读(211) 评论(0) 推荐(0) 编辑