{"id":2310,"date":"2020-04-07T10:54:46","date_gmt":"2020-04-07T02:54:46","guid":{"rendered":"http:\/\/www.ponybai.com\/?p=2310"},"modified":"2020-04-07T10:54:46","modified_gmt":"2020-04-07T02:54:46","slug":"%e9%9d%a2%e5%90%91%e7%a4%be%e5%8c%ba%e7%9a%84rich-publisher-apps-%e6%9e%84%e5%bb%ba%e5%af%8c%e5%8f%91%e5%b8%83%e8%80%85%e5%ba%94%e7%94%a8","status":"publish","type":"post","link":"http:\/\/www.ponybai.com\/?p=2310","title":{"rendered":"\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528"},"content":{"rendered":"\n\t\t\t\t\n<h2 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading1\">\u5b66\u4e60\u76ee\u6807<\/h2>\n\n\n\n<p>\u5b8c\u6210\u672c\u5355\u5143\u540e\uff0c\u60a8\u5c06\u80fd\u591f\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5217\u51faRich Publisher Apps\u5e73\u53f0\u4e2d\u63d0\u4f9b\u7684\u63a5\u53e3\u548c\u4e8b\u4ef6\u3002<\/li><li>\u4ece\u5934\u5f00\u59cb\u6784\u5efaRich Publisher App\u3002<\/li><li>\u5728\u793e\u533a\u4e2d\u914d\u7f6eRich Publisher Apps\u3002<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading2\">\u6b65\u9aa41.\u4e0a\u4f20\u60a8\u7684\u56fe\u6807\u56fe\u50cf\u5e76\u83b7\u53d6\u5176\u6587\u4ef6\u8d44\u4ea7ID<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/rpa\/rpa_build\/images\/d314da3128df076f01a553ee05241fd7_rpa_icons_in_publisher_close_up.png\" alt=\"\u95ee\u9898\u53d1\u5e03\u8005\u4e2d\u7684Rich Publisher App\u56fe\u6807\"\/><\/figure>\n\n\n\n<p>\u8981\u63d0\u4f9b\u5728\u4f9b\u7a3f\u53d1\u5e03\u8005\u4e2d\u663e\u793a\u5e76\u4e0e\u60a8\u7684\u5e94\u7528\u6253\u5305\u5728\u4e00\u8d77\u7684\u56fe\u6807\uff0c\u60a8\u9700\u8981\u8be5\u56fe\u6807\u7684&nbsp;fileAsset&nbsp;ID\u3002<\/p>\n\n\n\n<p>\u60a8\u4f7f\u7528&nbsp;fileAsset&nbsp;\u521b\u5efa\u65f6\u7684ID&nbsp;ChatterExtension\u5b9e\u4f53\u3002\u6dfb\u52a0fileAsset&nbsp;ID\u5230&nbsp;ChatterExtension&nbsp;\u53ef\u8ba9\u60a8\u5c06\u56fe\u6807\u6587\u4ef6\u4e0e\u60a8\u7684\u5e94\u7528\u6253\u5305\u5728\u4e00\u8d77\u3002<\/p>\n\n\n\n<p>\u8fd9\u662f\u60a8\u4e0a\u4f20\u56fe\u6807\u56fe\u50cf\u5e76\u83b7\u53d6\u5b83\u7684\u65b9\u6cd5&nbsp;fileAsset&nbsp;ID\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/rpa\/rpa_build\/images\/c4d9ef0c272016519cf3740a5172d683_icon_note.png\" alt=\"\u6ce8\u610f\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u6ce8\u610f<\/h4>\n\n\n\n<p>Lightning Component\u6846\u67b6\u5177\u6709\u4e24\u4e2a\u7f16\u7a0b\u6a21\u578b\uff0cLightning Web Components\u548cAura\u3002\u5728\u6b64\u6a21\u5757\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528Aura\u6784\u5efaRich Publisher Apps\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u5c06\u60a8\u7684\u56fe\u6807\u6587\u4ef6\u4e0a\u4f20\u5230Salesforce\u3002<\/li><li>\u590d\u5236\u6587\u4ef6ID\u3002\u6ce8\u610f\u60a8\u53ef\u4ee5\u4eceSalesforce\u4e2d\u7684\u6587\u4ef6\u8be6\u7ec6\u4fe1\u606f\u4e2d\u83b7\u53d6\u6587\u4ef6ID\u3002\u8f6c\u5230\u201c\u6587\u4ef6\u201d\u9875\u9762\uff0c\u7136\u540e\u67e5\u770b\u6587\u4ef6\u8be6\u7ec6\u4fe1\u606f\u3002\u4ece\u6d4f\u89c8\u5668\u7684URL\u590d\u5236\u6587\u4ef6ID\u3002\u8fd9\u662f\u4e00\u4e2a\u5f88\u957f\u7684\u6570\u5b57\uff0c\u4f8b\u5982&nbsp;069R00000003roQ\u3002<\/li><li>\u8f6c\u5230Workbench\uff0c\u5e76\u83b7\u53d6\u4ee5\u4e0b\u503c\uff1a&nbsp;ID&nbsp;\u4e0b&nbsp;fileAsset\u3002<ol type=\"a\"><li>\u5728REST Explorer\u4e2d\uff0c\u9009\u62e9<strong>Post<\/strong>\uff0c\u7136\u540e\u8f93\u5165\u8def\u5f84\uff1a&nbsp;\/services\/data\/v43.0\/connect\/files\/[file_ID]\/asset<\/li><li>\u5bf9\u4e8e[file_ID]\uff0c\u8f93\u5165\u60a8\u5728\u6b65\u9aa42\u4e2d\u590d\u5236\u7684\u6587\u4ef6ID\u3002<\/li><li>\u5728\u8bf7\u6c42\u6b63\u6587\u4e2d\uff0c\u8f93\u5165{}\u3002<\/li><li>\u70b9\u51fb<strong>\u6267\u884c<\/strong>\u3002<\/li><li>\u5c55\u5f00&nbsp;fileAsset&nbsp;\u8282\u70b9\uff0c\u5c06\u503c\u590d\u5236\u4e3a&nbsp;ID\uff0c\u7136\u540e\u5c06\u5176\u7c98\u8d34\u5230\u4ee5\u540e\u7684\u7528\u6237\u3002<\/li><\/ol><\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading3\">\u6b65\u9aa42.\u521b\u5efa\u7528\u4e8e\u5408\u6210\u548c\u6e32\u67d3\u7684\u95ea\u7535\u7ec4\u4ef6<\/h2>\n\n\n\n<p>\u5f53\u793e\u533a\u6210\u5458\u5355\u51fbRich Publisher App\u56fe\u6807\u65f6\uff0c\u8be5\u64cd\u4f5c\u5c06\u5bfc\u81f4\u6253\u5f00\u5408\u6210\u6a21\u5f0f\u3002\u8be5\u6a21\u6001\u5305\u542b\u4e00\u4e2a\u95ea\u7535\u7ec4\u4ef6\u3002Lightning\u7ec4\u4ef6\u4f7f\u7528\u6237\u80fd\u591f\u9009\u62e9\u67d0\u4e9b\u5185\u5bb9\uff0c\u641c\u7d22\u67d0\u4e9b\u5185\u5bb9\u6216\u751f\u6210\u67d0\u4e9b\u5185\u5bb9\u3002\u60a8\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u7528\u4f8b\u81ea\u5b9a\u4e49\u6b64\u7ec4\u4ef6\u3002<\/p>\n\n\n\n<p>\u8ba9\u6211\u4eec\u770b\u770b\u4e00\u5bb6\u516c\u53f8\u5982\u4f55\u4f7f\u7528Rich Publisher Apps\u5e73\u53f0\u5c06\u6848\u4f8b\u9644\u52a0\u5230\u5e16\u5b50\u548c\u95ee\u9898\u4e0a\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading4\">\u9047\u89c1\u6469ri\u5ea7<\/h3>\n\n\n\n<p>\u6469ri\u5ea7\u51fa\u552e\u5496\u5561\u548c\u9ad8\u7aef\u5496\u5561\u51b2\u6ce1\u8bbe\u5907\uff0c\u5e76\u4ee5\u5176\u5ba2\u6237\u670d\u52a1\u800c\u81ea\u8c6a\u3002\u5b83\u7684\u79d8\u5bc6\u4e4b\u4e00\u662f\u4e3a\u5ba2\u6237\u670d\u52a1\u4ee3\u7406\u5546\u5efa\u7acb\u7684\u793e\u533a\uff0c\u4ee5\u8ba8\u8bba\u672a\u51b3\u6848\u4f8b\u5e76\u5c31\u89e3\u51b3\u65b9\u6848\u8fdb\u884c\u534f\u4f5c\u3002\u6469ri\u5ea7\u5e0c\u671b\u5f00\u53d1\u4e00\u4e2aRich Publisher App\uff0c\u7528\u4e8e\u5c06\u6848\u4f8b\u9644\u52a0\u5230\u5e16\u5b50\u548c\u95ee\u9898\u4e0a\u3002\u4ed6\u4eec\u5e0c\u671b\u7ed9\u4ed6\u4eec\u7684\u4ee3\u7406\u5546\u4e00\u79cd\u6316\u6398\u8fc7\u53bb\u89e3\u51b3\u65b9\u6848\u7684\u65b9\u6cd5\uff0c\u4ee5\u89e3\u51b3\u76ee\u524d\u7684\u95ee\u9898\u3002\u8fd9\u5c31\u662f\u4ed6\u4eec\u7684\u5de5\u4f5c\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading5\">A.\u521b\u5efa\u7b2c\u4e00\u4e2a\u95ea\u7535\u7ec4\u4ef6<\/h2>\n\n\n\n<p>\u521b\u5efa\u6269\u5c55Lightning\u63a5\u53e3\u7684Lightning\u7ec4\u4ef6&nbsp;\u95ea\u7535\uff1a\u9002\u7528\u4e8eChatterExtensionComposer\u3002\u5408\u6210\u7ec4\u4ef6\u4f7f\u7528\u6b64\u63a5\u53e3\u3002<\/p>\n\n\n\n<p>\u6469ri\u5ea7\u5f00\u53d1\u4eba\u5458\u56e2\u961f\u4f7f\u7528\u5148\u5146\u8fed\u4ee3\u6765\u663e\u793a\u7ec4\u4ef6\u4ee3\u7801\u4e2d\u7684\u5217\u8868\u9879\u3002\u8fd9\u662f\u95ea\u7535\u7ec4\u4ef6\u4ee3\u7801\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;aura:component implements=\"lightning:availableForChatterExtensionComposer\" controller=\"caseController\">\n    &lt;aura:handler name=\"init\" value=\"{!this}\" action=\"{!c.init}\"\/>\n    \n    &lt;aura:attribute name=\"items\" type=\"List\" description=\"Contains a list of items for user to select.\"\/>\n    \n    &lt;div class=\"container\">\n        &lt;aura:iteration items=\"{!v.items}\" var=\"item\" indexVar=\"index\">\n            &lt;div class=\"itemContainer\" onclick=\"{!c.selected}\">\n                &lt;div class=\"itemLeft\">\n                \t&lt;img class=\"itemIcon\" src=\"https:\/\/login.salesforce.com\/logos\/Standard\/record\/logo.svg\">&lt;\/img>\n                &lt;\/div>\n                &lt;div class=\"itemRight\">\n                    &lt;div class=\"itemTitle\">{!item.title}&lt;\/div>\n                \t&lt;div class=\"itemDescription\">Case Number: {!item.caseNo}&lt;\/div>\n                &lt;\/div>\n            &lt;\/div>\n        &lt;\/aura:iteration>\n    &lt;\/div>\n&lt;\/aura:component><\/code><\/pre>\n\n\n\n<p>\u6469ri\u5ea7\u56e2\u961f\u5728\u63a7\u5236\u5668\u4e2d\u53d1\u51faApex\u8bf7\u6c42&nbsp;\u5728\u91cc\u9762\u51fd\u6570\u83b7\u53d6\u9009\u62e9\u5217\u8868\u7684\u652f\u6301\u6848\u4f8b\u4fe1\u606f\u3002\u8fd9\u662f\u4e0eLightning\u7ec4\u4ef6\u5173\u8054\u7684\u63a7\u5236\u5668\u4ee3\u7801\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>({\n\tinit : function(cmp, event, helper) {\n        var action = cmp.get(\"c.getCases\");\n        action.setCallback(this, function(response) {\n            var state = response.getState();\n            if (state === \"SUCCESS\") {\n                var caseList = [];\n                var response = response.getReturnValue();\n                for (var i=0;i&lt;response.length;i++) {\n                    caseList.push({\n                        \"title\": response[i].Subject,\n                        \"caseNo\": response[i].CaseNumber\n                    })\n                }\n                cmp.set(\"v.items\", caseList);\n            }\n        });\n        $A.enqueueAction(action);\n\t},\n    \n    selected: function(cmp, event, helper) {\n        var selectedItem = helper.getSelectedItem(cmp, event);\n\t\tvar compEvent = cmp.getEvent(\"sendChatterExtensionPayload\");\n\t\tcompEvent.setParams({\n\t\t\t\"payload\" : helper.getPayload(selectedItem),\n\t\t\t\"extensionTitle\" : helper.getTitle(selectedItem),\n\t\t\t\"extensionDescription\" : helper.getDescription(selectedItem)\n\t\t});\n\t\tcompEvent.fire(); \n    }\n})<\/code><\/pre>\n\n\n\n<p>\u8fd9\u662f\u4e0e\u63a7\u5236\u5668\u4e00\u8d77\u4f7f\u7528\u7684\u8f85\u52a9\u4ee3\u7801\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>({  \n    getSelectedItem: function(cmp, event) {\n        var clicked = event.currentTarget;\n        var parent = clicked.parentElement;\n        var total = parent.children.length;\n        var selectedIndex = -1;\n        for(var i=0; i&lt;total; i++) {\n            if(clicked === parent.children.item(i)) {\n                selectedIndex = i;\n            }\n            $A.util.removeClass(parent.children.item(i), \"selected\");\n        }\n        $A.util.addClass(clicked, \"selected\");\n        \n        var selectedTh = cmp.get(\"v.items\")[selectedIndex];\n        return selectedTh;\n    },\n    \n    getPayload: function(item) {\n        return item;\n    },\n    \n    getTitle: function(item) {\n        return item.title;\n    },\n    \n    getDescription: function(item) {\n        return item.caseNo;\n    }\n})<\/code><\/pre>\n\n\n\n<p>\u8fd9\u662f\u4e3a\u8be5\u5e94\u7528\u7f16\u5199Apex\u8c03\u7528\u7684\u4e00\u79cd\u65b9\u6cd5&nbsp;\u83b7\u53d6\u6848\u4f8b&nbsp;\u529f\u80fd\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public class caseController {\n    \n    @AuraEnabled\n    public static List&lt;Case> getCases() {\n       List&lt;Case> cases = [SELECT AccountId,CaseNumber,Subject,Description,Id FROM Case ORDER BY CreatedDate ASC NULLS FIRST LIMIT 20];\n       return cases;\n    }\n}<\/code><\/pre>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u5b9e\u73b0\u81ea\u5df1\u7684\u65b9\u5f0f\u8ba9\u7528\u6237\u8fdb\u884c\u9009\u62e9\u3002\u60a8\u53ef\u4ee5\u5728Apex\u4e2d\u4f7f\u7528\u4efb\u4f55\u903b\u8f91\uff0c\u4ee5\u4f7f\u7528\u5185\u90e8\u6216\u7b2c\u4e09\u65b9\u670d\u52a1\u6765\u6784\u5efa\u529f\u80fd\u5f3a\u5927\u7684Rich Publisher Apps\u6765\u83b7\u53d6\u667a\u80fd\u6570\u636e\u6216\u65b0\u9c9c\u6570\u636e\u3002<\/p>\n\n\n\n<p>\u91cd\u8981\u7684\u662f\u8981\u786e\u4fdd\u7528\u6237\u5355\u51fb\u89e6\u53d1\u5149\u73af\u4e8b\u4ef6&nbsp;\u95ea\u7535\uff1a\u53d1\u9001ChatterExtension\u6709\u6548\u8f7d\u8377\u5728\u63a7\u5236\u5668\u4ee3\u7801\u4e2d\u3002\u5728\u6469ri\u5ea7\u7684\u4ee3\u7801\u793a\u4f8b\u4e2d\uff0c\u56e2\u961f\u5728\u5df2\u9009\u529f\u80fd\u3002\u5728\u4e8b\u4ef6\u4e2d\u8bbe\u7f6e\u4e8b\u4ef6\u5df2\u9009&nbsp;\u5f53\u7528\u6237\u505a\u51fa\u9009\u62e9\u65f6\uff0c\u6b64\u529f\u80fd\u4f1a\u53d1\u9001\u6709\u6548\u8f7d\u8377\u4ee5\u4e0e\u63d0\u8981\u9879\u5173\u8054\u3002<\/p>\n\n\n\n<p>\u56e2\u961f\u8bbe\u5b9a&nbsp;extensionTitle&nbsp;\u548c&nbsp;extensionDescription\u4f7f\u7528\u8f85\u52a9\u51fd\u6570\u5c06\u5143\u6570\u636e\u4e0e\u6709\u6548\u8d1f\u8f7d\u5173\u8054\u3002\u6b64\u5143\u6570\u636e\u7528\u4e8e\u975eLightning\u7528\u4f8b\uff0c\u4f8b\u5982\u7535\u5b50\u90ae\u4ef6\u901a\u77e5\u6216\u7ecf\u5178\u89c6\u56fe\u3002\u60a8\u4e5f\u53ef\u4ee5\u9009\u62e9\u6dfb\u52a0\u7f29\u7565\u56feURL\u3002<\/p>\n\n\n\n<p>\u8fd9\u662f\u5e26\u6709\u6807\u9898\u548c\u7f29\u7565\u56fe\u7684\u6a21\u6001\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/rpa\/rpa_build\/images\/0cb16127db8d254103557a771c0dc1c8_add_button_disabled.png\" alt=\"\u5217\u51fa\u4f5c\u66f2\u5bb6\u7ec4\u4ef6\u4e2d\u7684\u9879\u76ee\"\/><\/figure>\n\n\n\n<p>Rich Publisher Apps\u5e73\u53f0\u8fd8\u63d0\u4f9b\u201c&nbsp;<strong>\u6dfb\u52a0\u201d<\/strong>\u548c\u201c&nbsp;<strong>\u53d6\u6d88\u201d<\/strong>\u6309\u94ae\u3002\u5728\u4e0a\u4e00\u4e2a\u56fe\u50cf\u4e2d\uff0c\u201c&nbsp;<strong>\u6dfb\u52a0\u201d<\/strong>\u6309\u94ae\u88ab\u7981\u7528\u3002Salesforce\u7684\u542f\u7528&nbsp;<strong>\u6dfb\u52a0<\/strong>\u6309\u94ae\u540e\uff0c\u624d\u95ea\u7535\uff1a\u53d1\u9001ChatterExtension\u6709\u6548\u8f7d\u8377\u4f7f\u7528\u975e\u7a7a\u7684\u6709\u6548\u8d1f\u8f7d\u89e6\u53d1\u4e8b\u4ef6\u3002\u5982\u679c\u4f7f\u7528\u7a7a\u7684\u6709\u6548\u8d1f\u8f7d\u89e6\u53d1\u4e8b\u4ef6\uff0c\u5219\u6309\u94ae\u4fdd\u6301\u7981\u7528\u72b6\u6001\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/rpa\/rpa_build\/images\/7cb748ecb3958090244bf0a2ef8f612b_add_button_enabled.png\" alt=\"\u542f\u7528\u6dfb\u52a0\u6309\u94ae\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading6\">B.\u521b\u5efa\u7b2c\u4e8c\u4e2a\u95ea\u7535\u7ec4\u4ef6<\/h2>\n\n\n\n<p>\u63a5\u4e0b\u6765\uff0c\u6469ri\u5ea7\u56e2\u961f\u521b\u5efa\u4e00\u4e2aLightning\u7ec4\u4ef6\u6765\u6269\u5c55Lightning\u63a5\u53e3&nbsp;\u95ea\u7535\uff1a\u53ef\u7528ForChatterExtensionRenderer\u3002\u5f53FeedItem\u88ab\u6e32\u67d3\u3002\u6b64\u63a5\u53e3\u6709\u4e24\u4e2a\u57fa\u672c\u5c5e\u6027\uff1a\u53d8\u4f53&nbsp;\u548c&nbsp;\u6709\u6548\u8f7d\u8377\u3002\u7684\u53d8\u4f53&nbsp;\u5c5e\u6027\u53ef\u8ba9\u60a8\u6839\u636e\u6240\u9009\u5e94\u7528\u662f\u5728\u53d1\u5e03\u8005\u4e2d\u9884\u89c8\u8fd8\u662f\u5728\u5e7f\u544a\u4e2d\u5448\u73b0\u6765\u51b3\u5b9a\u5982\u4f55\u5448\u73b0\u5185\u5bb9&nbsp;FeedItem\u3002\u7684\u6709\u6548\u8f7d\u8377&nbsp;\u5c5e\u6027\u662f\u7528\u6237\u5728\u7ec4\u5408\u7ec4\u4ef6\u4e2d\u9009\u62e9\u7684JavaScript\u5bf9\u8c61\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;aura:component implements=\"lightning:availableForChatterExtensionRenderer\">\n    \n    &lt;div class=\"container\">\n        &lt;a target=\"_blank\" href=\"{!v.payload.url}\">\n            &lt;div class=\"{! (v.variant == 'FEED' ? 'itemContainerBorder' : '') + ' itemContainer'}\">\n                &lt;div class=\"itemLeft\">\n                    &lt;img class=\"itemIcon\" src=\"{!v.payload.icon}\">&lt;\/img>\n                &lt;\/div>\n                &lt;div class=\"itemRight\">\n                    &lt;div class=\"itemTitle\">{!v.payload.title}&lt;\/div>\n                    &lt;div class=\"itemSubtitle\">{!v.payload.subtitle}&lt;\/div>\n                    &lt;div class=\"itemDescription\">Case Number: {!v.payload.caseNo}&lt;\/div>\n                &lt;\/div>\n            &lt;\/div>\n        &lt;\/a>\n    &lt;\/div>\n&lt;\/aura:component>\n<\/code><\/pre>\n\n\n\n<p> Capricorn \u4f7f\u7528\u53d8\u4f53 \u9972\u6599\u51b3\u5b9a\u4f7f\u7528\u54ea\u4e2aCSS\u7c7b\u3002\u6307\u67d0\u4e1c\u897f\u7684\u7528\u9014\u9972\u6599 \u5411Salesforce\u53d1\u51fa\u4fe1\u53f7\uff0c\u4ee5\u5728\u5176\u4e2d\u5448\u73b0Rich Publisher App FeedItem\u3002\u8981\u5728\u53d1\u5e03\u5546\u4e2d\u5448\u73b0\u5e94\u7528\uff0c\u8bf7\u4f7f\u7528\u53d8\u4f53\u9884\u4e60\u3002\u6709\u6548\u8d1f\u8f7d\u4fe1\u606f\u663e\u793a\u8981\u5448\u73b0\u7684\u60c5\u51b5\u3002\u5728\u6b64\u793a\u4f8b\u4e2d\uff0c\u6709\u6548\u8d1f\u8f7d\u662f\u9759\u6001\u7684\u3002\u4f46\u662f\uff0c\u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528\u670d\u52a1\u5668\u7aefApex\u63a7\u5236\u5668\u6765\u83b7\u53d6\u6e32\u67d3\u5668\u7ec4\u4ef6\u5185\u90e8\u7684\u5b9e\u65f6\u52a8\u6001\u4fe1\u606f\u3002<\/p>\n\n\n\n<p>\u8fd9\u662f\u6709\u6548\u8d1f\u8f7d\u5728\u53d1\u5e03\u8005\u5185\u90e8\u4f5c\u4e3a\u9884\u89c8\u7684\u6837\u5b50\uff08\u9884\u4e60\uff09\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/rpa\/rpa_build\/images\/56888e31f6be09db7bde5c95e6da4dab_rpa_render_preview.png\" alt=\"Rich Publisher App\u6709\u6548\u5185\u5bb9\u7684\u9884\u89c8\"\/><\/figure>\n\n\n\n<p>\u6709\u6548\u8d1f\u8f7d\u5728\u6700\u7ec8\u5448\u73b0\u7684\u4f9b\u7a3f\u9879\u4e2d\u7684\u5916\u89c2\u5982\u4e0b\uff08\u9972\u6599\uff09\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/rpa\/rpa_build\/images\/a55744ea8d99cf8535af7f0a610fd142_rpa_published_item.png\" alt=\"\u4e0eFeed\u9879\u76ee\u4e00\u8d77\u53d1\u5e03\u7684Rich Publisher App\u6709\u6548\u8d1f\u8f7d\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading7\">\u6b65\u9aa43.\u5728Workbench\u4e2d\u521b\u5efaRich Publisher App<\/h2>\n\n\n\n<p>\u73b0\u5728\uff0c\u60a8\u5df2\u7ecf\u521b\u5efa\u4e86Lightning\u7ec4\u4ef6\u5e76\u6293\u53d6\u4e86&nbsp;fileAsset&nbsp;ID\uff0c\u60a8\u5df2\u51c6\u5907\u597d\u5728Workbench\u4e2d\u521b\u5efaRich Publisher App\u3002<\/p>\n\n\n\n<p>\u8f6c\u5230\u5de5\u4f5c\u53f0\uff0c\u7136\u540e\u63d2\u5165&nbsp;ChatterExtension\u5bf9\u8c61\uff08<strong>\u5de5\u4f5c\u53f0&gt;\u6570\u636e&gt;\u63d2\u5165&gt; ChatterExtension<\/strong>\uff09\u3002\u7136\u540e\u5c06\u6240\u6709\u7ec4\u4ef6\u503c\u4e0eChatterExtension&nbsp;\u9886\u57df\u3002<\/p>\n\n\n\n<p>\u83b7\u53d6\u7ec4\u4ef6\u503c\u7684\u4e00\u79cd\u65b9\u6cd5\u662f\u8f6c\u5230\u201c\u8bbe\u7f6e\u201d\u5e76\u641c\u7d22&nbsp;Lightning Components\u3002\u5355\u51fb\u5217\u51fa\u7684\u7ec4\u4ef6\u4ee5\u67e5\u770b\u5176\u8be6\u7ec6\u4fe1\u606f\u3002\u4ece\u6d4f\u89c8\u5668URL\u590d\u5236\u7ec4\u4ef6ID\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/rpa\/rpa_build\/images\/4bc45ad7bfb85782d40432dd60e538a2_rpa_fields_workbench.png\" alt=\"ChatterExtension\u5bf9\u8c61\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>\u63d0\u4f9b\u5408\u6210\u7ec4\u4ef6\u7684\u95ea\u7535\u7ec4\u4ef6ID\u3002<\/li><li>\u4e3a\u6a21\u5f0f\u6807\u9898\u6dfb\u52a0\u6587\u672c\u3002<\/li><li>\u4e3a\u5e94\u7528\u7a0b\u5e8f\u56fe\u6807\uff08\u5728Feed\u53d1\u5e03\u8005\u4e2d\u663e\u793a\u7684\u56fe\u6807\uff09\u6dfb\u52a0\u60ac\u505c\u6587\u672c\u3002<\/li><li>\u63d0\u4f9b&nbsp;fileAsset&nbsp;\u5e94\u7528\u7a0b\u5e8f\u56fe\u6807\u7684ID\u3002<\/li><li>\u63d0\u4f9b\u6e32\u67d3\u7ec4\u4ef6\u7684Lightning\u7ec4\u4ef6ID\u3002<\/li><li>\u5bf9\u4e8e&nbsp;\u7c7b\u578b\u8f93\u5165Lightning\u3002\u5f53\u524d\uff0c\u95ea\u7535\u662f\u552f\u4e00\u53ef\u7528\u7684\u7c7b\u578b\u3002<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/rpa\/rpa_build\/images\/c4d9ef0c272016519cf3740a5172d683_icon_note.png\" alt=\"\u6ce8\u610f\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u6ce8\u610f<\/h4>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u5728Translation Workbench\u4e2d\u672c\u5730\u5316\u6807\u9898\u548c\u60ac\u505c\u6587\u672c\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Tdxn4tBK-heading8\">\u6b65\u9aa44.\u5728\u60a8\u7684\u793e\u533a\u4e2d\u542f\u7528Rich Publisher Apps<\/h2>\n\n\n\n<p>\u5f53\u4e00\u5207\u51c6\u5907\u5c31\u7eea\u65f6\uff0c\u6469ri\u5ea7\u56e2\u961f\u4f1a\u5c06\u5e94\u7528\u7a0b\u5e8f\u6dfb\u52a0\u5230\u5176\u793e\u533a\u4e2d\u7684\u4f9b\u7a3f\u53d1\u5e03\u8005\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u201c\u4f53\u9a8c\u5de5\u4f5c\u533a\u201d\u4e2d\u7684\u201c\u7ba1\u7406\u5de5\u4f5c\u533a\u201d\u5411\u793e\u533a\u6dfb\u52a0\u6700\u591a\u4e94\u4e2aRich Publisher Apps\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u8f6c\u5230\u4f53\u9a8c\u5de5\u4f5c\u533a\uff0c\u7136\u540e\u5355\u51fb\u201c&nbsp;<strong>\u7ba1\u7406\u201d<\/strong>\u78c1\u8d34\u3002<\/li><li>\u5728\u5bfc\u822a\u5217\u4e2d\uff0c\u70b9\u51fb<strong>Rich Publisher Apps<\/strong>\u3002<\/li><li>\u4ece\u201c\u53ef\u7528\u7684\u5e94\u7528\u7a0b\u5e8f\u201d\u5217\u4e2d\u6700\u591a\u9009\u62e9\u4e94\u4e2a\u5e94\u7528\u7a0b\u5e8f\uff0c\u7136\u540e\u5c06\u5b83\u4eec\u79fb\u52a8\u5230\u201c\u9009\u5b9a\u7684\u5e94\u7528\u7a0b\u5e8f\u201d\u5217\u4e2d\u3002<\/li><li>\u8981\u8bbe\u7f6e\u53d1\u5e03\u8005\u4e2d\u56fe\u6807\u7684\u987a\u5e8f\uff0c\u8bf7\u5728\u5217\u8868\u4e2d\u4e0a\u79fb\u6216\u4e0b\u79fb\u9009\u5b9a\u7684\u5e94\u7528\u3002<\/li><li>\u70b9\u51fb<strong>\u4fdd\u5b58<\/strong>\u3002<\/li><\/ol>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u5b66\u4e60\u76ee\u6807 \u5b8c\u6210\u672c\u5355\u5143\u540e\uff0c\u60a8\u5c06\u80fd\u591f\uff1a \u5217\u51faRich Publisher Apps\u5e73\u53f0\u4e2d\u63d0\u4f9b\u7684\u63a5\u53e3\u548c\u4e8b\u4ef6\u3002 \u4ece\u5934\u5f00 &hellip; <a href=\"http:\/\/www.ponybai.com\/?p=2310\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-2310","post","type-post","status-publish","format-standard","hentry","category-community"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528 - \u767d\u767d\u968f\u7b14<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.ponybai.com\/?p=2310\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528 - \u767d\u767d\u968f\u7b14\" \/>\n<meta property=\"og:description\" content=\"\u5b66\u4e60\u76ee\u6807 \u5b8c\u6210\u672c\u5355\u5143\u540e\uff0c\u60a8\u5c06\u80fd\u591f\uff1a \u5217\u51faRich Publisher Apps\u5e73\u53f0\u4e2d\u63d0\u4f9b\u7684\u63a5\u53e3\u548c\u4e8b\u4ef6\u3002 \u4ece\u5934\u5f00 &hellip; \u7ee7\u7eed\u9605\u8bfb\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.ponybai.com\/?p=2310\" \/>\n<meta property=\"og:site_name\" content=\"\u767d\u767d\u968f\u7b14\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-07T02:54:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/rpa\/rpa_build\/images\/d314da3128df076f01a553ee05241fd7_rpa_icons_in_publisher_close_up.png\" \/>\n<meta name=\"author\" content=\"ponybai\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"ponybai\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/www.ponybai.com\/?p=2310#article\",\"isPartOf\":{\"@id\":\"http:\/\/www.ponybai.com\/?p=2310\"},\"author\":{\"name\":\"ponybai\",\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883\"},\"headline\":\"\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528\",\"datePublished\":\"2020-04-07T02:54:46+00:00\",\"dateModified\":\"2020-04-07T02:54:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/www.ponybai.com\/?p=2310\"},\"wordCount\":200,\"publisher\":{\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883\"},\"articleSection\":[\"Community\u793e\u533a\u4e91\"],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.ponybai.com\/?p=2310\",\"url\":\"http:\/\/www.ponybai.com\/?p=2310\",\"name\":\"\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528 - \u767d\u767d\u968f\u7b14\",\"isPartOf\":{\"@id\":\"http:\/\/www.ponybai.com\/#website\"},\"datePublished\":\"2020-04-07T02:54:46+00:00\",\"dateModified\":\"2020-04-07T02:54:46+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/www.ponybai.com\/?p=2310#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.ponybai.com\/?p=2310\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.ponybai.com\/?p=2310#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/www.ponybai.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.ponybai.com\/#website\",\"url\":\"http:\/\/www.ponybai.com\/\",\"name\":\"\u767d\u767d\u968f\u7b14\",\"description\":\"Salesforce\u5b98\u65b9\u8bb2\u5e08\",\"publisher\":{\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.ponybai.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883\",\"name\":\"ponybai\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/www.ponybai.com\/wp-content\/uploads\/2025\/03\/cropped-Ihsans-WeChatQR.jpg\",\"contentUrl\":\"http:\/\/www.ponybai.com\/wp-content\/uploads\/2025\/03\/cropped-Ihsans-WeChatQR.jpg\",\"width\":248,\"height\":248,\"caption\":\"ponybai\"},\"logo\":{\"@id\":\"http:\/\/www.ponybai.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/121.37.188.161\"],\"url\":\"http:\/\/www.ponybai.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528 - \u767d\u767d\u968f\u7b14","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.ponybai.com\/?p=2310","og_locale":"zh_CN","og_type":"article","og_title":"\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528 - \u767d\u767d\u968f\u7b14","og_description":"\u5b66\u4e60\u76ee\u6807 \u5b8c\u6210\u672c\u5355\u5143\u540e\uff0c\u60a8\u5c06\u80fd\u591f\uff1a \u5217\u51faRich Publisher Apps\u5e73\u53f0\u4e2d\u63d0\u4f9b\u7684\u63a5\u53e3\u548c\u4e8b\u4ef6\u3002 \u4ece\u5934\u5f00 &hellip; \u7ee7\u7eed\u9605\u8bfb\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528","og_url":"http:\/\/www.ponybai.com\/?p=2310","og_site_name":"\u767d\u767d\u968f\u7b14","article_published_time":"2020-04-07T02:54:46+00:00","og_image":[{"url":"https:\/\/res.cloudinary.com\/hy4kyit2a\/f_auto,fl_lossy,q_70\/learn\/modules\/rpa\/rpa_build\/images\/d314da3128df076f01a553ee05241fd7_rpa_icons_in_publisher_close_up.png"}],"author":"ponybai","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"ponybai","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.ponybai.com\/?p=2310#article","isPartOf":{"@id":"http:\/\/www.ponybai.com\/?p=2310"},"author":{"name":"ponybai","@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883"},"headline":"\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528","datePublished":"2020-04-07T02:54:46+00:00","dateModified":"2020-04-07T02:54:46+00:00","mainEntityOfPage":{"@id":"http:\/\/www.ponybai.com\/?p=2310"},"wordCount":200,"publisher":{"@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883"},"articleSection":["Community\u793e\u533a\u4e91"],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"http:\/\/www.ponybai.com\/?p=2310","url":"http:\/\/www.ponybai.com\/?p=2310","name":"\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528 - \u767d\u767d\u968f\u7b14","isPartOf":{"@id":"http:\/\/www.ponybai.com\/#website"},"datePublished":"2020-04-07T02:54:46+00:00","dateModified":"2020-04-07T02:54:46+00:00","breadcrumb":{"@id":"http:\/\/www.ponybai.com\/?p=2310#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.ponybai.com\/?p=2310"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.ponybai.com\/?p=2310#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/www.ponybai.com\/"},{"@type":"ListItem","position":2,"name":"\u9762\u5411\u793e\u533a\u7684Rich Publisher Apps -\u6784\u5efa\u5bcc\u53d1\u5e03\u8005\u5e94\u7528"}]},{"@type":"WebSite","@id":"http:\/\/www.ponybai.com\/#website","url":"http:\/\/www.ponybai.com\/","name":"\u767d\u767d\u968f\u7b14","description":"Salesforce\u5b98\u65b9\u8bb2\u5e08","publisher":{"@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.ponybai.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/935c7592c850c65e1e5eba4530dbf883","name":"ponybai","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/image\/","url":"http:\/\/www.ponybai.com\/wp-content\/uploads\/2025\/03\/cropped-Ihsans-WeChatQR.jpg","contentUrl":"http:\/\/www.ponybai.com\/wp-content\/uploads\/2025\/03\/cropped-Ihsans-WeChatQR.jpg","width":248,"height":248,"caption":"ponybai"},"logo":{"@id":"http:\/\/www.ponybai.com\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/121.37.188.161"],"url":"http:\/\/www.ponybai.com\/?author=1"}]}},"_links":{"self":[{"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/posts\/2310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2310"}],"version-history":[{"count":0,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=\/wp\/v2\/posts\/2310\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.ponybai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2310"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ponybai.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}