简体   繁体   English

是否可以在另一个外部网站中嵌入 Salesforce Lightning 应用程序

[英]Is it possible to embed a salesforce lightning app in another external website

I have a set of articles in salesforce.我在 salesforce 中有一组文章。 But in order to reduce the navigation from our website to another, we are planning to embed these articles on the website itself.但是为了减少从我们网站到另一个网站的导航,我们计划将这些文章嵌入网站本身。 I want to know if there is a way to embed the salesforce app as an iframe on another third party website.我想知道是否有办法将 salesforce 应用程序作为 iframe 嵌入另一个第三方网站。

The developer docs provides ways to embed the third-party websites to salesforce but is there some documentation for doing the opposite?开发人员文档提供了将第三方网站嵌入到 salesforce 的方法,但是否有一些文档可以做相反的事情?

It doesn't have to involve any code so try these out and maybe next time ask on https://salesforce.stackexchange.com/它不必涉及任何代码,所以试试这些,也许下次在https://salesforce.stackexchange.com/ 上询问

If you plan to use normal SF authentication search around about Lightning Out .如果您打算在Lightning Out周围使用正常的 SF 身份验证搜索。 It's a way to expose Aura components in non-Aura environments (Visualforce but also totally standalone pages written in other languages. You could even make an Outlook plugin if you want).这是在非 Aura 环境中公开 Aura 组件的一种方式(Visualforce 以及用其他语言编写的完全独立的页面。如果需要,您甚至可以制作 Outlook 插件)。 It even has something to work with guest users (without SF login), haven't used it but looks like you'd have to prepare something extra to make it work.它甚至可以与来宾用户一起使用(没有 SF 登录),还没有使用过它,但看起来您必须准备一些额外的东西才能使其工作。

Or或者

You could create a Community in Salesforce (customer community, partner community, doesn't matter much. What will matter is what access you'll give to "guest user", will you let them read all articles. Guest users could browse your product catalog, fill in some contact us form, read articles... without logging in. Up to you how much you want to do on your website vs Salesforce platform ;) There's also similar option without Community but with bit of coding - read up about Visualforce Sites .您可以在 Salesforce 中创建一个社区(客户社区,合作伙伴社区,无关紧要。重要的是您将授予“访客用户”什么访问权限,您是否让他们阅读所有文章。访客用户可以浏览您的产品目录,填写一些联系我们表格,阅读文章......无需登录。取决于您想在您的网站上与 Salesforce 平台上做多少事情;)还有没有社区的类似选项,但需要一些编码 - 阅读有关Visualforce 站点

Sites are free (some monthly traffic limits apply).网站是免费的(有一些每月的流量限制适用)。 Communities - actually I'm not sure.社区 - 实际上我不确定。 You might be able to have Community for free if you don't plan to buy any user licenses for it.如果您不打算为其购买任何用户许可证,则您可以免费使用 Community。 Check with your account manager.请咨询您的客户经理。

You can go quite far styling them.你可以走得很远来设计它们。 Can you tell these are built on Salesforce?你能说这些是建立在 Salesforce 上的吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM