Learn Admin Essentials in Lightning Experience > User Engagement > Create In-App Prompts


+ [障害？　2024-03-12](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007agf5h)
+ [Create In-App Prompts で　URLのエラー](https://qiita.com/Keiji_otsubo/items/9b4e243c10702e5e6604)

---------------
[アプリケーション内ガイダンスプロンプトの FAQ]()

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

https://trailhead.salesforce.com/content/learn/modules/user-engagement/create-in-app-prompts?trail_id=learn-admin-essentials

Prework:
If you didn’t complete the steps in the Link Images In Prompts section of this unit, do that now or you won’t be able to complete this challenge.

If you see a warning message and you already created a trusted URL for salesforce.com, disregard the warning.


+ Verify that pre-work is complete. In Setup, Trusted URLs should include this entry:
  + API Name: help_salesforce_com
  + URL: help.salesforce.com
  + CSP Directive: img-src (images) is selected

+ Create an in-app prompt:
  + Location: Sales Console Home page
  + Prompt Type: Docked Prompt
  + Custom theme Color Value: Dark

+ Define the prompt content:
  + Header: Check it out!
  + Title: Customize Your Console Navigation
  + Body: You can add, remove, and reorder navigation items at any time. (We won’t check this)

+ Add an image:
  + Media: Link to an image with a URL
  + Image URL: https://resources.help.salesforce.com/images/e543ddf8f778368bc30f38f19932cc90.png
  + Alt Text: Navigation list
  + Image Layout: Image Above Body Text (we won’t check this)


+ Define the prompt settings:
  + Action Button Label: Learn About Console Apps
  + Action Button URL: https://help.salesforce.com/s/articleView?id=sf.console_lex_feature_parity.htm&type=5
  + Schedule End Date: 1 month from today (we won’t check this)
  + Times to Show: 3
  + Days In Between: 5
  + Name: Customize Navigation in Console
  + API Name: CustomizeNavigationinConsole
  + Description: Tell users how to customize the navigation in the Sales Console app. (we won’t check this)

```
20230710admin@fukadadenki.co.jp のプレイグランドに設定
```

何もしないで検証ボタンをクリック

:::note alert
We can’t find a trusted URL for Salesforce Help in your org. Complete the Prework before you attempt this challenge.
:::

３つのパッケージをインストールしても上記エラーは変わらない

以下で２が選べないですね。

Define a Targeted Prompt

1. Click Single Prompt and then click Next.
2. For Prompt Type, select Targeted Prompt.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/49a72373-1ac8-dff2-cd0e-644d24c6f88f.png)

ヘルプをみるとでるらしいけど...

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

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/b2c53a9e-7ed0-ffe2-e67f-946866762f67.png)

https://www.forvis.com/forsights/2022/10/salesforce-winter-23-release-feature-in-app-guidance



**違うプレイグランドだと表示されたので、再度おかしなプレイグランドに接続すると、機能します。キャッシュかなぁ**

プロンプト内の画像をリンクするの手前までセットして検証ボタンを押してもエラーは同じ。

先頭にブランクが入っていたので、エラーになった

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/ce18fa80-e6ee-674e-fc10-62e16c67a3ad.png)

できたぁって思ったら...


:::note alert
In the 'Customize Navigation in Console' prompt, we can’t find the Title set to 'Customize Your Console Navigation'.
:::

間違ってタイトルにURLを設定してました。修正したら合格です。


![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/46793e8b-c969-cb42-a699-15c35024e8a9.png)



# The prompt named 'Customize Navigation in Console' with API name set to 'CustomizeNavigationinConsole' was not added to the Sales Console Home page.

+ [Challenge not yet complete in Mindful Shark Playground The prompt named 'Customize Navigation in Console' with API name set to 'CustomizeNavigationinConsole' was not added to the Sales Console Home page.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X8r9Q)

+ [check-in prompts(Admin beginner)](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007X8wR1SAJ)

:::note
組織でこれを確認したところ、Sales アプリのホームページに「Customize Navigation in Console」という名前のプロンプトが作成されていることがわかりましたが、これは Sales Console のホームページで作成する必要があります。

 I have reviewed this in your org and found that you have created a Prompt with the name "Customize Navigation in Console" in Sales app Home page but it should be created on Sales Console Home page.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/bee499a9-519a-b24a-c0e0-33dd5d86b139.png)
:::

+ [The prompt named 'Customize Navigation in Console' with API name set to 'CustomizeNavigationinConsole' was not added to the Sales Console Home page.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIW2K)
+ [Create Prompts in Lightning Experience](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ervFS)

:::note
プロンプトは、「Sales」アプリではなく、「Sales Console」アプリに追加する必要があります。

You have to add the prompt on the "Sales Console" app and not on the "Sales" app !!
:::

+ [Challenge is marking as completed even I had done all the steps](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007aje0W)
+ [How do I get past this error...](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007epjcD)
+ [Create Prompts in Lightning Experience Hands-on Challenge Not Verifying/Being Marked as Completed](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007cmHaG)


# 事前演習でのエラー？

