公開 URL を取得する前に、メディアコンテンツが含まれている拡張 CMS ワークスペースにパブリックチャネルが関連付けられていることを確認します。チャネルを作成するには、「Create and Manage CMS Channels」 (CMS チャネルの作成と管理) を参照してください。ワークスペースにチャネルを追加するには、「Add or Remove a Channel from a CMS Workspace」 (CMS ワークスペースへのチャネルの追加または削除) を参照してください。 [CMS チャネル] タブを表示するには、「How to Enable CMS for your User Profile and Make CMS Tabs Visible」 (ユーザープロファイルで CMS を有効にして CMS タブを表示する方法) を参照してください。
公開 URL には、組織 ID、コンテンツが公開されるパブリックチャネルのチャネル ID、メディアコンテンツのコンテンツキーが含まれます。
チャネル ID を取得するには、こちらの API を使用するか、UI で次の手順を実行します。
2. ブラウザーで開発者ツールを開きます。Chrome で、Ctrl + Shift + i (Windows) または Cmd + Opt + i (macOS) を押します。
3. 開発者ツール内で [ネットワーク] タブ (1) をクリックし、斜線の入った円 (2) をクリックしてログをクリアします。
4. [CMS チャネル] リストでパブリックチャネルを見つけ、行レベルのアクションをクリックして [編集] をクリックします。
5. チャネル設定が開いたら、開発者ツールに移動して検索バーをクリックするか、Ctrl + f (Windows) または Cmd + f (macOS) を押します。
6. 検索バーに「0ap」と入力してチャネル ID (1) を見つけます。ID は「0ap」から始まり、18 文字です (例: 「0apfI000000F4hhQAC」)。
7. 18 文字の ID (2) をコピーして、後で見つけられる場所に貼り付け、最後の 3 文字を削除します。これで URL 用の 15 文字のチャネル ID を作成できます。
公開 URL を作成する
公開 URL の形式は次のようにします。
<組織ドメイン>/cms/delivery/media/<コンテンツキー>?channelId=<15 文字のチャネル ID>&oid=<15 文字の組織 ID>
例:
https://mycompanydomain.my.salesforce.com/cms/delivery/media/MCL3UQA5X2WVGXNKVOALZQHZRKLE?channelId=0apfI000000G4hh&oid=00DfI00000B8FqX
同じパブリックチャネルで公開されるコンテンツの公開 URL が必要な場合は、同じ URL を使用し、<コンテンツキー> を新しいコンテンツキーに置き換えることができます。
004519190

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.