> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/platform/ja/user-guide/campaigns/managing-campaigns/creating-campaigns/types-of-questions/authoring-and-formatting-campaign-content.md).

# キャンペーンコンテンツの作成とフォーマット

### リッチテキストフォーマット <a href="#creatingcampaigns-richtextformatting" id="creatingcampaigns-richtextformatting"></a>

**Text**フィールドのリッチテキストエディタを使用してキャンペーンの質問と最終メッセージをフォーマットし、従業員のエクスペリエンスを向上させます。 テキストフォーマットオプションには、macOSエンドポイントでのボールド表示、およびmacOSとWindowsエンドポイントでの下線、イタリック、ハイパーリンク、異なるフォントサイズ、箇条書き、ラインブレークが含まれます。 質問を強調するために大きなテキストを使用し、挨拶や導入テキストには小さなテキストを使用することで、さまざまなテキストサイズを活用しましょう。

### 質問と最終メッセージのパーソナライズ <a href="#creatingcampaigns-personalizingquestionsandfinalmessage" id="creatingcampaigns-personalizingquestionsandfinalmessage"></a>

従業員の名前を含めることで、キャンペーンの質問をパーソナライズできます。 これを達成するには `{colleague}`や`{user}`のようなプレースホルダを**テキスト**フィールド内で使用します。キャンペーン回答のために予約されている**Choiceテキスト**フィールドには、これらのプレースホルダを使用しないでください。

`{colleague}` または `{user}` プレースホルダーを使用する際は、以下の点に注意してください：

* システムはまず、オペレーティングシステムからユーザー指定の名前を取得しようとします。
* 指定された名前が利用できないか、セキュリティ制限がそのリクエストをブロックしている場合、システムはユーザーのフルネームを取得しようとします。
* フルネームが利用できない場合、システムは現在のユーザーログイン名（一般的にはデバイスにサインインする際に使用するユーザー名）をデフォルトとして使用します。 [キャンペーン](#creatingcampaigns-previewingacampaign)をプレビューしているとき、プレースホルダーは置き換えられず、そのまま表示されます。

パラメトリックキャンペーンの場合、`{{parameter_id}}` プレースホルダーを含めることで質問関連の **テキスト** フィールドをさらにパーソナライズします。 システムはこのプレースホルダーをキャンペーンを送信する際に指定されたパラメーターIDに置き換えます。

### ハイパーリンクのフォーマット <a href="#creatingcampaigns-formattinghyperlinks" id="creatingcampaigns-formattinghyperlinks"></a>

ハイパーリンクはリンクの種類に応じて適切な形式である必要があります。 現在、Nexthinkはhttp、https、mailto、im:sip、およびスキームリンクをサポートしています。

**例**

* ウェブリンク:\
  `https://www.example.com/campaign-info`
* メールリンク:\
  `mailto:someone@example.com?subject=Optional%20subject`
* インスタントメッセージリンク:\
  `im:sip:username`
* セルフサービスソフトウェアポータルリンク:\
  `softwarecenter:SoftwareID=ScopeId_<ScopeID>/Application_<ApplicationID>`\
  `companyportal:ApplicationId=<ApplicationID>`\
  `jamfselfservice://content?entity=<content_type>&id=<content_id>&action=view`

**Text**フィールドに希望のテキストを入力し、その一部を選択します。 挿入アイコンをクリックしてURLを提供します。 **リンクを追加**ボタンをクリックして、選択したテキストの一部にリンクを挿入します。

<figure><img src="https://3549141153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLm8O7QKZDn6z806e7Sv%2Fuploads%2Fgit-blob-5cc7fc9dba1e8a888298023025a4b055a7909315%2Fimage.avif?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
キャンペーンのテキスト内のハイパーリンクの宛先URLをパラメータ化したい場合は、\[キャンペーンの種類] (../types-of-campaigns.md#use-case-passing-urls-as-parameters)のドキュメントで適切なユースケースを参照してください。
{% endhint %}

<figure><img src="https://3549141153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLm8O7QKZDn6z806e7Sv%2Fuploads%2Fgit-blob-7bb5bf964bb00a3d47942b8c5de1ad1b0699acc8%2Fimage%20(956).png?alt=media" alt=""><figcaption></figcaption></figure>

従業員がキャンペーン内のリンクをクリックすると、オペレーティングシステムがそのプロトコルに関連付けられたアプリケーションを開きます。

[Types of questions](/platform/ja/user-guide/campaigns/managing-campaigns/creating-campaigns/types-of-questions.md)と[Controlling the flow of questions](broken://pages/1cYy5LXa2KfwaRnPwTM0)のドキュメントで、詳細情報を確認してください。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.nexthink.com/platform/ja/user-guide/campaigns/managing-campaigns/creating-campaigns/types-of-questions/authoring-and-formatting-campaign-content.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
