この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

MobileSettings

Chatter 設定や、Mobile Lite ��有効化されているかどうかなどの、組織のモバイル設定を表します。詳細は、Salesforce オンラインヘルプの「Salesforce Classic Mobile デバイスの管理」および「Chatter Mobile for BlackBerry の概要」を参照してください。

パッケージマニフェストでは、「Settings」の名前を使用してすべての組織設定メタデータ型にアクセスします。詳細は設定を参照してください。

宣言的なメタデータファイルのサフィックスおよびディレクトリの場所

MobileSettings の値は、settings ディレクトリの Mobile.settings という 1 つのファイルに保存されます。.settings ファイルは、各設定コンポーネントに設定ファイルが 1 つしかないため、他の名前つきのコンポーネントとは異なります。

MobileSettings は、API バージョン 25.0 および 26.0 では今後使用できません。

メモ

バージョン

モバイル設定は、API バージョン 27.0 以降で使用できます。

項目

項目 データ型 説明
chatterMobile ChatterMobileSettings Chatter Mobile デバイスの設定。
dashboardMobile DashboardMobileSettings モバイルデバイスのダッシュボードの設定。
salesforceMobile SFDCMobileSettings モバイルデバイスの一般的なユーザの設定。
touchMobile (廃止) TouchMobileSettings モバイルデバイスのタッチの設定。

ChatterMobileSettings

組織の Chatter Mobile 設定を表します。

項目 データ型 説明
IPadAuthorized boolean iPad デバイスで Chatter Mobile が有効化されているか (true)、否か (false) を示します。
IPhoneAuthorized boolean iPhone デバイスで Chatter Mobile が有効化されているか (true)、否か (false) を示します。
androidAuthorized boolean Android デバイスで Chatter Mobile が有効化されているか (true)、否か (false) を示します。
blackBerryAuthorized boolean Blackberry デバイスで Chatter Mobile が有効化されているか (true)、否か (false) を示します。
enableChatterMobile boolean 組織で Chatter Mobile が有効化されているか (true)、否か (false) を示します。

これを true に設定すると、その他のすべての設定を設定できます。この設定を true から false に変更して、さらに、その他いずれかの ChatterMobile 設定を変更しようと試みると、リリースはエラーで失敗します。

メモ

enablePushNotifications boolean 組織で Chatter 転送通知が有効化されているか (true)、否か (false) を示します。
sessionTimeout MobileSessionTimeout (string 型の列挙)
何も操作を行っていないユーザに、ログアウトするか操作を続行するかを尋ねるまでの時間。有効な値は、次のとおりです。
  • Never
  • OneMinute
  • FiveMinutes
  • TenMinutes
  • ThirtyMinutes

DashboardMobileSettings

組織のモバイルダッシュボード iPad アプリケーションの設定を表します。

項目 データ型 説明
enableDashboardIPadApp boolean モバイルダッシュボード iPad アプリケーションが組織で有効化されているか (true)、否か (false) を示します。

SFDCMobileSettings

組織の一般的なモバイル設定を表します。

項目 データ型 説明
enableUserToDeviceLinking boolean ユーザをモバイルデバイスに永続的にリンクします。ユーザがシステム管理者の介入なしでデバイスを切り替えることができないようにする場合のみ、このオプションを true に設定します。
enableMobileLite boolean 組織で Mobile Lite が有効化されているか (true)、否か (false) を示します。

TouchMobileSettings

この項目は廃止されました。Salesforce Touch は、Salesforce1 アプリケーションにアップグレードされました。

項目 データ型 説明
enableTouchBrowserIPad boolean 組織で Salesforce Touch モバイルブラウザアプリケーションが有効化されているか (true)、否か (false) を示します。
enableTouchAppIPad boolean 組織で Salesforce Touch のダウンロード可能なアプリケーションが有効化されているか (true)、否か (false) を示します。

宣言的なメタデータの定義のサンプル

これは、mobile.settings メタデータファイルのサンプルです。

1<?xml version="1.0" encoding="UTF-8"?>
2<MobileSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3    <chatterMobile>
4        <IPadAuthorized>true</IPadAuthorized>
5        <IPhoneAuthorized>true</IPhoneAuthorized>
6        <androidAuthorized>true</androidAuthorized>
7        <blackBerryAuthorized>true</blackBerryAuthorized>
8        <enableChatterMobile>true</enableChatterMobile>
9        <enablePushNotifications>true</enablePushNotifications>
10        <sessionTimeout>Never</sessionTimeout>
11    </chatterMobile>
12    <dashboardMobile>
13        <enableDashboardIPadApp>true</enableDashboardIPadApp>
14    </dashboardMobile>
15    <salesforceMobile>
16        <enableUserToDeviceLinking>false</enableUserToDeviceLinking>
17        <enableMobileLite>false</enableMobileLite>
18    </salesforceMobile>
19    <touchMobile>
20        <enableTouchBrowserIPad>false</enableTouchBrowserIPad>
21        <enableTouchAppIPad>true</enableTouchAppIPad>
22    </touchMobile>
23</MobileSettings>