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

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

先月も回答しても無反応が多いなぁ。

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

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

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

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

# The 'ContactView' page doesn't include a bound owner's email variable for the Contact record

+ [Use Standard Controllers](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIMbH)

:::note
Contact E-Mail Address: {!Contact.owner.Email} <br/>

In third step you have to display the email of contact's owner email not the contact's email. Pleas try this.

```
Contact First Name: {!Contact.FirstName} <br/>
Contact Last Name: {!Contact.LastName} <br/>
Contact E-Mail Address: {!Contact.owner.Email} <br/>
```

:::

# Could not find a user with Chat Agent Permissions error

+ [Could not find a user with Chat Agent Permissions error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIBQk)

:::note
I created a new Org and completed the tasks successfully. 
:::

+ [【未解決】Chat Agent Configuration Error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000NR60c)
+ [【未解決】Chat Agent permissions](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000J872t)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/d80258b4-1467-e334-e37b-91acabe6b5a4.png)



# We were unable to insert a Case with a numeric value Engineering Req Number.

+ [We were unable to insert a Case with a numeric value Engineering Req Number.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007UvG7t)

:::note
The solution that worked for me was to create another playground and try the challenge again. I used the exact same approach, just in a new playground.  I hope this helps.
:::


# experience builder tab file not found/ page not found. 

+ [Working on Customize your site challenge, get error message](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIVUD)


# HTTP Method 'GET' not allowed. Allowed are POST : lightning/uiRecordApi err

+ [Lightning Copmonents lightning/uiRecordApi err](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X9Gc4)



# We can’t find a permission set group named ‘Sales_Orders’ with the correct permission sets in it.

+ [Permission set](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIaGK)

:::note
Please check this article

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


# We can't find the 'Variables' flow. Make sure you saved the flow 'Variables' as the API name.

+ [I am trying to finish the assignment, but I keep on getting an error message saying that I need to make sure the API name is Variables.
](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X9dew)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/21f1ed25-929d-f1ff-11d6-108af22c4482.png)

:::note
Could you please make sure that you are checking challenge against correct Playground.
:::

# Be sure the 'Update Records' element named 'Opportunity Stage Update' from the "Opportunity Stage to Qualification" flow has the correct filter conditions, including the 'Additional_Meeting_Scheduled__c' field.

+ [I have updated the flows several times but it still gives me the same error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X988VSAR)

:::note
Thanks for provided the org access. I have reviewed the issue in your org and found that there is a typo in the custom field you have created in Opportunity object. The field label entered as "Additional Meeting Schedule" and field name entered as "Additional_Meeting_Schedule".
:::



# Create an Opportunity and Contact Role is the challange.

+ [Hi, I'm trying to add a contact on the opportunity page but the add contact button is not there.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X9zSH)

:::note
Add related lists to your page layouts.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/cf7f6e52-8bb5-6d4f-95b3-2823870a7b25.png)
:::



# The height of the 'Opportunity Details' dashboard isn’t 1100. Change Height to 1100 and save the dashboard.

+ [Embed a CRM Analytics Dashboard in an Account Page Challenge](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YvcHC)

:::note
To solve all of the issues I went into the Service App and edited that home page and assigned it as the org default, then it let me proceed and accepted the 1100 height.
:::

# Create an External Lookup Relationship

https://trailhead.salesforce.com/content/learn/projects/quickstart-lightning-connect/quickstart-lightning-connect4

+ [Create an Indirect Lookup Relationship](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIf6rSAD)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/5b7206f4-78fa-f00c-c60e-ce899b3c12a8.png)

:::note
NOTE Only objects that have a custom field with the External ID and Unique attributes are available as parent objects in indirect lookup relationships. If you don't see the desired object when you create an indirect lookup relationship field, add a custom unique, external ID field to that object.
:::

# There are one or more invalid merge fields. Only use curly brackets when adding merge fields.

+ [There are one or more invalid merge fields. Only use curly brackets when adding merge fields.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YvZ7w)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/31f25358-b0e0-dddf-094e-7303640bb93d.png)

