duplicate_report
Clone an .rdl report to a new path, automatically regenerating report and data source IDs to prevent identity collisions in Power BI Report Builder.
Instructions
Clone an .rdl to a new path. When regenerate_ids=true (default), every rd:DataSourceID and any rd:ReportID is rewritten to a fresh uuid4() so Power BI Report Builder doesn't refuse to load the duplicate due to identity collision. Atomic-write convention from RDLDocument.save_as. Refuses if dst_path already exists. Returns {src, dst, regenerated_ids: list[str]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst_path | Yes | ||
| src_path | Yes | ||
| regenerate_ids | No |