Microsoft Outlook 365可操作的消息

时间:2017-09-13 03:39:05

标签: json outlook office365

您好我想知道为什么我的可操作信息不会出现在手机上,但在网络上它会显得很完美。任何人都知道我面临的问题是什么?

以下是我正在播放的剧本。

<script type="application/ld+json">
    {
        "@type": "MessageCard",
        "@context": "http://schema.org/extensions",
        "summary": "This is the summary property",
        "themeColor": "0075FF",
        "sections": [{
                "heroImage": {
                    "image": "http://messagecardplayground.azurewebsites.net/assets/FlowLogo.png"
                }
            },
            {
                "startGroup": true,
                "title": "**Pending approval**",
                "activityImage": "http://connectorsdemo.azurewebsites.net/images/MSC12_Oscar_002.jpg",
                "activityTitle": "Requested by **Miguel Garcia**",
                "activitySubtitle": "m.garcia@contoso.com",
                "facts": [{
                        "name": "Date submitted:",
                        "value": "06/27/2017, 2:44 PM"
                    },
                    {
                        "name": "Details:",
                        "value": "Please approve the awesome changes I made to this fantastic document."
                    },
                    {
                        "name": "Link:",
                        "value": "[Link to the awesome document.pptx](http://www.google.com)"
                    }
                ]
            },
            {
                "potentialAction": [{
                        "@type": "ActionCard",
                        "name": "Approve",
                        "inputs": [{
                            "@type": "TextInput",
                            "id": "comment",
                            "isMultiline": true,
                            "title": "Reason (optional)"
                        }],
                        "actions": [{
                            "@type": "HttpPOST",
                            "name": "Submit",
                            "target": "http://..."
                        }]
                    },
                    {
                        "@type": "ActionCard",
                        "name": "Reject",
                        "inputs": [{
                            "@type": "TextInput",
                            "id": "comment",
                            "isMultiline": true,
                            "title": "Reason (optional)"
                        }],
                        "actions": [{
                            "@type": "HttpPOST",
                            "name": "Submit",
                            "target": "http://..."
                        }]
                    }
                ]
            },
            {
                "startGroup": true,
                "activitySubtitle": "Grant approvals directly from your mobile device with the Microsoft Flow app. [Learn more](http://learnmode)\n\nThis message was created by an automated workflow in Microsoft Flow. Do not reply."
            }
        ]
    }

</script>

如果我打开Outlook移动应用程序,将不会显示任何卡,但仅限于Outlook网站。可操作的消息当前不支持移动设备吗?

此致

Khairul Ezwan B. Mohd Kaswan

0 个答案:

没有答案