1

我开发了一个 iWidget,它使用开放的社交嵌入式体验小工具创建状态更新,但它不起作用。

这是我发送到服务器的开放社交部分数据:

"openSocial": {
    "embed": {
        "gadget": "http://questionmine.com/app1/design/template/widgets/openSocial.xml?__dev_proxyPolicy__=intranet_access&__dev_policySet__=GADGET_TRUSTED%2CGADGET_SSO&__dev_appContexts__=EMBEDXP",
        "context": {
                    "communityid":"urn:lsid:lconn.ibm.com:communities.community:' . $key . '",
            "id": "' . $_POST['project'] . '",
                            "video":"' . $video . '",
                            "design":"' . $design . '",
                            "headline":"' . $headline . '"
        }
    }

}

这以前在另一个连接服务器上工作过,我需要做任何额外的设置来允许这个小工具吗?

4

1 回答 1

1

有一个名为 opensocial-config.xml 的文件

例如,在 Deployment Manager 上,它可能是... /local/con/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/localhostCell01/LotusConnections-config/opensocial-config.xml

<developer enabled="true" allowSSOFeature="true" allowIntranetProxyAccess="true">
    <developer-hosts-whitelist allServers="true">
    <!-- 
        List of base URLs that are allowed to publish 'developer-mode' gadgets
        <host url="http://{host.com}/base/url/1" />
                            ...
        <host url="http://{another.host.com}/base/url/N" />
     -->
</developer-hosts-whitelist>
</developer>

您想切换到 true 启用 allowSSOFeature allowIntranetProxyAccess 还将白名单 AllServers 切换为 True

编辑 /local/con/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/localhostCell01/LotusConnections-config/opensocial-config.xml

重新启动连接服务器

它应该会重新启动并启用所有发布的小工具以呈现为 EE

于 2013-06-26T11:48:46.470 回答