pyp6xer_search_activities
Search for activities in a Primavera P6 XER file by name or ID using case-insensitive substring matching. Filter by project and limit results.
Instructions
Search activities by name or activity ID (case-insensitive substring match).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to search in activity codes and names | |
| cache_key | No | Cache key identifying the loaded XER file (set when calling pyp6xer_load_file) | default |
| proj_id | No | Project ID or short name; uses first project if omitted | |
| limit | No | Maximum number of results to return | |
| fields | No | Subset of field names to return; call pyp6xer_get_activity_schema to see available names |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |