copy_report
Duplicate a SAS Visual Analytics report and receive the new report's ID, enabling tailored copies for different audiences or repurposing for alternative data sources.
Instructions
Copy a Visual Analytics report to a new report, returning the copy's id.
Useful for tailoring a report to a new audience or for the copy-and-replace
pattern — copy, then apply_report_operations with a changeData op to
point the copy at a different table. Returns
{"status": "copied", "id": ..., "name": ..., "source_report_id": ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the copy (``resultReportName``); omit to let Viya name it. | |
| folder | No | Optional target folder URI (``resultFolder``); omit for the caller's My Folder. | |
| report_id | Yes | The source report id to copy. | |
| on_conflict | No | Name-conflict policy — ``rename`` (default), ``abort``, or ``replace``. | rename |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||