Present custom dialog

  • Since SDK: 1.0.0

Display a custom subscription popup dialog. The dialog is a transaprent full screen webview that loads a url configured in the viewer. You dismiss this custom dialog by calling the dismissCustomDialog method from within the invoked webview.

API Snippet


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>presentCustomDialog API</title>
<script type="text/javascript">
function presentCustomDialog()
  if (window.adobedpscontextloaded)
    // call into the presentCustomDialog API;

<button type="button" onclick="presentCustomDialog()">Present Custom Dialog</button>