开放社交嵌入式体验

时间:2013-06-25 13:17:12

标签: ibm-connections ibm-sbt

我开发了一个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 . '"
        }
    }

}

之前在其他连接服务器上工作过,我是否需要进行任何额外的设置以允许小工具?

1 个答案:

答案 0 :(得分: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 还将白名单AllServer转换为True

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

重新启动Connections Server

它应该恢复并启用所有贴出的小工具作为EE