【发布时间】:2019-06-05 11:37:09
【问题描述】:
您好,我想在 Azure Logic App 中创建 html tabe。 我通过 Blob 连接器从 Blob 加载了数据(使用路径获取 Blob 内容) 我根据this post 中的答案使用了 Compose 连接器 但我得到错误 -
Unable to process template language expressions in action 'Create_HTML_table' inputs at line '1' and column '1747': 'The template language function 'json' parameter is not valid. The provided value '[{"ServiceName":"routingsf","SubServiceName":"roadinfo/supportedmaps","ErrorType":"System.AggregateException","ErrorMessage":"One or more errors occurred. (Object reference not set to an instance of an object.)","Count":4} ]' cannot be parsed: 'Unexpected character encountered while parsing value: . Path '', line 0, position 0.'. Please see https://aka.ms/logicexpressions#json for usage details.'.
编写和创建 HTML 表格连接器的代码如下:
"Compose": {
"inputs": "@base64ToString(body('Get_blob_content_using_path').$content)",
"runAfter": {
"Get_blob_content_using_path_2": [
"Succeeded"
]
},
"type": "Compose"
},
"Create_HTML_table": {
"inputs": {
"format": "HTML",
"from": "@json(outputs('Compose'))"
},
"runAfter": {
"Compose": [
"Succeeded"
]
},
"type": "Table"
},
你能帮忙吗?
【问题讨论】:
标签: json html-table azure-logic-apps