'Integer'类型的值不支持属性选择

时间:2019-02-15 13:29:48

标签: azure azure-logic-apps

我想发送此动态内容:

<div id="map">
</div>
<script>
  window.initMap = function() {
    var map = new google.maps.Map(document.getElementById('map'), {
      center: new google.maps.LatLng(47.037596, 8.303537),
      zoom: 13,
    });
  }
</script>

<script type="text/javascript" async="" defer="" src="//maps.googleapis.com/maps/api/js?key=AIzaSyCkUOdZ5y7hMm0yrcCQoCvLwzdM6M8s5qk&amp;libraries=places&amp;callback=initMap"></script>

从Azure数据工厂中的Web活动到逻辑应用。

在逻辑应用程序方面,我已经定义了这样一个主体: enter image description here

在第二步中,我想提取值: enter image description here

但是在执行此步骤后,出现此错误:

content:@concat(formatDateTime(adddays(utcnow(),-1),'mm'),formatDateTime(adddays(utcnow(),-1),'dd'))

我该如何解决这个问题?

2 个答案:

答案 0 :(得分:1)

添加

$.ajax({
    url: "/invoices/vindication_filter/",
    data: {
        vindication_type: vindication_type,
    },
    type: "POST",
    success: function(response) {
        //response['results'] is your invoices_all_data
}
});

在请求标头中。

答案 1 :(得分:0)

根据我的测试和错误消息,内容中的ID必须是这样的:

{
    "ID":222223
}

这样,ID的类型将为String。因此,您需要像这样将ID更改为String类型:

{
    "ID":"222223"
}

或将JSON模式“ ID”类型更改为Integer,将Variable Type更改为Integer。然后逻辑应用程序将起作用。

enter image description here

相关问题