简体   繁体   English

How to get SharePoint “Approval status” column data inside the SharePoint designer 2013 using SharePoint Plus api

[英]How to get SharePoint “Approval status” column data inside the SharePoint designer 2013 using SharePoint Plus api

I am trying to get share point "ApprovslStatus" column data but don't get answer.我正在尝试获取共享点“ApprovslStatus”列数据,但没有得到答案。

   <script type="text/javascript">
     $SP().list("Veradis").get({json:true})
       .then(function(data) {
       console.log(data[0]["ApprovalStatus"]);
     }
   </script>

Use this:用这个:

data[0]["_ModerationStatus"]

Moderation Status is a 4-byte integer indicating the moderation approval status of a list item. 审核状态是一个 4 字节的 integer 指示列表项的审核批准状态。

Test result:测试结果: 在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在共享点列表项中添加状态“活动”或“非活动”。 通过使用SharePoint设计器? - How to add status “active” or “Inactive” in sharepoint list items. By using sharepoint designer? 公开Sharepoint 2013 REST API使用JavaScript获取 - Exposing Sharepoint 2013 REST API Get using JavaScript 在SharePoint 2013中使用JavaScript - Using javascript in sharepoint 2013 SharePoint 2013 使用 JavaScript 获取当前用户 - SharePoint 2013 get current user using JavaScript 我们是否可以通过HTTP调用使用Microsoft API的API触发Microsoft Flow进行批准/拒绝,而无需在SharePoint上存储数据? - Can we trigger Microsoft Flow for Approval/Rejection using it API via HTTP call without storing data on SharePoint? 如何使用REST for Sharepoint 2013删除项目 - How to delete an item using REST for Sharepoint 2013 sharepoint 2013获取用户ID - sharepoint 2013 get ID of a user 使用Sharepoint Designer在Sharepoint列表视图页面上的caml查询中使用JavaScript变量或函数 - Using javascript variable or function inside caml query on sharepoint list view page with sharepoint designer 在SharePoint 2013中使用jChartFX时出错 - Error using jChartFX with SharePoint 2013 使用Javascript或SharePoint Designer 2010的SharePoint 2010中的条件列验证列表 - Conditional Column Validations in SharePoint 2010 list using Javascript or SharePoint Designer 2010
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM