LoginSignup
1
0

RecordTypeのまとめ

Last updated at Posted at 2022-03-24

まとめページに戻る
まとめN~Z

image.png

Please check this article.

Users cannot select a record type on new records nor change it for live records
https://help.salesforce.com/s/articleView?id=000380732&type=1

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

重複

image.png

Try to choose --Master-- for the Existing Record Type.

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

I think a record type with the same API name already exists.

If you can't delete the original record type, I think you have no choice but to use a new playground.

グローバルアクションとレコードタイプ

Global Actions work great until you create a record type for it's target object. Global Actions & Quick Actions both have to be record type specific.

Their default state is to referene the -Master- record type, so if you created a new record type, you have to edit your global 'New Event' action and identify which event record type you would like that global action to use (even if you only have one, if its not -Master-, you have to define it in your actions).

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

グローバル アクションは、ターゲット オブジェクトのレコード タイプを作成するまではうまく機能します。グローバル アクションとクイック アクションはどちらもレコード タイプ固有である必要があります。

デフォルトの状態では -Master- レコード タイプを参照するため、新しいレコード タイプを作成した場合は、グローバル '新しいイベント' アクションを編集し、そのグローバル アクションで使用するイベント レコード タイプを特定する必要があります (たとえ1 つしかありません。それが -Master- でない場合は、アクションで定義する必要があります)。

クイックアクションとレコードタイプ

組織でレコードタイプを使用すると、ユーザーのクイックアクションの可用性に影響を与える可能性があります。

ユーザーが特定のレコードタイプにアクセスできない場合、そのレコードタイプに割り当てられているアクションは使用できません。たとえば、アクションが混在するページレイアウトがあるとします。レコードタイプが割り当てられていないものと、レコードタイプAに割り当てられているものがあります。レコードタイプAにアクセスできないユーザーは、ページにアクセスしたときに割り当てられていないアクションのみを表示します。

デフォルトのグローバルアクション:特殊なケース
組織にデフォルトのグローバルアクションがあり、レコードタイプを使用している場合、ユーザーはページレイアウトに割り当てられているすべてのデフォルトアクションを表示できない可能性があります。

デフォルトのグローバルアクションは、ほとんどのプロファイルからアクセスできないマスターレコードタイプに割り当てられます。その結果、レコードタイプが構成されているターゲットオブジェクトに関連付けられているマスターレコードタイプのデフォルトのグローバルアクションは、ほとんどのユーザーが使用できません。この問題を修正するには、これらのオブジェクトに関連付けられているデフォルトのグローバルアクションを編集し、それらを別のレコードタイプに再割り当てします。

たとえば、新しい連絡先のデフォルトのグローバルアクションでは、ターゲットオブジェクトとして連絡先があります。Contactオブジェクトにレコードタイプを設定し、NewContactのデフォルトのグローバルオブジェクトをページレイアウトに追加するとします。そのページレイアウトに基づいてレコードにアクセスするユーザーには、アクションがデフォルトでマスターレコードタイプに割り当てられているため、新しい連絡先アクションは表示されません。新規連絡先のデフォルトのグローバルアクションを編集し、それをマスター以外のレコードタイプに割り当てると、割り当てられたレコードタイプにアクセスできるすべてのユーザーがそのアクションを利用できるようになります。

関連資料

deleting a record type will not delete the record, but before deleting a record type you have to make sure it's not the default record type of any profile and remove all active profiles from the record type. Then when you will delete the record type the record will be assigned to the default record type.
レコードタイプを削除してもレコードは削除されませんが、レコードタイプを削除する前に、それがプロファイルのデフォルトのレコードタイプではないことを確認し、レコードタイプからすべてのアクティブなプロファイルを削除する必要があります. その後、レコード タイプを削除すると、レコードはデフォルトのレコード タイプに割り当てられます。

Remove a record type

It was just that the record type wasn't showing under a few profiles so I followed the instructions on https://help.salesforce.com/s/articleView?id=000325379&type=1 to fix it.

Just wanted to update the default record type from a custom one to Master for all.

よく分からんけどトレイルヘッドのお題?

image.png

I have completed module even through I didn't able to change the Change record type. attached the screen shot with time in the right bottom. Still the error shows the same.

変更レコードタイプを変更できなかったにもかかわらず、モジュールを完了しました。右下に時間付きのスクリーンショットを添付しました。それでもエラーは同じことを示します。

1
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
1
0