entMetaData
Syntax

ManagedAdvert.entMetaData;
Access
readonly
Parameters
Return value EntMetaData
The Studio Server metadata object associated with the ManagedAdvert.
Description
The entMetaData property returns an EntMetaData object that provides access to the Studio Server metadata associated with the ManagedAdvert. Use this object to read metadata values such as the object ID, name, and status.
Examples
Read the name of the first managed advert
// Get the metadata of the first managed advert in the active document.
var adverts = app.activeDocument.managedAdverts;
if (adverts.count() > 0) {
var advert = adverts[0];
var name = advert.entMetaData.get("Core_Name");
alert("Advert name: " + name);
}
Supported versions
| Adobe Version | Supported |
|---|---|
| 2023 | ✔ |
| 2024 | ✔ |
| 2025 | ✔ |
| 2026 | ✔ |