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

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

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

なるべく、回答の中身も転記しておきます。結構な割合で質問者さんが黒歴史を消したいのか質問自体を削除しますので... 最良の答えとしてもらっても即消されることは大変多いです。
しかし、ここ最近は質問の数がかなり激減しています。新規のユーザが減っている感じがする。成長戦略も終わりかもしれませんね。既存のユーザをもっと大切にしないといけないフェーズになったのかもしれません。



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

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





# We couldn't find a field named Feature Area

+ [I couldn't create New Custom Object. Permissions for this object are disabled for all profiles by default, but I don't know how to enable them](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ep0o5)

# The 'RestrictContactByName' class did not achieve 100% code coverage via your test methods

+ [though i have created the code and the test cases are successful with 100% it doesnot mark the challenge as complete](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007clov3)

:::note
Please check this article.

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




# Salesforce Mobile App Emulator for Android

+ [Install Salesforce Mobile App Emulator for Android](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YwKKs)


![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/5a83a35f-fa82-7408-7321-07b575e7ce91.png)

+ [ApexクラスでUnicodeエスケープシーケンスの文字列を日本語文字に変換したい](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cltfP)

久しぶりに日本人にベストアンサー貰った後で速攻消されてしまいましたね。

ちょっとこの人の質問は注意しないといけませんね。
https://www.salesforce.com/trailblazer/salesforce2016

:::note
Apexクラスにはないと思いますね。

JavaScriptで変換できそうなので、コントローラ側のJava Scriptで変換してApexに返す方法は取れませんか？

https://shanabrian.com/web/javascript/unicode-unescape.php

https://www.kwonline.org/memo2/2014/11/21/unicode-escape-sequence-%E5%A4%89%E6%8F%9B%E3%83%84%E3%83%BC%E3%83%AB/
:::

# Do Users need permissions to access the Out of Office button?

+ [Do Users need permissions to access the Out of Office button?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cm7GP)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/bbea1833-abea-4886-2513-c516519853d0.png)

:::note
Check the page layout assignment for the profile of the users, maybe its not added there

 1. Go to Setup > Object Manager > User > User Page Layouts

 2. From there, check if the 'Out of Office' button is added under 'Salesforce Mobile and Lightning Experience Actions
:::


# We can’t find the 'Partners' profile assigned to the site named 'Partners'.

+ [We can’t find the 'Partners' profile assigned to the site named 'Partners'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X6YoD)

:::note
In order to fix this issue, first you need to clone External Identity User profile and call it Partners. Then you'll be able to select it from Available Profiles in the Members section of Administration. 

I had the same problem. I could not complete the task because this message appeared: "We can't find the 'Partners' profile assigned to the site named 'Partners'". - it was my mistake because I didn't do one step in Administration -> Members -> I had to add Partners to Selected profiles. After saving, the challenge was successfully completed.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/638c4b4e-fb75-ae90-43e8-feaa7c600fe1.png)
:::