Refresh entitlements

  • Since SDK: 1.0.0

Initiate a refresh of entitlements in the viewer. Notice that there is no callback for this function. On error, will fail silently

adobe.dps.store.refreshEntitlements

API Snippet

refreshEntitlements

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>refreshEntitlements API</title>
<script type="text/javascript">
window.onadobedpscontextloaded = loadPage;
function loadPage()
{
  // call into the refreshEntitlements API
  if (window.adobepscontextloaded)
  {
    adobe.dps.store.refreshEntitlements();
  }
}
</script>
</head>

<body>
</body>
</html>