Search In This Blog

2021-03-29

Put two Visualforce in same section, refresh by home tab link, first Visualforce disappeared | Safari | Community

In community buider, drag two Visualforce page into same section in Home page, then puliched.

Open the community page by Safari, use menu tab link or user profile's home link or logo to refresh home page. The first Visualforce page will be disappered.


Solution

  • Drag one html editor to community page.
  • Set it as null, then put it at the last of Visualforce page in the same section.

2021-03-10

After refresh, community URLcannot access in sandbox

After refresh sandbox, the Community can not access which was accessable. Check the custome url, site.com community's status is developing.

Solution
Open community builder, republish the community again.

2021-03-09

Sandboxリフレッシュ後、コミュニティのURLが公開されません

 本番からSandboxをリフレッシュ後、本来公開済みのコミュニティURLが開発中になっております。


カスタムURLで確認し、サイト種別がコミュニティのは公開済みになっておりますが、サイト種別がSite.comコミュニティのは開発中になっております。


解決策:

対象コミュニティのビルダーを開く、ヘッダーの「公開」をクリックし、URLが公開済みになります。

Salesforce開発便利なChrome拡張機能

Salesforce Inspector

レコードデータ、メータデータへ直接アクセスできる。データの確認には便利です。


Force.com LOGINS

複数のアカウントを管理できる。


GoFullPage

画面キャプチャーをとる。

2021-03-06

Salesforce開発入門タスク5 Apex トリガ

Apex トリガ関連のタスクとなります。

Apexの関連勉強tailhead:

https://trailhead.salesforce.com/en/content/learn/modules/apex_triggers?trail_id=force_com_dev_beginner


ステップ1

設定>ビルド>開発>Apex トリガ

Salesforce入門タスク4の対象オブジェクトのトリガを作成する

対象オブジェクトにテキスト項目と日付項目を新規作成する

機能:データ新規作成するとき、日付項目に今日の日付を設定する、トリガのインサート前(Insert before)、テキスト項目に日付項目のデータを設定し、保存する


ステップ2

機能:ステップ1で作成したデータを編集する、もしチェックボックスがFALSEの場合、トリガの更新前(Update before)でTRUEに設定し、保存する

確認ポイント:

  • データのチェックボックスがチェックされたこと
  • タスク4が完了した場合はメールも送信されること