Get entitled products
Get list of product Ids that are entitled via third-party entitlements.
adobe.dps.store.getEntitledProducts
getEntitledProductsFunction
| Parameter |
Type |
Description |
| products |
productArray
|
Array of entitled product ids. |
| productId |
string
|
A list of product IDs. |
API Snippet
getEntitledProducts
<!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>getEntitledProducts API</title>
<script type="text/javascript">
window.onadobedpscontextloaded = loadPage;
function loadPage()
{
// call into the getEntitledProducts API
if (window.adobedpscontextloaded)
{
adobe.dps.store.getEntitledProducts(my_callback);
}
}
</script>
</head>
<body>
</body>
</html>