:::note
You may be missing some step by mistake.

Try to re-do again in a new trailhead playground.

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

# no StaticResource named

:::note alert
[CustomSite Liberty_Mutual_Customer_Pet_Portal] In field: ServerIsDown - no StaticResource named SNA_Liberty_Mutual_Customer_Pet_Portal1_sf_default_cdn_r2FSB found[ExperienceBundle Liberty_Mutual_Customer_Pet_Portal1] Implement "forceCommunity:availableForAllPageTypes" for the Aura component c:cfPolicyReferenceGuideLibertyMutual with ID 8a84c978-12af-4eab-915f-93d51200e336 and try again.
:::

+ [Trouble Deploying a community](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007AjGEs)

:::note
I came across this issue today. What solved the issue for me was to retrieve the Static Resource from the org it was generated in, and put it in our source control. When we included it in a deployment to another org, it was able to deploy. Definitely a very frustrating issue with little info online.

今日この問題に遭遇しました。私にとって問題を解決したのは、静的リソースが生成された組織から静的リソースを取得し、ソース管理に置くことでした。これを別の組織へのデプロイに含めたところ、デプロイできました。オンライン上の情報がほとんどなく、非常にイライラする問題であることは間違いありません。
:::


# Search Driven Redirects

+ [Search Driven Redirects"のために特定のURLを設定する方法：言語設定に関する問題かもしれません](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIUWp) 

「Search Driven Redirects」の設定方法を教えていただけますか？

「Synonyms」の設定を調整するときに通常行うように、「Search Driven Redirects」用の特定のURLを設定し、「Search Index」を再構築しました。しかし、期待した通りには機能しませんでした。

「Select Language」を「Japanese (Japan)」に設定するたびに（添付のスクリーンショットで黄色で強調表示されています）、それが「Default」設定にリセットされます。これが問題を引き起こしている可能性があると考えています

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/0911ba87-1333-a164-6044-f44796ece222.png)

:::note
本件、解決しました。設定したURLが良くなかったようです。普通にそのURLを使う分には問題なく表示されるのですが
:::


# We can't find the dashboard displaying the chart widget, list widget, and table widget. Be sure to follow the instructions for creating and saving these elements.

+ [Im getting an error for the "Create a Dashboard with a Conversational Query" module](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007StOWH)


:::note
The problem is that you have the widget in graphic mode, you need to transform it into a table so that you can proceed to the next module:

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/64a87e3a-6f86-1402-a36e-3707e738ae64.png)


To do it, you need to perform the following steps:

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/05f38cae-cfeb-0759-714c-b4359811200d.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/01789621-6f74-8a1d-df98-665ca3a4b492.png)
:::

# Create a commnuty with a URL ending in /UrsaMajorPotal

+ [Create a Customer Account Portal](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZAYRh)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/3c715854-4b58-5f58-f448-b9fabf4f0ddc.png)

:::note
I also went through the same issues, and here are there reason why:

