摘要: function onLoad() { var requestBy = getParameterValue("id");//id 为querystring的key } function getParameterValue(name) { name = name.replace(/[\[]/, "\\ 阅读全文
posted @ 2019-05-07 14:48 hongsedigua 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 1、在sys_properties 表中添加一条数据 glide.entry.page.script 2、在script include 中修改SPEntryPage 改一下portal页面 参考页面: https://docs.servicenow.com/bundle/madrid servic 阅读全文
posted @ 2019-05-07 14:38 hongsedigua 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 1、获取work notes 或者comments 任一的数据 var comments = current.comments_and_work_notes.getJournalEntry(1); //1表示默认取一条数据。 1 表示取所有的数据 var na = comments.substrin 阅读全文
posted @ 2019-05-07 14:33 hongsedigua 阅读(299) 评论(0) 推荐(0) 编辑