2023年4月の質問の中から整理します

[まとめページに戻る](https://qiita.com/Keiji_otsubo/items/60afc2a8d211b6f7d89f)

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

[2023年04月未解決の質問](https://qiita.com/Keiji_otsubo/items/a531a6d7fd1ddbf7f4ce)
[2023年04月何故かベストアンサーをつけてくれない質問](https://qiita.com/Keiji_otsubo/items/2b13f5c4b7f02479d234)

以前は分野別に分けていましたが、数が多くなったので単純に後ろに追加していきます。

+ [Module: Flow Builder Logic > Unit: Route and Reorder Flow Elements](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JgjJT)

Flow Builder Logic > Unit: Route and Reorder Flow Elements でPermission global variableがない？
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/6e1a051a-7367-b52c-43b8-581839309bec.png)

:::note
You will only see the option if you have one or more custom permissions in the org. That is why it asks you to create it first before building the flow. 
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/7d3ab0f0-ffa8-7919-4322-60e7d17bb168.png)
:::



# We couldn't find the custom fields for 'Status' on the Position object

+ [I am getting this error "We couldn't find the custom fields for 'Status' on the Position object. Review the instructions for creating the custom fields." and have double-checked and the Position object has the Status field just as directed.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000DfWxI)

:::note
Issue is resolved after changing the field level Accessibility for the field 'Status' to be visible to System Administrator.

- Click on the field Status from Fields & Relationships Page
- Click 'View Field Accessibility'
- Select 'Status' from 'Field accessibility for Field ' dropdown.
- Check 'System Administrator ' Field access. If it is 'Hidden', click on 'Hidden' , it will take you to another page . Select 'Visible' checkbox under 'Field Level Security'.
:::

+ ["We couldn't find the field 'Status' on the Position object. Review the instructions for creating the field name](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000TkyM2)


# The PageAccess property of BrightcoveCommunity1/routes/systemMaintenanceSchedule.json can't be changed during deployment. Update your file and try again

+ [Deployment of Experience Bundle to PROD](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JgYDR)

:::note
Please check this article.

https://www.foxy-solutions.com/salesforce/community-deployment-experiencebundle/
:::

# Evaluate Each Record in Reports with Row-Level Formulas Challenge Won't Verify

+ [Evaluate Each Record in Reports with Row-Level Formulas Challenge Won't Verify](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000OszLK)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/57f69907-7b37-1a49-8e00-d1b0bfa02ebe.png)

:::note
Please check this video. 

https://www.youtube.com/watch?v=gpOWN_snhp8 
:::

# he "Trailhead_Data_Manager" application cannot be found. Make sure the new Tableau CRM-enabled Developer Edition organization is selected in the picklist next to the Launch button.

+ [Tableau CRM](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000IScHi)

:::note
同じ問題が起こっていましたが、新たなメールアカウント（google accountを新規作成）で再度実行したところ解決しました。

①初めからブラウザーの言語設定を英語とし、英語にて特別版のDE環境を構築した。

②DE環境構築中に新しいブラウザやタブが開かれても前のブラウザは閉じない。※ここが新しく実行したときとvalidation errorのあったときの違いです。エラーが出ていた時は、アプリケーションランチャーにAnalytics Studioが存在していなかったので、環境設定時に何か問題が起きていたのかもしれません。

③上記をそのままに組織の接続を実行した。
:::

# Read" permission to object "CronTrigger" is not allowed for the current user. Error is in expression '{!initPage}' in component <apex:page> in page mc4sf:setup: (MC4SF)

+ [Why do we get the following error code when we select MailChimp?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JgmHdSAJ)

:::note
Please check this article.

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

# Run a flow within a flow

+ ["Run a flow within a flow"](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000OtkSXSAZ)

前のステップを実行していない？

# The Lightning Component flowruntime:lookup generated invalid output for field recordName. Contact your administrator with these details: Flow encountered an error when processing and converting between data types. Please check the flow and ensure all data types are matched correctly.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/e00f8023-2f5b-39fb-5277-c57729149569.png)

:::note
I assume that the fpi__Employee__c field is a lookup to another object? (Employee probably). The lookup pulls values from a lookup field on another object, so the Object API Name isn't the API name of the object you want to list, it's the API name of the object that has a lookup to the object you want to list. (Like if I wanted to show Accounts, I could do Object API Name: Opportunity and Field API Name: AccountId).

If that's not the problem, I did find another thread that references this issue: https://www.reddit.com/r/salesforce/comments/sbrq71/screen_flow_lwcs_suddenly_throwing_errors_in_the/. So, you could try clearing your cache and/or using a new browser (or maybe moving any assignment nodes after - though it doesn't sound like that was the underlying cause).
:::

# Things are a little ruff. We can’t find the 'varTrick' variable and the 'How are you paw-gressing?' picklist under the Pick a Trick field.

+ [Track your Paw-Gress Challenge Error Message](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jgz0M)

新しいプレイグランド



# We couldn’t find 'Maya Lorrette' as an 'Accounts Receivable' user. Review the instructions for adding 'Maya Lorrette'.

+ [Issues with the "Protect Your Data in Salesforce" project](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jgysr)

:::note
Please check this article.

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

# List view error: 'Picklist Value does not Exist'

+ [Hi in filter your reports module, I can't continue the challenge because, when setting up the filters is showing no record](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000Ou5Lb)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/052a6dbd-c1e0-282a-d845-0d1ac50a7ce6.png)

:::note
Please check this article.

Note: This error will also appear in reports when filtering based on a picklist field.

List view error: 'Picklist Value does not Exist'
https://help.salesforce.com/s/articleView?id=000385195&type=1
:::

# Can't find "Article Managment" under Topics on Experience site.

+ [Can't find "Article Managment" under Topics on Experience site.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Pigz9)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f5fcda43-a5ed-6f74-e96e-32c3815399cf.png)

:::note
In Setup, go to into Data Category Setup.  Create your categories, and make them active by clicking on the key icon.  Go to or refresh Content Management in the Community Editor. You should now see Article Manager.  If you don't, go back into Knowledge through the App Launcher and edit your published articles as a draft.  Assign a category by selecting the dropdown next to Categories, then republish the article.  Then go back into Content Management in the Community Editor.

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

# Opportunity Name, Probability (%), Close Date, Stage, Amount, Opportunity Owner" to my compact layout.

+ [Customize Record Highlights with Compact Layouts](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PeFsx)

:::note
Looking at the screenshot it looks like an Account object.

Mine was an Acount, missed this step.
I had the same issue, I don't know if you ever solved yours but I discovered my misake.
1.) I deleated my Post Template.
2.) Clicked New Template
3.) Select Object: Changed to Opportunities. (< Mine was an Acount, missed this step.)
4.) Next. Fill all fields according to instructions.
5.) Click Save and Refresh page(s).
6.) Challenge Completed.