1. The Name of the site should be exactely Ursa Major Customer Account Portal (don't change it)
2. The URL should end exactely with UrsaMajorPortal (don't change it)
3. The best practice says that you should clone the Customer Community User profile, but don't do it.

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

# Review the instructions for setting the Applicant status to 'Private'.

+ [Review the instructions for setting the Applicant status to 'Private'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIRJf)

:::note
yep thank you managed to get this done with a new playground and following some of the "tricks" suggested.

はい、新しい遊び場と提案されたいくつかの「トリック」に従って、なんとかこれを完了できたことに感謝します。
:::

# 最良の答えとマークしたのに消すようなぁ

+ [How would an admin go about preventing field lookup filters from throwing an error when three contact fields are being updated from an external API?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X9vzS)


Error: FIELD_FILTER_VALIDATION_EXCEPTION: Value does not exist or does not match filter criteria. Field = Example_Custom_Field__c

There is a second custom field with a lookup filter which also throws this error.

We are not passing data to these fields identified in the error. It is three other contact fields we are updating via the API. We don't understand why it's asking for validation on fields for which we are not passing data. 

Upon disabling the lookup filters on both fields there are no errors and life is good.

Disabling/modifying the lookup filters cannot be a permanent solution.

Thanks in advance for any insight the Trailblazer Community can provide.

:::note
Please check this article.

https://help.salesforce.com/s/articleView?id=000384986&type=1
:::


# FlowOrchestrationLog: Status: Failed, Count: 0, Percentage: 0%, Percentage batches: 0%, Error: Salesforce error: Error: INSUFFICIENT_ACCESS You don't have access to FlowOrchestrationLog Object

+ [Can't find FlowOrchestrationLog Object](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YvZ4s)

:::note
After Enable Sharing for Flow Orchestration Objects is selected, the Manage Flow user permission no longer grants users access to Flow Orchestration objects. The Manage Orchestration Runs and Work Items user permission plus sharing rules and role hierarchies control user access to Flow Orchestration objects. Users who run orchestrations and execute work items must still have the Run Flows user permission.

https://help.salesforce.com/s/articleView?id=release-notes.rn_automate_orchestrator_enable_object_sharing.htm&release=240&type=5

[フロー オーケストレーション オブジェクトの共有を有効にする] を選択すると、フローの管理ユーザー権限によってフロー オーケストレーション オブジェクトへのアクセスがユーザーに付与されなくなります。オーケストレーションの実行と作業項目の管理ユーザー権限に加えて、共有ルールとロール階層により、フロー オーケストレーション オブジェクトへのユーザー アクセスが制御されます。オーケストレーションを実行し、作業項目を実行するユーザーは、引き続き「フローの実行」ユーザー権限を持っている必要があります。
:::


# System.EmailException: SendEmail failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_OR_READONLY, Not profiled to access this Org-wide Email Address: []

+ [I am trying to set up the Personal Site Contact Lookup page. Whenever I try to test it, this message shows up: nullINSUFFICIENT_ACCESS_OR_READONLY: Not profiled to access this Org-wide Email, any clue why this is happening?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YvuZ5)

:::note
I just ran into this today, and adding the users profile to the allowed profile fixed it.  What I don't understand is, if it's trying to send the email from Apex, why does the user need permission?  I thought apex code was run as system profile? 

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

# License doesn't allow the Permission: RecordAggresstion Access

+ [RecordAggressionAccess Error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Yvnuo)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/62a7d646-740a-689a-47ca-f489358c80ed.png)

:::note
I was actually able to figure it out. Once we redeployed the Permission Set the error went away and you can now add Users to it.
:::

# actually i can not find encryption policy option in shield platform encryption 2nd module(setup and manage shield platform encryption) please solve this

+ [actually i can not find encryption policy option in shield platform encryption 2nd module(setup and manage shield platform encryption) please solve this](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZAizMSAT)

:::note
I got the answer...
The steps are

1.type encryption in quick find box
2.click on encryption settings
3.there you go...you can find encryption policy option
:::


# We created an opportunity and expected it to have an associated task, but it didn’t. Make sure your Apex trigger inserts the task into the database.

+ [Challenge is not completed.(Bulk Apex triggers)](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X7ESh)

英語環境で作った新しいプレイグランドで解決

# We can’t find a Lightning record page named ‘Partner_Account_Page’.

+ [RE : Customise an Object ? Customise record pages](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Yvv5f)

:::note
I expect that through the process of getting to those screens, something was saved that was not previously. Glad you were able to validate and complete the challenge.
:::

# We couldn’t find the Chatter Feed component Feed Type 'To Me' with the correct information. Ensure that you have selected the proper feed type.

+ [We couldn’t find the Chatter Feed component Feed Type 'To Me' with the correct information. Ensure that you have selected the proper feed type.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZB7fi)

:::note
Please check below setting
If this setting is the same as yours, try using new playground

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f0a86c8d-4d8d-dd8a-ae02-f2cd2cac74c6.png)
:::


# We can’t find the 'FirstName', 'LastName', and 'Email' fields imported into contactList.js.

+ [Use Apex to Work with Data](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZAloo)