download_portal_sources
Download ServiceNow portal widget sources and related providers by scope, supporting incremental updates and selective exports.
Instructions
Targeted portal widgets/providers. Whole app: download_app_sources. widget_ids=one widget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Scope namespace (x_app) or app name; auto-resolved to the namespace. | |
| page_size | No | ||
| output_dir | No | Omit — default path is canonical and reused. Set only for one-off export. | |
| widget_ids | No | Optional list of widget sys_id/id/name. If empty, exports all widgets in scope. | |
| incremental | No | Re-download only records changed since last sync. Full-scope only. | |
| max_widgets | No | ||
| include_widget_css | No | ||
| reconcile_deletions | No | Warn about local records deleted on the instance. No auto-delete. | |
| include_widget_template | No | ||
| include_widget_link_script | No | ||
| include_widget_client_script | No | ||
| include_widget_server_script | No | ||
| include_linked_script_includes | No | ||
| include_linked_angular_providers | No |