+ [Getting this error in create In-App Prompts unit while creating Define a Targeted Prompt "Targeted prompts must be assigned to an element. Select an element or choose a different prompt type."](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007XIZTS)

:::note
This may not work if there is something left in your browser's cache.

Try logging out and logging in again.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/ace4c1e4-f880-6ee2-d6b8-63780703ab08.png)
:::

# In the 'Customize Navigation in Console' prompt schedule, we can’t find the Times to Show set to '3'.

+ [(Admin Beginner) Create In-App Prompts module, we can’t find the Times to Show set to '3'.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Yvu3nSAB)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/39b81a6f-4b57-17ff-9620-6c8260aec3d8.png)

:::note
Tried in entirely new playground and it works!
:::

# 自然に解消？

+ [Create Prompts in Lightning Experience -> Tergeted Prompts (problem)](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YvyXB)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/fcf89627-282e-8f5a-d97b-c18f11bfa697.png)
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/c3e07abe-7970-a2d6-73a1-b0969fc1794b.png)

:::note
After a while, however, it worked. I don't know what happened, but I went to Specify Prompt Settings.

しかし、しばらくするとうまくいきました。何が起こったのかわかりませんが、「プロンプト設定の指定」に進みました。
:::

+ [システム管理者初級 ユーザーエンゲージメント Lightning Experience でプロンプトを作成するについて](https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000J6ohu)


# Homeの設定が問題？

+ [Hi, still I'm facing issue to docked prompt not added to sales console home page.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YvwBy)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/13d2634e-6b18-2e96-6caf-5f08b629a74e.png)

+ [【未解決】The prompt named 'Customize Navigation in Console' with API name set to 'CustomizeNavigationinConsole' was not added to the Sales Console Home page. Kindly help me with this..](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Yvu6r)

# 言語設定も ?

+ [problem with the module (Create warnings in the application).](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007YwLvV)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/ad6b1fcb-efbd-66e9-b47e-a510d4d53782.png)

# 設定したホームが違う

+ [The prompt named 'Customize Navigation in Console' with API name set to 'CustomizeNavigationinConsole' was not added to the Sales Console Home page getting this error while soving my challenge in User Engagement module.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007aglOh)

:::note
I think the page you are setting is different.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/d7594690-a42a-4a92-00bd-ab03ff7cf27f.png)
:::

# Check it out! の設定が見つからない

+ [Hello, I was studying "Create prompts in lightning experience" under User engagement from Admin beginner and I followed every single instruction. But whenever I hit the green section to earn points, it shows below error. Please advise how to resolve.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bL8je)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/66d0bb1a-485e-72e6-16bb-8fb2e2a2b606.png)

:::note
Please check if the header is set correctly

+ Define the prompt content:
   + Header: Check it out!
   + **Title: Customize Your Console Navigation**
   + Body: You can add, remove, and reorder navigation items at any time. (We won’t check this)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/e6ee36fe-8919-f67a-b435-4b8da870f6f4.png)
:::

再設定の手順

Goto SETUP --> In-App Guidance --> Customize Navigation in Console --> Edit

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/f9bfc845-4796-72da-311f-2967706113f8.png)

Next

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/7afebf7c-fa18-933a-64f4-688fe9cc70d5.png)


+ [How to delete prompt from in-app guidance.?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007bLIch)
+ [Can I delete a duplicate API name?](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007epjby)

:::note
Goto SETUP --> In-App Guidance --> Customize Navigation in Console --> Delete

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/56716aba-e18c-63d4-50ea-c71ba3089973.png)
:::

# In the 'Customize Navigation in Console' prompt,we can't find the image Alt Text set to 'Navigation list'

+ [Can't find the Image Alt text set to 'Navigation List'](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ifhCw)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/2e1d4991-ed44-17f7-08be-52e29fdd18b5.png)

:::note
Try removing a dot

Navigation list. --> Navigation list
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/97932697-1908-96b3-5177-570563f35310.png)
:::

# In the 'Customaize Navigation in Console' prompt,we can't find the custom theme Color Value set to 'Dark'

+ [Unable to Turn On Dark Mode](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ervAmSAI)


![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/1914d006-4725-6d14-6d4b-6314e1f52cbd.png)

:::note
Try setting as below

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/14823e1e-f365-6f67-eb0f-bab60f08d471.png)

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

# 画像の設定をしていない

+ [I keep getting this error...Please help with what I am missing or doing wrong.](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007igHyH)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/b2d74e67-1ffa-7796-553a-962000dac33c.png)


:::note
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/3a4e50a8-2175-3246-c1de-2be9021154e2.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/5141b3f8-b495-30f0-c4d3-4a5fe32b3235.png)

:::

# 未解決

+ [Create Prompts in Lightning Experience - In-App Guidance Issues](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007ZBZXz)

+ [Create Prompts in Lightning Experience](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007igGxF)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/49d05428-ec3e-29b5-aa58-6a149b0b7041.png)

+ [Error Message when saving](https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007eonqg)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/328136/14215065-8145-0ac7-7f50-23eca9106d31.png)