Linux 软件免费装
Banner图

Lightning Flow iFrame

开发者 jasonbest
更新时间 2026年6月3日 04:58
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2
版权网址: 版权信息

标签

iframe Salesforce flow

下载

1.1.0 1.1.1 1.0.0

详情介绍:

Lightning Flow iFrame is a WordPress plugin that embeds Salesforce Lightning Screen Flows in a scalable iframe using a simple shortcode. Features:

安装:

  1. Go to Plugins in the Admin menu
  2. Click Add New → Upload Plugin
  3. Upload lightning-flow-iframe.zip
  4. Activate the plugin
  5. Configure Settings → Lightning Flow iFrame (optional)
  6. Add [Lightning-Flow-iFrame] to a page or post

常见问题:

How do I set up Salesforce?

Install the FlowIframeEmbed package (or deploy equivalent metadata), activate your Screen Flow, expose FlowIframeEmbed on a Salesforce Site, and grant guest access. See the GitHub repository and Salesforce setup guide.

Can I use just [Lightning-Flow-iFrame] with no attributes?

Yes, when you configure Default iFrame URL, Default Flow Name, and optionally Default End URL under Settings → Lightning Flow iFrame.

Is inputvars required?

No. Omit inputvars when your flow needs no URL inputs. When set, only listed parameters are passed to the flow. Matching values are read from the parent page URL query string (for example ?recordId=001xxx), from extraqs, or from shortcode attributes with the same name.

How do parent page variables reach the flow?

Set inputvars to a comma-separated allowlist of Flow input variable API names. If the WordPress page URL includes those query parameters, the plugin adds them to the iframe URL. Example page: https://yoursite.com/form/?recordId=001xxx&source=web with shortcode [Lightning-Flow-iFrame inputvars="recordId,source"].

How do I keep legacy behavior?

Leave Default Flow Name blank and do not add a flow attribute to your shortcode. Legacy mode forwards the full parent page query string and uses endurl (lowercase).

更新日志:

1.1.1 1.1.0 1.0.0: January 6, 2023