beforeDetachArticle

When

Before detaching an article from a layout. A template of placed components of the article was generated for scripter to use before detaching the article component.

Where

Arguments in

Key Description
objectId The object ID of the article that will be detached.
Core_ID The object ID of the article that will be detached.
templateGeoFilePath The template file path.

Arguments out

n/a

Notes

A template with all placed components of the article will be generated in the file path: templateGeoFilePath, and will be deleted after the event.

Examples

Using beforeDetachArticle

var articleId = app.scriptArgs.get("Core_ID");
var templatePath = app.scriptArgs.get("templateGeoFilePath");
var msg = "About to detach article ID: " + articleId + "\n";
msg += "Geometry template: " + templatePath;
alert(msg);

Supported versions

Adobe Version Supported
2023
2024
2025
2026

See also