2019年4月16日

echarts柱状图

摘要: grid: {left: '3%',right: '4%',top: '20%',containLabel: true,height:100}, 阅读全文

posted @ 2019-04-16 17:35 赢在当下_Victor 阅读(196) 评论(0) 推荐(0) 编辑

Js Linq

摘要: Linq是对前端集合变量进行操作的一种技术框架,引用文件linq.min.js。 var myList = [ { Name: "Victor", Age: 28 }, { Name: "Jack", Age: 30 }, { Name: "Simon", Age: 26 }, { Name: "He... 阅读全文

posted @ 2019-04-16 16:59 赢在当下_Victor 阅读(192) 评论(0) 推荐(0) 编辑

2019年3月11日

jQuery中(function($){})(jQuery)与$(function(){})

摘要: (function($){...})(jQuery)相当于匿名函数,形成闭包,内部定义的函数和变量只能在此范围内有效。 相当于 var fn=function(s){}; fn(s); $(function(){ }) 相当于$(document).ready(function(){})或$('wi 阅读全文

posted @ 2019-03-11 14:03 赢在当下_Victor 阅读(2553) 评论(0) 推荐(0) 编辑

2019年3月8日

Sharepoint workflow 带有条件的循环

摘要: 用日期做条件比较时,尽量使用同一个时间变量的加减来比较。 RemindFlag是循环条件,直到RemindFlag不等于Yes时,才会跳出循环。 阅读全文

posted @ 2019-03-08 10:55 赢在当下_Victor 阅读(331) 评论(0) 推荐(0) 编辑

Shapoint workflow直接使用Update List Item批量更新不成功时,使用API遍历更新

摘要: 阅读全文

posted @ 2019-03-08 10:42 赢在当下_Victor 阅读(197) 评论(0) 推荐(0) 编辑

sharepoint designer - call http web service

摘要: PS: 局部变量 1 - Build Dictionary 2 - Call Http Web Service Address使用的格式是sharepoint api格式:https://skydrive3m.sharepoint.com/sites/_api/web/Lists/GetbyTitl 阅读全文

posted @ 2019-03-08 10:22 赢在当下_Victor 阅读(239) 评论(0) 推荐(0) 编辑

2019年3月7日

sharepoint等脚本加载完后再执行对应的方法

摘要: ExecuteOrDelayUntilScriptLoaded(myFunction,"sp.js"); //SP.SOD.executeFunc('sp.js', 'SP.ClientContext', myFunction); function myFunction() { //逻辑代码 } 阅读全文

posted @ 2019-03-07 15:33 赢在当下_Victor 阅读(191) 评论(0) 推荐(0) 编辑

Caml语句中筛选当前用户UserID

摘要: var query='\ \ \ \ '; 阅读全文

posted @ 2019-03-07 15:23 赢在当下_Victor 阅读(192) 评论(0) 推荐(0) 编辑

pnp的getItemsByCAMLQuery

摘要: var camlQuery={ ViewXml: "\ 1\ \ \ \ \ \ \ " }; ... 阅读全文

posted @ 2019-03-07 15:18 赢在当下_Victor 阅读(270) 评论(0) 推荐(0) 编辑

利用pnp获取用户的property

摘要: //Retrieve Properties of Current User $pnp.sp.profiles.myProperties.get().then(function(result) { props = result.UserProfileProperties.results; var propValue = ""; props.forEach(function(... 阅读全文

posted @ 2019-03-07 15:04 赢在当下_Victor 阅读(214) 评论(0) 推荐(0) 编辑

导航