0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Dynamic Forms

Last updated at Posted at 2023-08-18

まとめページに戻る
まとめA~M

トレイルヘッド


動的フォームを有効化した場合、作成・編集等の画面はページレイアウトからではなく動的フォームから適用されます。

Salesforce Platform でフォームを作成するときに、最適なオプションが動的フォームか Flow Builder の画面フローか判断できませんか?両方についての詳細な評価について

Do you have dynamic forms set up?
If so, try adding it on the edit screen of this record page.

一般的な回答例

In contacts- go to list view -select all contacts-select one contact and then click edit page in settings at the top right corner.

連絡先で - リスト ビューに移動 - すべての連絡先を選択 - 1 つの連絡先を選択し、右上隅の設定でページの編集をクリックします。

image.png

Click on the middle of the Details page, you will get an Dynamic Forms upgrade button at the right side of your page.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Dic8oSAB

動的フォームを使って項目「Field1」の値によって、項目「Field2」を表示、非表示に制御できると思います。

https://help.salesforce.com/s/articleView?id=sf.dynamic_forms_overview.htm&type=5

Select the header. On the right side you will see Upgrade

image.png
image.png

disable the dynamic forms

【こっちの回答の方がいい】
「コンポーネント」をクリックし、「標準コンポーネント」で「レコードの詳細」を検索します。レコード詳細コンポーネントを動的フォームのある Lightning レコードページセクションにドラッグすると、動的フォームが置き換えられます。

Click Components, search for Record Detail under Standard Components. Drag the Record Detail component onto the Lightning Record page section that has the Dynamic Form and it will replace it.

動的フォームが有効になった後でも、動的フォームを使用しないことを選択できます。そのため、単純に Lightning レコードページからフィールドセクションを削除し、代わりに詳細セクション (オブジェクトの実際のレイアウト) を使用します

You can choose not to use the Dynamic Forms, even after they are enabled - so simply remove the Field Section from the Lightning Record Page, and use the Details section instead (which is the actual Layout of the Object).

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8vBGSAZ

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000H2DYfSAN

サポートしているオブジェクト

動的フォームは、ほとんどの標準 LWC 対応オブジェクトでサポートされますが、すべての標準 LWC 対応オブジェクトでサポートされるわけではありません。LWC 対応オブジェクトのリストについては、「レコードのホームページの LWC への移行」を参照してください。Lightning アプリケーションビルダーでオブジェクトのレコードページを開いたが、コンポーネントパネルに [項目] タブが表示されない場合、そのオブジェクトでは、動的フォームはサポートされていません。たとえば、メモオブジェクトはレイアウトが固定されているため、動的フォームはサポートしません。動的フォームは、LWC 対応ではないオブジェクトではサポートされていません。たとえば、LWC 対応ではないキャンペーン、商品、ToDo では、ページレイアウトからの情報が使用されます。

仕様変更?

設定など

動的フォーム詳細タブを削除して、新たな詳細タブを追加して、詳細レコードページがこの詳細タブにドラグする。

I was actually able to find the solution. Turns out that using the standard Details component paired with the Dynamic Forms fields/field sections causes this to happen. If both are used, it will automatically cause the Dynamic Form field section to pop up when using any button.

実際に解決策を見つけることができました。標準の詳細コンポーネントを動的フォームのフィールド/フィールド セクションと組み合わせて使用​​すると、この問題が発生することがわかりました。両方を使用すると、いずれかのボタンを使用すると、動的フォーム フィールド セクションが自動的にポップアップします。

You have to click on the Fields tab as highlighted in the screenshot below and drag and drop the Field Section above the Additional Information section in the Details tab.

For full answer: https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007UuOnJSAV

以下のスクリーンショットで強調表示されている[フィールド]タブをクリックし、 [詳細] タブの [追加情報] セクションの上に フィールド セクションをドラッグ アンド ドロップする必要があります。

完全な回答については: https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007UuOnJSAV

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?