Title: Lightning Flow iFrame
Author: jasonbest
Published: <strong>2023 年 1 月 18 日</strong>
Last modified: 2026 年 6 月 2 日

---

搜尋外掛

![](https://ps.w.org/lightning-flow-iframe/assets/banner-772x250.jpg?rev=3558681)

![](https://ps.w.org/lightning-flow-iframe/assets/icon-256x256.jpg?rev=3558424)

# Lightning Flow iFrame

 由 [jasonbest](https://profiles.wordpress.org/jasonbest/) 開發

[下載](https://downloads.wordpress.org/plugin/lightning-flow-iframe.1.1.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/lightning-flow-iframe/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/lightning-flow-iframe/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/lightning-flow-iframe/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/lightning-flow-iframe/#developers)

 [技術支援](https://wordpress.org/support/plugin/lightning-flow-iframe/)

## 外掛說明

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

Features:

 * Auto height adjustment based on flow content (postMessage)
 * FlowIframeEmbed mode: flow, endUrl, optional inputVars
 * Plugin defaults under Settings  Lightning Flow iFrame
 * Bare shortcode `[Lightning-Flow-iFrame]` when defaults are configured
 * Legacy mode preserved for existing Visualforce integrations

## 安裝方式

 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](https://github.com/jason-best/lightning-flow-iframe)
and [Salesforce setup guide](https://threelevers.com/support/products/lightning-flow-iframe/salesforce-setup/).

### 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).

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Lightning Flow iFrame〉的開發相關工作。

參與者

 *   [ jasonbest ](https://profiles.wordpress.org/jasonbest/)

[將〈Lightning Flow iFrame〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/lightning-flow-iframe)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/lightning-flow-iframe/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/lightning-flow-iframe/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/lightning-flow-iframe/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/lightning-flow-iframe/)。

## 變更記錄

#### 1.1.2

 * Documentation link on Plugins list and Settings page

#### 1.1.1

 * Embed mode: pass parent page query params listed in inputvars to the iframe URL
 * Read parent URL params from the page request (supports custom query var names)

#### 1.1.0

 * FlowIframeEmbed embed mode (flow, endUrl, optional inputVars)
 * Settings page: Default iFrame URL, Default Flow Name, Default End URL
 * Bare shortcode support when defaults are configured
 * Legacy mode unchanged when Default Flow Name is blank

#### 1.0.0: January 6, 2023

 * Initial release

## 中繼資料

 *  版本 **1.1.2**
 *  最後更新 **2 週前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 4.9 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/lightning-flow-iframe/)
 * 標籤:
 * [flow](https://tw.wordpress.org/plugins/tags/flow/)[iframe](https://tw.wordpress.org/plugins/tags/iframe/)
   [salesforce](https://tw.wordpress.org/plugins/tags/salesforce/)
 *  [進階檢視](https://tw.wordpress.org/plugins/lightning-flow-iframe/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/lightning-flow-iframe/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/lightning-flow-iframe/reviews/)

## 參與者

 *   [ jasonbest ](https://profiles.wordpress.org/jasonbest/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/lightning-flow-iframe/)