2022年06月の質問の中から整理します

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

[2022年06月未解決の質問](https://qiita.com/Keiji_otsubo/items/641ce09131b34ef09fac)
[2022年06月何故かベストアンサーをつけてくれない質問](https://qiita.com/Keiji_otsubo/items/0c804c50eadb3c4dec58)

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

# DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.

+ [Challenge: Learn About Salesforce Call Center](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000HDVir)

:::note
I had an error in the file. If you upload the file included in the trailhead without changing anything, it works properly.
:::

# デスクトップのナビゲーションメニューの変更がモバイルアプリに表示されない

+ [デスクトップのナビゲーションメニューの変更がモバイルアプリに表示されない](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000HkXqR)

:::note
Please check this article.

https://developer.salesforce.com/forums/?id=9062I000000g69rQAA
:::


# Summer '22 CPU TimeOut Issues

+ [Summer '22 CPU TimeOut Issues](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000HDM2j)

:::note
SF サポートから、バグ関連が解決され、この問題は発生しなくなったと連絡がありました。
:::

# Cannot read properties of undefined (reading 'isLegacy')

+ [Error while saving dashboard - Cannot read properties of undefined (reading 'isLegacy')](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000HkEyhSAF)

:::note
This widget issue got resolved. 
1. Compared the widget query in QA and UAT. 
2. One of dataflow - computeExpression API name was not matching.
3. Fix that field name in UAT , to make standard as QA. 
4. Re-run the dataflow.  
:::

# 電子メールがトリガーされたときに、レコード所有者から自動的に送信されるように電子メールアラートを設定しようとしています。

+ [レコード所有者の電子メールから電子メールを送信する](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000HDYB3SAP)

# We can’t find a text variable with the API name ‘opptyStage’. 

+ [We can’t find a text variable with the API name ‘opptyStage’. ?facing error](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000E9QhO)

:::note
As a workaround, you can use send email action. Before that, you need to add users' emails as Organization Wide Address so you can specify the sender as OrgWideEmailAddress and pass the email of the record owner. It should be like this: Record.Owner.Email. Then, the emails will be sent by the record owner because their email is listed as organization wide email address. Let me know if you have any questions.
:::


# On the Project object,we can't find the correct organization-wide defaulr sharing settings.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/e792410b-54df-51af-3ec1-60f31bd76970.png)

+ [I keep receiving the message On the project object we can't find the correct organization wide default share settings](https://trailhead.salesforce.com/ja/trailblazer-community/feed/0D54S00000HDVHl)

:::note
Make the Organization-Wide default sharing setting for the Project object to PRIVATE and tick mark the Grant Access Using Hierarchies checkbox. It help you to clear the challenge. 
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/4bfa4b12-4ba1-6edd-b664-180386115706.png)

Go to Setup --> Sharing Settings --> Organization-Wide Defaults --> Edit --> Property Object 

Please mark this question resolved after choosing an answer as the best answer  which can be helpful for many other Trailblazers for similar situations.

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

+ [Org wide settings](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000JgX7B)

:::note
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/233f2d6a-a3db-d8ac-cf56-24060fc32d50.png)

I ran into the same issue and I got around it by setting the default internal and External access to Private for the 'Project' object and then clicking the [Recalculate] button under the 'Project Sharing Rules' section. 

:::


# Set up a Salesforce Direct Query

+ [Issues with completing module "Set up a Salesforce Direct Query"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HDg8p)

:::note
You can give the below options a try

+ Clear the browsers cache & cookies -> Logout & login again then check challenge
+ Check your challenge in incognito mode/Private Window or in a different browser .
I will recommend that you should create a new playground and complete this task there.

If the issue still persists, please log a case. 
https://trailhead.salesforce.com/help
:::


# 休日ログインに対してアラートを出し、かつレポートで可視化したい

+ [休日ログインに対してアラートを出し、かつレポートで可視化したい](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HDfSF)

:::note
私はイベントモニタリングを使ったことがなく直接の回答ではないのですが、こちらの公式動画が参考になるかと思います。

[エキスパートコーチング] Event Monitoring Analytics クイックスタート

https://cs.salesforce.com/events/7013y0000025vfkAAA

これを流し見した感じでは、要件①のようなリアルタイムデータにもとづくアラートアクションができるかどうか不明です。イベントログはどこかのオブジェクトとして30日間データがあるようなので、スケジュールトリガフロー等で日次チェック程度ならできそうな気はします。

要件②は、イベントログ53種類のデータにログインとログアウトの両方が含まれているのに対し、イベントモニタリングアナリティクスではログインは記載ありますがログアウトが記載なく対象外のように見えます。従いまして、イベントモニタリングアナリティクスではログイン日時やログイン回数は見れるものの、ログアウトに関する情報やログイン滞在時間（ログアウト時間-ログイン時間）は見れないかもしれません。
:::



# errorCode": "PROCESSING_HALTED","message": "Invalid reference specified. No value for refOpportunity.Sub_Call_Type__c found in refOpportunity. Provided referenceId ('refOpportunity.Sub_Call_Type__c') 

+ [Invalid reference specified. No value, Provide must start with a letter or a number, and it can contain only letters, numbers and underscores ('_')."](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HDcSc)

:::note
Set the below three fields properly, and this is working for me.
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/2b13be3d-a8bb-f1af-46c5-3cf7d6a0115f.png)
:::


# engagement studio シナリオ構築の方法

+ [シナリオ構築の方法](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000H2v9A)

:::note
Unfortunately, This won't work in Pardot. However, this can achieve in Salesforce integrated with Pardot and get the data synced back to Pardot which will trigger the email sent on a particular date. (any CRM that can support the formula fields and workflows will work here)  Otherwise, in Pardot this would be a one-time setup for the whole year.
:::

# New Account action is not displaying on the app page : **Build an App Home Lightning Page**

+ [New Account action is not displaying on the app page](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HD9mZ)

:::note
I found the answer from Mikey Brown in another thread with the same question. Each action has to use a specific record type, go to the New Account global action and make sure that a record type is selected other than the default --Master--. 
:::

# No "Visit Execution" option in Action Plan template

+ [アクションプランテンプレートに「VisitExecution」オプションがありません](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HDjIk)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/5f4e42f6-6d7c-9b68-e255-36a552d417c5.png)


:::note
 I'm following the same steps mentioned there but not able to finish step #2. If you compare my screenshot with the one in step #2, there is no "Visit Execution" picklist option in Action Plan Type picklist. That's the problem. 
:::

# Assign Barbara Levy the Express Logistics and Transport Partner Manager role.

+ [Error with the role](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HDX6f)

:::note
It worked out!!! I had to create a NEW contact associate the partner account and activate. The user and manager roles have been recreated
:::

# Path & Highlights Panel have no data available to display component contents

+ [Path & Highlights Panel have no data available to display component contents](https://salesforce.stackexchange.com/questions/194816/path-highlights-panel-have-no-data-available-to-display-component-contents)

# 「標準のラベルタイプ」をスキップできず、「Master」または「B2BOpportunites」のいずれかを選択する必要があります。

+ [グローバルクイックアクションを作成する](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HjoGB)

:::note
thats what i had to do! just had to make a new playground in order for it to work right. Just wish i knew why it wasnt working for the next time i might run into this issue!
:::


# Salesforce is currently upgrading the template used to sign up your organization. Please try again soon.

+ [Registration error for CRM-enabled developer edition org](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HDdXi)

:::note
 Thanks for the replies. In fact I concluded that I was not able to create the org from Saudi Arabia, but at the same time, a friend of mine was able to create the org from Denmark, so when I used a VPN it worked.

The explanation that I got is that salesforce was running at that point un update to the platform in the background that was causing my error.

Concluding, it seemed like it was a matter of time for it to start working again as I did not do anything different. 

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

# Error Hostname must be a valid Salesforce hosted domain

+ [Error Hostname must be a valid Salesforce hosted domain](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HlQWnSAN)

![Something went wrong]()

:::note
Make sure the Save Payment Method is uncheck at check out. That has seen to have worked for us and our members are able to pay for their membership as well as for upcoming events until Fonteva releases a new patch to address, once again, these constant bugs, they seem to keep introducing every time the push out a new update or upgrade. Hope this works for your Org. 

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/db3118df-83ab-94eb-07dd-9e5f3783cfeb.png)
:::


# Why does my screen look different from the video in the module? I can't find the page that has these options. My screen within the setup-Profile-StandardProfileNoAcctDelete screen looks like the picture below. 

[Can't complete Challenge for "Create New Users and Allow a User to Delete Accounts"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HDh4V)

# We could not find the criteria 'Hiring Manager Not Blank' with the necessary condition. Double-check the instructions.

+ [Automate Business Processes for a Recruiting App Build a Process for Creating Interviewer Records](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HmYIF)

:::note
I think it's because of the point at the end of the criteria name, try to deactivate the process clone it as a new version, rename the criteria (delete the point) then save, activate the new version of the process and check again.

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

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

# This package can’t be installed. There are problems that prevent this package from being installed. Dependent class is invalid and needs recompilation: Class HandlerFindContact : WHERE Name LIKE :key ^ ERROR at Row:2:Column:20 field 'Name' can not be filt

+ [This package can’t be installed. There are problems that prevent this package from being installed. Dependent class is invalid and needs recompilation: Class HandlerFindContact : WHERE Name LIKE :key ^ ERROR at Row:2:Column:20 field 'Name' can not be filt](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HDkRB)

:::note
Please check this article.

Deployment error 'Dependent class is invalid and needs recompilation'
https://help.salesforce.com/s/articleView?id=000340653&type=1
:::


# In the Energy and Biotech Accounts list view, we can't find all accounts displayed.

+ [Getting an error for create unique account lists challenge](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000Hmw9c)

この設定になっているかを確認した方がいい
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/14460c1f-2dcf-2bac-848b-ad5cc78c051a.png)

---------------------------------
バグ修正完了

+ [INVALID_FIELD：'solar_panel_feedback_survey' AND InvitationLink！= NULL ^ ERROR at Row：1：Column：96 field'InvitationLink' can not filter in a query call  ](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HDfyp)

# PROBLEM with unit "Code with Salesforce Languages"

+ [PROBLEM with unit "Code with Salesforce Languages"](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000E9mdp)

:::note
Please check this article.

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



# 共有ルールでは通常の選択リストを使用できますが、複数選択リストは使用できません。

+ [Status field missing in Sharing settings](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HnQdB)

:::note
Please check this article.

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

# The Apex class doesn't use the '@future' annotation. Make sure the method uses the @future annotation.

+ [i have create @future annoatation but still it shows the same error](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HDvuS)

:::note
It look like you have any "AccountDeletion" Trigger on Account object which is failing. Can you please deactivate the same trigger and try above code again. Please follow below steo:-  
1) Please deactivate trigger "AccountDeletion" 
2) Execute Test Class again 
3) Check your challange


https://developer.salesforce.com/forums/?id=906F0000000BaG9IAK
:::


# リードが作成できない

+ [Write SOSL Queries Hands On Challenge](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000HE0W0)





# A user in our organization is getting an error of "Error occurred while retrieving the support request. Please contact your system administrator."

+ [Error Occurred while retrieving the support request error in Self Service](https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000H2uy7SAB)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/e444cdbb-4ccd-2f2d-c5b7-9ab14156ad18.png)

:::note
Please check this article.

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

https://community.bmc.com/s/question/0D53n00007lQdGsCAK/self-service-view-my-activity-error-occurred-while-retrieving-the-support-request-please-contact-your-system-administrator
:::