Sync a solution project from the environment
cs_sync_solutionUpdate an unpacked solution folder or .cdsproj to reflect the environment's current state by re-exporting the solution with pac solution sync. Read-only operation.
Instructions
Re-export the solution and update an existing unpacked solution folder or .cdsproj with the environment's current state. Read-only for the environment. Runs 'pac solution sync' with the active pac auth profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for pac (for project commands: the solution project folder) | |
| map | No | Mapping XML file for component folders | |
| async | No | Run the operation asynchronously | |
| include | No | Settings to include in the export (pac solution export --include values) | |
| profile | No | pac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles. | |
| localize | No | Extract string resources into .resx files | |
| background | No | Run in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status. | |
| environment | No | Environment id or URL; default: the environment of the active pac auth profile | |
| packageType | No | Unmanaged, Managed or Both (default Both) | |
| solutionFolder | No | Unpacked solution folder (Other/Solution.xml root) or .cdsproj folder; default: cwd | |
| timeoutSeconds | No | Default 3600 | |
| maxAsyncWaitTime | No | Max asynchronous wait time in minutes (default 60) |