https://developer.salesforce.com/forums/?id=9060G000000MVuxQAG

https://www.youtube.com/watch?v=ow1DG0ZZgIM
:::

# This feature is not currently enabled either for this record type or the given user type or org.

+ [Add Knowledge to the Site Using Topics](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jgyll)

:::note
Resolution
An admin may enable 'Topics' for desired 'Article Types' as outlined in the Enable Topics for Article documentation.
https://help.salesforce.com/s/articleView?id=000382505&type=1
:::

# Your connected app doesn't have an icon, or it has the incorrect one. Double check that you selected the Case Transcript icon and try again.

https://trailhead.salesforce.com/content/learn/projects/build-a-connected-app-for-api-integration/create-a-connected-app

+ [Your connected app doesn't have an icon, or it has the incorrect one. Double check that you selected the Case Transcript icon and try again.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Jgy1sSAB)

新しいプレイグランドでやり直した


# {!number} - 100

+ [Formula Variable](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PiZba)

:::note
I finally deleted my flow and started over. It worked!!
:::

# We can’t find the first custom thank you message with the CompanyName merge field

+ [Is there a step missing in "Surveys Customized Thank You Page - Use Merge Fields to Redirect Users"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PeH9N)

:::note
Figured it out. There was a typo in a word in the custom message, which caused the error
:::

# The 'Contact address change' Process was not found, or its not related to the Account object

+ [Had a question about Create a New Process on the Account Object](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PeIRX)

スペルミスみたい

# Error: No Object Type found for object name: Discount object api name: vlocity_ins__Promotion__c

+ [Frame Agreements Exercise #2](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000Pipg9)

:::note
I think it had to do with me being in a different instance of Salesforce. Working in the playground I was able to get it to work
:::

#  we can’t find a field value that sets 'Pawgress__c' to 'varTrick > Pawgress__c'.

+ [Error messages about the Trailhead dog challenge](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PjC7C)

:::note
Please check this video.

https://www.youtube.com/watch?v=ZPwZ0aFHuJk
:::

# Add action plan template to Visit

+ [Add action plan template to Visit](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PeLvi)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f65dc992-b9bb-65b8-c770-69a34cf27ef9.png)

:::note
I think you have to publish the template making it available for use
:::



# Filter List Creation Failed" under the project "Customize Patient Data Displays

+ [Error message: "Filter List Creation Failed" under the project "Customize Patient Data Displays"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JgVVy)

:::note
Just for clarification - I completed this project.  For some reason Physical Therapy Session had _ between each space that threw everything off. 
:::

# In the 'Add Generator Product to Named Opps' flow, we found your most recent changes in an earlier version. Save the version you want us to check as a new version (making it the new highest numbered version with the most recent changes).

+ [Flow builder logic> Define multiple paths in a flow. I keep receiving this Error can anyone help.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PeJxV)

:::note
Please try to delete older version of flow and make sure current version of flow is activated

1. From Setup, enter Flows in the Quick Find box, then select Flows.
2. Click the name of the flow.
3. To delete an individual version, click the Del link for that version.
:::

# Change Company name

+ [Change Company name](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000OttvO)

:::note
 If you change the company name then all of the related transaction will display the new company name. I think the best way to handle this is 
1) Create a new company record by cloning the old one
2) Write apex code to relate all of the open transactions from the old company to the new company
:::





