2024年04月の質問の中から整理します

[まとめページに戻る](https://qiita.com/Keiji_otsubo/items/60afc2a8d211b6f7d89f)
[Trailhead関係　年月で整理に戻る](https://qiita.com/Keiji_otsubo/items/84deb9c88d800102261a)

先月も回答しても無反応が多いなぁ。開発者フォーラムと統合されたハズですが、質問の数も激減しています。みんな頭がいい人ばかりになった？それともユーザ数が減っているんだろうか。

**参照して頂くのは結構ですが、そのまま内容を丸ごとコピーするような行為は控えて欲しいです。一応時間を掛けて作っているので、その点はご考慮願いたいです。**

なるべく、回答の中身も転記しておきます。結構な割合で質問者さんが黒歴史を消したいのか質問自体を削除しますので... 最良の答えとしてもらっても即消されることは大変多いです。

[2024年04月未解決の質問](https://qiita.com/Keiji_otsubo/items/dbd4a63acd9a745dc3e3)

------------------------


+ [Can't Relate a Contract to an Opportunity](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ahw8nSAA)

またもやスパマーに妨害された。

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

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

The problem was I did not realize I had a custom Record Page setup witch was not using  a standard opportunity page layout.
:::

+ [handleMultiply 関数呼び出しを lightning-layout-item の onbuttonclick ハンドラーに移動すると機能しますか?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bL3tQSAS)

:::note
デフォルトでは、カスタム イベントはホストを超えてバブルアップしません。

イベント (buttonclick) がlightning-layout-itemにバブルアップできるようにするには、 CustomEvent にbubbles: trueを追加します。

button.jsを開き、バブルのコメントを解除します (// の前にある // を削除します): true
:::

# Get Started with WhatsApp - Toggle Messaging On

+ [Get Started with WhatsApp - Toggle Messaging On](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007aiJUF)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/3901a172-e2f5-eaab-533a-8f1388538813.png)

https://trailhead.salesforce.com/content/learn/modules/whatsapp-for-service-cloud/get-started-with-whatsapp

:::note
This is a quiz-style module, so I don't think it can be configured in playgrounds or DE org.

I think you need to purchase a license.
https://salesforce.stackexchange.com/questions/288966/where-in-setup-or-in-permission-sets-is-the-configure-messaging-permission-s
:::

# Flow_Template_Name: Your organization doesn't have permission to create flows of processType "RoutingFlow

+ [2GP Managed Package creation error containing Omni-Channel Flow](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLA9Y)

# Call Center ID がフローでは使えない

+ [Is there a way to reference a blank lookup field in Salesforce Flow and can I blank the Call Center field?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007aiaQnSAI)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/1a64fe97-5a06-e44f-1225-7209551ae47d.png)

バグみたい。数式項目を作って回避できるらしい


# Pacific Daylight Time　がない

+ [Selected (GMT-07:00) Pacific Daylight Time (America/Los_Angeles) as I couldn't find Pacific [Standard or Daylight] Time (America/Los_Angeles) in company information! I am not getting "Login Hours" on the Support Profile.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007aibFz)

:::note
I was facing the same issue before, I tried some different time-zone other than Pacific [Standard or Daylight] Time (America/Los_Angeles) and then clear the time and again fill it then check the challenge.

Note: Do check whether login hours you set is updated as same it shown in the challenge if not try using some other time-zone or try to set time-zone to (5:30 Indian Standard)

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

# Broadcast checkbox 

+ [Broadcast checkbox disapear when create a group](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007aiP6mSAE)

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

# restart the flow (inside lightning component) in the Utility Bar

+ [How can I restart the flow (inside lightning component) in the Utility Bar when the URL is changed?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A91fBSAR)
+ [How can I restart the flow (inside lightning component) in the Utility Bar when the URL is changed?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLC6PSAW)

:::note
 Restart the Screen Flow in the Utility Bar when the current URL is updated
 https://www.youtube.com/watch?v=PxONBL4N2qU
:::


# The visibility rule on the Rich Text component has incorrect filter criteria. Make sure the field, operator, and value are correct.

+ [Help with Add Visibility Rules for Dynamic Pages module.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YvxYD)
+ [Hey, Iám having some troubles in the "visibility rules" challenge, I did all the request and my New Account page shows the text(HOT ACCOUNT) if the rule is fulfilled, but it shows that the component couldn´t be found even thought it is shown in the page.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ersiW)

:::note
You can use 'Prospect Rating' field instead of 'rating' field, but ensure that you have at least "Hot," "Warm," and "Cold" Values in 'Prospect Rating' in

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f3382624-865a-2b68-b66a-a48ac86ed09c.png)
:::


# We can't find the flow 'Notification: Case for Large Account'

+ [Mensagem de erro: We can't find the flow 'Notification: Case for Large Account'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007aixJo)

# Starts with vowel sound

+ [Can someone explain to me what 'Starts with vowel sound' checkbox is used for?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007aiV1m)

:::note
t's just to distinguish whether the system should refer to something as "A <Object>" or "AN <Object>".

If your object label starts with A E I O U, you tick the box.

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

# In the Shelley Major lead, we can’t find the 'New - Not Contacted' stage marked as complete

+ [Question re: Get Reps Working Efficiently in Workspaces](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ajBEj)

:::note
I just figured out what it is.... their is a typo on the challenge. It asks for "New - Not Contacted" to be completed. But when I did that. It said that was wrong. So I went to the next stage "Open - Not Contacted" and said that was complete, just to try it. Then the challenge was accepted and done. So there is a typo in the challenge. 
:::


# API limit is reached and it can only resume after 24 hours. But my question here is after the limit is resume and if I rerun the all test again I am not sure it will reach the limit again. 

+ [In the Apex SOAP Callouts Challenge by running the test classes the API limit is getting reached and could not continue with challenge](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLNBzSAO)

:::note
I think you can try it out in the new playground.
:::


# We can't save this record because the “Survey Invitation on Opportunity Closure” process failed. Give your Salesforce admin these details. Specify either leads, contacts, or users from your org as recipients. Error ID: 1061855498-141702 (-1221887557)r leads, contacts, or users from your org as recipients. Error ID: 1061855498-141702 (-1221887557)

+ [Error message on a modul Close Your Deal](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ajTRu)

:::note
I used option to deactivate survey and it helped 
:::

# The 'OppView' page doesn't include an 'apex:outputField' component bound to the opportunity account name

+ [can't pass the challenge "Create a Visualforce page that displays a variety of output fields"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLUzS)

:::note

Try this

 ```
 <apex:page standardController="Opportunity">
    <apex:pageBlock title="Opportunities">
     <apex:pageBlockSection >
         <apex:outputField value="{! Opportunity.Name}"/>
         <apex:outputField value="{! Opportunity.Amount}"/>
         <apex:outputField value="{! Opportunity.CloseDate}"/>
         <apex:outputField value="{! Opportunity.Account.Name}"/>
      </apex:pageBlockSection>
    </apex:pageBlock>
</apex:page>
```

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


# No report found in the public report folder

+ [[Trailhead] Unable to pass (error?) the Hands-on Challenge for Lightning Experience reports and dashboards.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLST4)

:::note
トレイルヘッドの問題のページの言語設定を英語に変えてみてください。
おそらくレポート名には(状況別のケース)の部分がないのではと思います。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/05e2d40d-b06f-c8c6-c57c-eb38cf8f96fb.png)

Challengeの問題文は日本語のままでレポート名を「Cases by Status」に変えただけではChallengeに合格できませんでしたが、
Challengeの問題文を英語にした上でレポート名は「Cases by Status」で確認してみたところ合格できました！


どうやら"Challengeの問題文を英語にする"という点が重要であったようです。
:::


# We can't save this record because the “Survey Invitation on Opportunity Closure” process failed. Give your Salesforce admin these details. Specify either leads, contacts, or users from your org as recipients. Error ID: 1061855498-141702 (-1221887557)r leads, contacts, or users from your org as recipients. Error ID: 1061855498-141702 (-1221887557)

+ [Error message on a modul Close Your Deal](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ajTRu)

:::note
If you have a flow created below, try deactivating it

Salesforce Surveys for Admins > Automate Your Survey Invitations
https://trailhead.salesforce.com/content/learn/modules/salesforce-surveys-for-admins/automate-your-survey-invitations

 I used option to deactivate survey
:::

# TestRestrictContactByname

+ [hi people, sorry againg but i dont undestand how resolve this point](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ajdUB)

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


# Select at least one cell from the table below.

+ [When I am trying to complete the Create Picklists and Field Dependencies challenge, it says I haven't picked any regions even though I selected all of the regions that it was asking for. It says "Select at least one cell from the table below."](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ajZhR)

:::note
Please check this article.

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


# Make sure the sharing set is set up with the correct access mapping for the case object

+ [Unable to Pass Site-Specific Sharing](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ajAbX)

:::note
I posted screenshots in the following thread:

https://success.salesforce.com/answers?id=9063A000000DY6J

Tally them against yours and check if it helps resolve the issue. If the config is exactly similar to mine, just do the challenge in a new dev org. 

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

# 「電話サポート」という名前のエンタイトルメントテンプレートが見つかりません。

+ [「電話サポート」という名前のエンタイトルメントテンプレートが見つかりません。](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLaDf)

:::note
たまたまデフォルトで入ったいた"Entitlement" の”Type”項目に、”電話サポート””Webサポート”という値が日本語になったいたため、そこを英語に変更したら無事クリアになりました。
:::

# The 'OppView' page doesn't include an 'apex:outputField' component bound to the opportunity account name

+ [can't pass the challenge "Create a Visualforce page that displays a variety of output fields"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLUzS)

:::note

```
<apex:page standardController="Opportunity">
    <apex:pageBlock title="Opportunities">
     <apex:pageBlockSection >
         <apex:outputField value="{! Opportunity.Name}"/>
         <apex:outputField value="{! Opportunity.Amount}"/>
         <apex:outputField value="{! Opportunity.CloseDate}"/>
         <apex:outputField value="{! Opportunity.Account.Name}"/>
      </apex:pageBlockSection>
    </apex:pageBlock>
</apex:page>
```

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

# We couldn't find the 'Type_of_Installation__c' field on the 'Energy_Audit__c' custom object

+ [Set Up Your Org - Lightning Experience Customization - Admin Beginner - Hands on Challenge Help](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ajtSV)

:::note
you don't have an existing 'Account__c' field on the object 'Energy_Audit__c'.
Can you try to verifiy if you created a field Account__c?

You can try to Go to Setup > Object Manager > Look for Energy Audit then create a field inside the object.

you may check if the custom field is visible.
click the "Set Field-Level Security" button

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


 The fields that I created were Hidden and once I updated the visibility as you mentioned it worked. 
:::