詳細情報:
disableDismiss および enableDismiss 関数
破棄関数は、ユーザーが [訪問] ボタンを選択したときにプレゼンテーションプレーヤーを閉じて処理する方法を制御します。これらの関数は、「returntovisitbuttonpress」イベントハンドラーで長期的な操作を実行します。

より一般的な検索語を使用する。
絞り込み条件を減らして、検索範囲を広げる。
破棄関数は、ユーザーが [訪問] ボタンを選択したときにプレゼンテーションプレーヤーを閉じて処理する方法を制御します。これらの関数は、「returntovisitbuttonpress」イベントハンドラーで長期的な操作を実行します。
| 使用可能なインターフェース: Lightning Experience |
| 使用可能なエディション: Life Sciences Cloud、Life Sciences Cloud for Customer Engagementアドオン ライセンス、Life Sciences Customer Engagement管理パッケージが付属するEnterprise EditionおよびUnlimited Edition。 |
この関数は、Life Sciences Cloud モバイル アプリケーションでのみサポートされます。
ユーザーが [訪問] ボタンを選択した直後にプレゼンテーションプレーヤーが終了しないようにするには、クエリや更新/挿入などの長期的なデータベース操作を実行する前に PresentationPlayer.disableDismiss() 関数をコールします。
プレゼンテーションプレーヤーに通知して終了するには、長期操作の終了後に PresentationPlayer.enableDismiss() 関数をコールします。30 秒以内にPresentationPlayer.enableDismiss()がコールされない場合、プレゼンテーションプレーヤーは自動的に退席します。
PresentationPlayer.disableDismiss() および PresentationPlayer.enableDismiss() 関数は、 プレゼンテーションプレーヤーで開くプレゼンテーションのみを制御します 。'returntovisitbuttonpress'イベントは、ユーザーが [訪問] ボタンを選択したときに現在開いているプレゼンテーションにのみ送信されます。
1 つのプレゼンテーションセッション中に複数のプレゼンテーションのデータを保存するために、ユーザーはカスタムプレゼンテーションを提示した後に [訪問] ボタンを選択できます。'returntovisitbuttonpress' イベントは現在のプレゼンテーションに対してトリガーされ、更新/挿入要求が実行されます。訪問を開いたら、ユーザーは [プレゼンテーションに戻る] リンクを使用して同じプレゼンテーションセッションに戻ることができます。
たとえば、ユーザーがプレゼンテーションプレーヤーでカスタムプレゼンテーションを開いたとします。ページを開くと、'viewappearing' イベント中に PresentationPlayer.disableDismiss() 関数がコールされ、実行時間の長い操作の進行中にプレーヤーが終了しないようにします。
ユーザーがプレゼンテーションを終了して [訪問] ボタンを選択すると、'returntovisitbuttonpress'イベントがトリガーされ、データの取得や更新/挿入など、実行時間の長いデータベース操作がプレゼンテーションで実行されます。これらの操作が完了すると、プレゼンテーションプレーヤーを閉じるために PresentationPlayer.enableDismiss() 関数がコールされます。

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.