# On the ‘Contact’ object, we can’t find the encrypted ‘Name’ field.

+ [Set Up and Manage Shield Platform Encryption](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PeNUH)

:::note
Please check this video.

https://www.youtube.com/watch?v=szRUote2Ivo 
:::

# Set Up a Customer Site with Experience Cloud The link in the project will not work. 

+ [How do I download the windows friendly zip file for "Set Up a Customer Site with Experience Cloud"?](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000Pkco9SAB)

:::note
I downloaded on my phone and sent it to myself.  I was using Chrome so I think it is a security setting that I will investigate later.
:::

# We can’t find a registration handler named 'Module3RegistrationHandler' associated with the Google auth provider.

+ [Identity for Customers - Set Up Social Sign-On](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JgRQj)

:::note
Not sure whether you managed to solve the issue, however, I got the same error!

in the Apex Classes list look for Module3RegistrationHandler and delete it. if it says it is already being used, try to deactivate what is linked to it. later you can copy the apex code and you will see the error is gone! Hope it helps. 
:::

これがいいと思う

:::note
go to Setup -> Apex Class. Create a new Apex Class called 'Module3RegistrationHandler' The Apex Code for the class handler is located via the link below:

https://github.com/salesforceidentity/IdentityTrail-Module3/blob/master/Module3RegistrationHandler.cls

Go to Setup -> Identity -> Auth.Providers and create a new Auth Provider called Google 


Click on the Registration Handler lookup and search for the Module3RegistrationHandler Apex Class you created.

The last step is to log in to the Partners site using Google authentication.
:::

# Error: Field Close_Reason__c does not exist. Check spelling.

+ [getting this error "Error: Field Close_Reason__c does not exist. Check spelling."](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000PkdLDSAZ)

:::note
The Close_Reason__c should be a multi-picklist field, refer to this module,

https://trailhead.salesforce.com/content/learn/projects/customize-a-salesforce-object/picklists-field-dependencies 

And you can revert the formula for the validation rule to be,

```
ISPICKVAL( StageName ,"Closed Lost") && ISBLANK( Close_Reason__c )
``` 

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