Update library

  • Since SDK: 20

Initiate library update. The response will not be sent through a callback function but through the libraryUpdateComplete since a library update can be initiated by different actions and the interface should be notified when this happens.

adobe.dps.store.updateLibrary

API Snippet

updateLibrary

<!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>updateLibrary API</title>
<script type="text/javascript">
function goToLibrary()
{
  if (window.adobedpscontextloaded)
  {
    // call into the updateLibrary API
    adobe.dps.store.updateLibrary();
  }
}
</script>
</head>

<body>
<button type="button" onclick="updateLibrary()">Update Library</button>
</body>
</html>