@salesforce/afv-skills 1.63.0 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/agentforce-gpt-email-generation-configure/SKILL.md +312 -0
- package/skills/agentforce-offline-experimentation-run/SKILL.md +253 -0
- package/skills/agentforce-offline-experimentation-run/scripts/build_report.py +796 -0
- package/skills/agentforce-offline-experimentation-run/scripts/resolve-token.sh +111 -0
- package/skills/agentforce-offline-experimentation-run/scripts/sfap_replay.py +1053 -0
- package/skills/agentforce-wizard-ui-forecasting-analytics-components-configure/SKILL.md +64 -0
- package/skills/agentforce-wizard-ui-sales-einstein-components-configure/SKILL.md +46 -0
- package/skills/automation-company-profile-info-query/SKILL.md +51 -0
- package/skills/automation-digital-wallet-configure/SKILL.md +689 -0
- package/skills/automation-flow-coordinate/SKILL.md +95 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/action-call.md +1569 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/conversation-messaging.md +96 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-sms-message.json +23 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-to-journey-no-fields.json +31 -0
- package/skills/automation-flow-coordinate/references/elements/action-call/send-to-journey.md +179 -0
- package/skills/automation-flow-coordinate/references/elements/exit-rule/examples/event-email-link-click.json +13 -0
- package/skills/automation-flow-coordinate/references/elements/exit-rule/exit-rule.md +83 -0
- package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/examples/forward-to-bot-or-agent.json +69 -0
- package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/forward-to-bot-or-agent.md +274 -0
- package/skills/automation-flow-coordinate/references/elements/start/audience-common.md +192 -0
- package/skills/automation-flow-coordinate/references/elements/start/automation-event-triggered.md +130 -0
- package/skills/automation-flow-coordinate/references/elements/start/data-cloud-data-change-triggered.md +92 -0
- package/skills/automation-flow-coordinate/references/elements/start/form-submission-triggered.md +88 -0
- package/skills/automation-flow-coordinate/references/elements/start/segment-triggered.md +152 -0
- package/skills/automation-flow-coordinate/references/elements/start/start.md +539 -0
- package/skills/automation-flow-coordinate/references/elements/subflow/subflow.md +152 -0
- package/skills/automation-flow-coordinate/references/elements/wait/wait.md +497 -0
- package/skills/automation-flow-coordinate/references/recipes/author/author.md +868 -0
- package/skills/automation-flow-coordinate/references/recipes/summarize/element-generic.md +300 -0
- package/skills/automation-flow-coordinate/references/recipes/summarize/reference-resolution.md +292 -0
- package/skills/automation-flow-coordinate/references/recipes/summarize/summarize.md +323 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/examples/debug-output-template.md +109 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/shape.md +219 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/shared-stages/intent-analyzer.md +180 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/debug.md +175 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/promote.md +255 -0
- package/skills/automation-flow-coordinate/references/recipes/testing/workflows/save-debug.md +212 -0
- package/skills/automation-flow-coordinate/references/resources/variable/variable.md +171 -0
- package/skills/automation-flow-coordinate/references/shared/anti-patterns.md +786 -0
- package/skills/automation-flow-coordinate/references/shared/end/end.md +267 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/README.md +69 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/predictions.jsonl +80 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/prompts.jsonl +116 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/flow-type-resolver.md +321 -0
- package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/taxonomy.json +320 -0
- package/skills/automation-flow-coordinate/references/shared/server-functions.md +597 -0
- package/skills/automation-sandbox-post-copy-config-generate/SKILL.md +21 -11
- package/skills/automation-sandbox-post-copy-config-generate/assets/config_template.json +10 -0
- package/skills/automation-sandbox-post-copy-config-generate/assets/json_schema.json +33 -1
- package/skills/automation-sandbox-post-copy-config-generate/references/configuration_catalog.md +44 -1
- package/skills/automation-sandbox-post-copy-configure/SKILL.md +132 -124
- package/skills/automation-sandbox-post-copy-configure/references/flow_activation_path.md +151 -0
- package/skills/automation-sandbox-post-copy-configure/references/scheduled_apex_path.md +55 -9
- package/skills/automotive-cloud-appraisal-management-settings-configure/SKILL.md +69 -0
- package/skills/automotive-cloud-dealer-essentials-configure/SKILL.md +78 -0
- package/skills/automotive-cloud-ground-agent-data-pipelines-configure/SKILL.md +373 -0
- package/skills/automotive-cloud-ground-mfg-agent-data-pipelines-configure/SKILL.md +273 -0
- package/skills/automotive-cloud-mfg-agent-data-pipelines-configure/SKILL.md +259 -0
- package/skills/automotive-cloud-mfg-sales-concierge-agent-create/SKILL.md +369 -0
- package/skills/automotive-cloud-mfg-sales-concierge-foundation-configure/SKILL.md +542 -0
- package/skills/automotive-cloud-mfg-sales-concierge-foundation-coordinate/SKILL.md +159 -0
- package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-agent-create/SKILL.md +349 -0
- package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-configure/SKILL.md +505 -0
- package/skills/automotive-cloud-sales-concierge-agent-create/SKILL.md +380 -0
- package/skills/automotive-cloud-sales-concierge-foundation-configure/SKILL.md +567 -0
- package/skills/automotive-cloud-sales-concierge-foundation-coordinate/SKILL.md +159 -0
- package/skills/automotive-cloud-sales-concierge-orchestrator-agent-create/SKILL.md +360 -0
- package/skills/automotive-cloud-sales-concierge-orchestrator-configure/SKILL.md +539 -0
- package/skills/automotive-cloud-sales-concierge-search-grounding-configure/SKILL.md +358 -0
- package/skills/commerce-b2b-merchant-quote-configure/SKILL.md +602 -0
- package/skills/commerce-b2b-store-configure/SKILL.md +251 -0
- package/skills/commerce-credit-memo-create/SKILL.md +139 -0
- package/skills/commerce-delivery-business-hours-configure/SKILL.md +277 -0
- package/skills/commerce-delivery-estimation-apply/SKILL.md +155 -0
- package/skills/commerce-delivery-estimation-configure/SKILL.md +377 -0
- package/skills/commerce-delivery-routing-specs-integrate/SKILL.md +174 -0
- package/skills/commerce-estimate-bopis-query/SKILL.md +279 -0
- package/skills/commerce-estimate-delivery-date-query/SKILL.md +349 -0
- package/skills/commerce-fees-apply/SKILL.md +227 -0
- package/skills/commerce-fulfillment-routing-analyze/SKILL.md +200 -0
- package/skills/commerce-guest-buyer-create/SKILL.md +173 -0
- package/skills/commerce-location-bopis-configure/SKILL.md +378 -0
- package/skills/commerce-location-business-hours-configure/SKILL.md +235 -0
- package/skills/commerce-location-delivery-processing-time-configure/SKILL.md +309 -0
- package/skills/commerce-location-graph-integrate/SKILL.md +131 -0
- package/skills/commerce-location-shipping-carrier-method-configure/SKILL.md +755 -0
- package/skills/commerce-location-temporary-operating-hours-configure/SKILL.md +331 -0
- package/skills/commerce-merchant-buyer-groups-configure/SKILL.md +579 -0
- package/skills/commerce-merchant-buyer-user-onboarding-create/SKILL.md +626 -0
- package/skills/commerce-merchant-catalog-configure/SKILL.md +614 -0
- package/skills/commerce-merchant-extension-provider-configure/SKILL.md +368 -0
- package/skills/commerce-merchant-insights-account-health-churn-analyze/SKILL.md +118 -0
- package/skills/commerce-merchant-insights-inventory-returns-analyze/SKILL.md +65 -0
- package/skills/commerce-merchant-insights-order-shopper-get/SKILL.md +90 -0
- package/skills/commerce-merchant-insights-product-performance-analyze/SKILL.md +72 -0
- package/skills/commerce-merchant-insights-query/SKILL.md +279 -0
- package/skills/commerce-merchant-storefront-guest-access-configure/SKILL.md +656 -0
- package/skills/commerce-order-summary-change-apply/SKILL.md +375 -0
- package/skills/commerce-product-details-get/SKILL.md +363 -0
- package/skills/commerce-product-search/SKILL.md +563 -0
- package/skills/commerce-react-storefront-create/SKILL.md +350 -0
- package/skills/commerce-return-order-summary-create/SKILL.md +513 -0
- package/skills/commerce-search-relevance-analyze/SKILL.md +757 -0
- package/skills/commerce-temporary-processing-time-override-create/SKILL.md +274 -0
- package/skills/communications-initial-setup-configure/SKILL.md +630 -0
- package/skills/communications-multisite-configure/SKILL.md +571 -0
- package/skills/communications-revenue-cloud-settings-configure/SKILL.md +74 -0
- package/skills/communications-smb-fiber-catalog-create/SKILL.md +413 -0
- package/skills/communications-tmf-integrate/SKILL.md +1368 -0
- package/skills/consumer-goods-promotion-bo-api-deploy/SKILL.md +54 -107
- package/skills/consumer-goods-promotion-bo-api-deploy/assets/set-comment-value/payloads/copy.json +1 -1
- package/skills/consumer-goods-promotion-bo-api-deploy/references/conventions-and-payload-rules.md +82 -5
- package/skills/consumer-goods-promotion-bo-api-deploy/references/generate-and-wire.md +35 -2
- package/skills/consumer-goods-promotion-bo-api-deploy/references/preflight-and-seed-queries.md +149 -0
- package/skills/consumer-goods-promotion-bo-api-deploy/references/smoke-and-verify.md +17 -1
- package/skills/consumer-goods-visit-activity-act4-questions-assign/SKILL.md +448 -0
- package/skills/consumer-goods-visit-activity-act5-standard-create/SKILL.md +269 -0
- package/skills/consumer-goods-visit-activity-act6-assortment-configure/SKILL.md +271 -0
- package/skills/consumer-goods-visit-activity-act7-account-scoping-create/SKILL.md +382 -0
- package/skills/consumer-goods-visit-activity-act8-plan-attach-create/SKILL.md +373 -0
- package/skills/consumer-goods-visit-activity-act9-proof-validate/SKILL.md +389 -0
- package/skills/consumer-goods-visit-and-activity-act1-specification-create/SKILL.md +338 -0
- package/skills/consumer-goods-visit-and-activity-act2-template-create/SKILL.md +547 -0
- package/skills/consumer-goods-visit-and-activity-act3-definition-create/SKILL.md +346 -0
- package/skills/consumer-goods-visit-and-activity-configure/SKILL.md +1110 -0
- package/skills/crm-analytics-adoption-insights-configure/SKILL.md +224 -0
- package/skills/crm-analytics-custom-report-type-lightning-configure/SKILL.md +418 -0
- package/skills/crm-analytics-dashboards-configure/SKILL.md +731 -0
- package/skills/crm-analytics-operational-analytics-metadata-bridge-migrate/SKILL.md +233 -0
- package/skills/crm-analytics-report-notifications-ui-configure/SKILL.md +184 -0
- package/skills/crm-analytics-sharing-inheritance-coverage-analyze/SKILL.md +167 -0
- package/skills/crm-analytics-sonic-getting-started-configure/SKILL.md +55 -0
- package/skills/crm-analytics-tableau-next-app-deploy/SKILL.md +1350 -0
- package/skills/crm-analytics-tableau-next-c360-basemodel-validate/SKILL.md +1862 -0
- package/skills/crm-analytics-tableau-next-datacloud-validate/SKILL.md +83 -0
- package/skills/crm-analytics-tableau-next-provisioning-validate/SKILL.md +81 -0
- package/skills/data360-activation-create/SKILL.md +104 -0
- package/skills/data360-activation-external-platform-get/SKILL.md +49 -0
- package/skills/data360-activation-target-create/SKILL.md +93 -0
- package/skills/data360-activation-v2-create/SKILL.md +456 -0
- package/skills/data360-audience-dmo-get/SKILL.md +38 -0
- package/skills/data360-calculated-affinity-create/SKILL.md +82 -0
- package/skills/data360-calculated-insight-create/SKILL.md +148 -0
- package/skills/data360-catalog-metadata-create/SKILL.md +183 -0
- package/skills/data360-code-extension-create/SKILL.md +115 -0
- package/skills/data360-communication-capping-create/SKILL.md +227 -0
- package/skills/data360-connection-create/SKILL.md +491 -0
- package/skills/data360-content-lens-create/SKILL.md +181 -0
- package/skills/data360-data-action-create/SKILL.md +126 -0
- package/skills/data360-data-action-target-create/SKILL.md +181 -0
- package/skills/data360-data-clean-room-create/SKILL.md +238 -0
- package/skills/data360-data-governance-create/SKILL.md +746 -0
- package/skills/data360-data-graph-create/SKILL.md +82 -0
- package/skills/data360-data-harmonized-model-object-reference-create/SKILL.md +38 -0
- package/skills/data360-data-lake-object-create/SKILL.md +207 -0
- package/skills/data360-data-model-object-catalog-get/SKILL.md +49 -0
- package/skills/data360-data-model-object-create/SKILL.md +128 -0
- package/skills/data360-data-model-object-mapping-create/SKILL.md +106 -0
- package/skills/data360-data-space-create/SKILL.md +161 -0
- package/skills/data360-data-streams-create/SKILL.md +324 -0
- package/skills/data360-engagement-signal-get/SKILL.md +38 -0
- package/skills/data360-experiment-create/SKILL.md +82 -0
- package/skills/data360-goal-based-campaign-create/SKILL.md +192 -0
- package/skills/data360-harmonization-process-history-get/SKILL.md +38 -0
- package/skills/data360-harmonized-unstructured-dmo-create/SKILL.md +84 -0
- package/skills/data360-identity-resolution-create/SKILL.md +115 -0
- package/skills/data360-intelligent-document-processing-create/SKILL.md +148 -0
- package/skills/data360-knowledge-graph-construction-create/SKILL.md +93 -0
- package/skills/data360-knowledge-graph-create/SKILL.md +216 -0
- package/skills/data360-knowledge-space-mcp-configure/SKILL.md +475 -0
- package/skills/data360-machine-learning-mcp-configure/SKILL.md +697 -0
- package/skills/data360-multi-org-mcp-configure/SKILL.md +117 -0
- package/skills/data360-secondary-index-mcp-configure/SKILL.md +126 -0
- package/skills/data360-segment-mcp-configure/SKILL.md +159 -0
- package/skills/data360-semantic-calculated-dimension-mcp-configure/SKILL.md +93 -0
- package/skills/data360-semantic-calculated-measurement-mcp-configure/SKILL.md +93 -0
- package/skills/data360-semantic-data-object-mcp-configure/SKILL.md +93 -0
- package/skills/data360-semantic-dimension-mcp-configure/SKILL.md +38 -0
- package/skills/data360-semantic-engine-mcp-configure/SKILL.md +62 -0
- package/skills/data360-semantic-measurement-mcp-configure/SKILL.md +38 -0
- package/skills/data360-semantic-metric-mcp-configure/SKILL.md +93 -0
- package/skills/data360-semantic-model-mcp-configure/SKILL.md +115 -0
- package/skills/data360-standard-mapping-mcp-configure/SKILL.md +38 -0
- package/skills/data360-tenant-lifecycle-mcp-configure/SKILL.md +73 -0
- package/skills/dx-devops-conflict-resolve/SKILL.md +1 -5
- package/skills/dx-devops-pipeline-manage/SKILL.md +1 -5
- package/skills/dx-devops-project-manage/SKILL.md +1 -5
- package/skills/dx-devops-promote/SKILL.md +1 -5
- package/skills/dx-devops-request-status/SKILL.md +1 -5
- package/skills/dx-lifecycle-center/SKILL.md +120 -0
- package/skills/dx-lifecycle-center/examples/workflows.md +175 -0
- package/skills/dx-lifecycle-center/references/connect-api.md +123 -0
- package/skills/dx-lifecycle-center/references/connect-org.md +184 -0
- package/skills/dx-lifecycle-center/references/deploy.md +153 -0
- package/skills/dx-lifecycle-center/references/error-handling.md +21 -0
- package/skills/dx-lifecycle-center/references/hub-org.md +37 -0
- package/skills/dx-lifecycle-center/references/list-orgs.md +99 -0
- package/skills/dx-lifecycle-center/references/request-body.md +75 -0
- package/skills/dx-lifecycle-center/references/troubleshooting.md +31 -0
- package/skills/dx-lifecycle-center/scripts/poll-deploy-status.sh +200 -0
- package/skills/dx-lifecycle-center/scripts/resolve-environment.sh +120 -0
- package/skills/dx-org-devhub-configure/SKILL.md +1 -3
- package/skills/dx-org-shape-manage/SKILL.md +1 -5
- package/skills/dx-org-snapshot-manage/SKILL.md +1 -3
- package/skills/education-cloud-academic-calendar-generate/SKILL.md +1 -3
- package/skills/education-cloud-course-catalog-migrate/SKILL.md +1 -3
- package/skills/education-cloud-domain-configure/SKILL.md +1 -3
- package/skills/education-cloud-multi-campus-configure/SKILL.md +1 -3
- package/skills/education-cloud-student-recruitment-agent-configure/SKILL.md +1 -5
- package/skills/experience-afv-query/SKILL.md +234 -0
- package/skills/experience-agentforce-vibes-in-react-configure/SKILL.md +63 -0
- package/skills/experience-apex-components-configure/SKILL.md +69 -0
- package/skills/experience-apex-pages-configure/SKILL.md +107 -0
- package/skills/experience-app-home-configure/SKILL.md +76 -0
- package/skills/experience-aura-lightning-out-access-configure/SKILL.md +58 -0
- package/skills/experience-briefcase-configure/SKILL.md +287 -0
- package/skills/experience-community-flexi-page-list-create/SKILL.md +74 -0
- package/skills/experience-community-template-definition-list-query/SKILL.md +48 -0
- package/skills/experience-community-theme-definition-list-query/SKILL.md +38 -0
- package/skills/experience-content-assets-configure/SKILL.md +86 -0
- package/skills/experience-custom-domain-create/SKILL.md +727 -0
- package/skills/experience-defer-rendering-workspace-page-setup-configure/SKILL.md +41 -0
- package/skills/experience-field-service-app-builder-configure/SKILL.md +187 -0
- package/skills/experience-flow-category-configure/SKILL.md +117 -0
- package/skills/experience-formula-configure/SKILL.md +358 -0
- package/skills/experience-global-actions-configure/SKILL.md +69 -0
- package/skills/experience-global-publisher-layouts-configure/SKILL.md +79 -0
- package/skills/experience-instrumentation-configure/SKILL.md +64 -0
- package/skills/experience-lex-engagement-configure/SKILL.md +50 -0
- package/skills/experience-lightning-bolt-open/SKILL.md +12 -0
- package/skills/experience-lightning-out-configure/SKILL.md +129 -0
- package/skills/experience-lightning-preview-configure/SKILL.md +67 -0
- package/skills/experience-lightning-types-query/SKILL.md +98 -0
- package/skills/experience-malware-scan-configure/SKILL.md +71 -0
- package/skills/experience-my-salesforce-configure/SKILL.md +126 -0
- package/skills/experience-navigation-menus-configure/SKILL.md +235 -0
- package/skills/experience-notification-types-configure/SKILL.md +206 -0
- package/skills/experience-notifications-configure/SKILL.md +75 -0
- package/skills/experience-record-discovery-query/SKILL.md +227 -0
- package/skills/experience-regenerate-previews-open/SKILL.md +94 -0
- package/skills/experience-sales-cloud-mab-configure/SKILL.md +254 -0
- package/skills/experience-schema-builder-open/SKILL.md +38 -0
- package/skills/experience-simple-record-home-configure/SKILL.md +110 -0
- package/skills/experience-static-resources-configure/SKILL.md +74 -0
- package/skills/experience-ui-bundle-2gp-deploy/SKILL.md +1 -3
- package/skills/experience-ui-bundle-features-generate/SKILL.md +1 -5
- package/skills/experience-ui-bundle-mfa-configure/SKILL.md +1 -3
- package/skills/field-service-data-capture-form-deployer-configure/SKILL.md +23 -2
- package/skills/field-service-data-capture-form-designer-configure/SKILL.md +13 -3
- package/skills/field-service-data-capture-migrate/SKILL.md +1 -3
- package/skills/field-service-mobile-branding-configure/SKILL.md +17 -3
- package/skills/field-service-objective-designer-configure/SKILL.md +72 -379
- package/skills/field-service-prework-brief-deployer-configure/SKILL.md +10 -537
- package/skills/field-service-scheduling-policy-designer-query/SKILL.md +65 -1093
- package/skills/{field-service-setup-orchestrator-get → field-service-setup-coordinate}/SKILL.md +18 -3
- package/skills/field-service-sobject-create-configure/SKILL.md +13 -213
- package/skills/field-service-voice-to-form-configure/SKILL.md +40 -11
- package/skills/field-service-work-plan-configure/SKILL.md +253 -0
- package/skills/field-service-work-rule-designer-configure/SKILL.md +121 -95
- package/skills/fsc-actionable-segmentation-settings-configure/SKILL.md +180 -0
- package/skills/fsc-digital-origination-bre-decision-matrix-foundation-create/SKILL.md +196 -0
- package/skills/fsc-digital-origination-bre-disclosures-consent-configure/SKILL.md +106 -0
- package/skills/fsc-digital-origination-bre-document-upload-configure/SKILL.md +96 -0
- package/skills/fsc-digital-origination-bre-permissions-assign/SKILL.md +111 -0
- package/skills/fsc-digital-origination-bre-setup-coordinate/SKILL.md +250 -0
- package/skills/fsc-digital-origination-bre-stp-eligibility-configure/SKILL.md +122 -0
- package/skills/fsc-digital-origination-coordinate/SKILL.md +653 -0
- package/skills/fsc-digital-origination-demo-run/SKILL.md +225 -0
- package/skills/fsc-digital-origination-execution-guardrails-validate/SKILL.md +112 -0
- package/skills/fsc-digital-origination-initial-setup-configure/SKILL.md +396 -0
- package/skills/fsc-digital-origination-pricing-setup-coordinate/SKILL.md +336 -0
- package/skills/fsc-digital-origination-pricing-setup-data-foundation-create/SKILL.md +208 -0
- package/skills/fsc-digital-origination-pricing-setup-procedure-create/SKILL.md +375 -0
- package/skills/fsc-digital-origination-product-setup-act1-permissions-assign/SKILL.md +83 -0
- package/skills/fsc-digital-origination-product-setup-coordinate/SKILL.md +248 -0
- package/skills/fsc-digital-origination-sample-data-create/SKILL.md +206 -0
- package/skills/fsc-document-checklist-settings-configure/SKILL.md +57 -0
- package/skills/fsc-flexible-hierarchy-configure/SKILL.md +148 -0
- package/skills/fsc-flexible-hierarchy-foundation-configure/SKILL.md +1430 -0
- package/skills/fsc-flexible-hierarchy-graph-config-create/SKILL.md +471 -0
- package/skills/fsc-flexible-hierarchy-rule-based-graph-deploy/SKILL.md +429 -0
- package/skills/fsc-pricing-product-configurator-configure/SKILL.md +150 -0
- package/skills/fsc-pricing-salesforce-omnistudio-switch/SKILL.md +123 -0
- package/skills/fsc-product-act2-catalog-categories-create/SKILL.md +82 -0
- package/skills/fsc-product-act3-attributes-create/SKILL.md +249 -0
- package/skills/fsc-product-act4-classification-assignment-create/SKILL.md +196 -0
- package/skills/fsc-product-act5-considerations-get/SKILL.md +44 -0
- package/skills/fsc-stage-management-apex-flow-deploy/SKILL.md +384 -0
- package/skills/fsc-stage-management-compliant-data-sharing-configure/SKILL.md +144 -0
- package/skills/fsc-stage-management-decision-matrices-create/SKILL.md +107 -0
- package/skills/fsc-stage-management-definition-assignments-create/SKILL.md +189 -0
- package/skills/fsc-stage-management-definition-create/SKILL.md +108 -0
- package/skills/fsc-stage-management-permissions-assign/SKILL.md +143 -0
- package/skills/fsc-stage-management-transitions-configure/SKILL.md +139 -0
- package/skills/health-cloud-appt-booking-config-configure/SKILL.md +135 -0
- package/skills/health-cloud-appt-booking-url-config-configure/SKILL.md +134 -0
- package/skills/health-cloud-care-provider-affl-role-config-configure/SKILL.md +136 -0
- package/skills/health-cloud-care-provider-search-config-configure/SKILL.md +134 -0
- package/skills/health-cloud-care-requests-create/SKILL.md +178 -0
- package/skills/health-cloud-initial-configure/SKILL.md +511 -0
- package/skills/health-cloud-patient-appointment-scheduling-configure/SKILL.md +1374 -0
- package/skills/health-cloud-provider-search-settings-configure/SKILL.md +924 -0
- package/skills/health-cloud-referral-management-coordinate/SKILL.md +513 -0
- package/skills/health-cloud-timeline-configure/SKILL.md +622 -0
- package/skills/health-cloud-virtual-visit-config-configure/SKILL.md +135 -0
- package/skills/industries-account-score-settings-query/SKILL.md +78 -0
- package/skills/industries-actionable-list-data-sources-dmo-configure/SKILL.md +177 -0
- package/skills/industries-ad-product-availability-search/SKILL.md +399 -0
- package/skills/industries-advanced-account-forecast-settings-configure/SKILL.md +628 -0
- package/skills/industries-advanced-therapy-management-settings-configure/SKILL.md +73 -0
- package/skills/industries-atm-settings-starter-configure/SKILL.md +76 -0
- package/skills/industries-batch-document-ai-configure/SKILL.md +196 -0
- package/skills/industries-behavioral-health-app-settings-configure/SKILL.md +71 -0
- package/skills/industries-branch-management-settings-configure/SKILL.md +89 -0
- package/skills/industries-bre-decision-table-access-configure/SKILL.md +367 -0
- package/skills/industries-brokerage-settings-configure/SKILL.md +41 -0
- package/skills/industries-calendar-sync-settings-configure/SKILL.md +89 -0
- package/skills/industries-care-request-settings-configure/SKILL.md +218 -0
- package/skills/industries-case-management-intelligence-settings-configure/SKILL.md +54 -0
- package/skills/industries-catalog-process-attributes-products-configure/SKILL.md +380 -0
- package/skills/industries-catalog-process-fulfillment-configure/SKILL.md +216 -0
- package/skills/industries-catalog-process-intake-configure/SKILL.md +219 -0
- package/skills/industries-catalog-process-knowledge-configure/SKILL.md +153 -0
- package/skills/industries-catalog-process-preprocessor-configure/SKILL.md +168 -0
- package/skills/industries-cds-general-settings-configure/SKILL.md +69 -0
- package/skills/industries-claim-financial-settings-configure/SKILL.md +169 -0
- package/skills/industries-clinical-data-model-settings-configure/SKILL.md +136 -0
- package/skills/industries-clinical-data-model-settings-starter-configure/SKILL.md +105 -0
- package/skills/industries-collection-plan-settings-configure/SKILL.md +132 -0
- package/skills/industries-comms-service-console-settings-configure/SKILL.md +159 -0
- package/skills/industries-compliance-configure/SKILL.md +102 -0
- package/skills/industries-compliance-document-extraction-setup-configure/SKILL.md +76 -0
- package/skills/industries-contact-center-app-layout-configure/SKILL.md +88 -0
- package/skills/industries-contact-center-components-configure/SKILL.md +96 -0
- package/skills/industries-contact-center-path-knowledge-configure/SKILL.md +95 -0
- package/skills/industries-contact-center-user-access-assign/SKILL.md +96 -0
- package/skills/industries-course-waitlist-config-configure/SKILL.md +162 -0
- package/skills/industries-crisis-center-settings-configure/SKILL.md +84 -0
- package/skills/industries-custom-object-settings-configure/SKILL.md +94 -0
- package/skills/industries-data-cloud-integration-configure/SKILL.md +88 -0
- package/skills/industries-data-space-feature-mappings-configure/SKILL.md +245 -0
- package/skills/industries-decision-matrix-builder-configure/SKILL.md +78 -0
- package/skills/industries-decision-table-hbase-configure/SKILL.md +87 -0
- package/skills/industries-decision-table-version-configure/SKILL.md +74 -0
- package/skills/industries-decision-tables-builder-configure/SKILL.md +253 -0
- package/skills/industries-decision-tables-configure/SKILL.md +439 -0
- package/skills/industries-energy-utilities-configure/SKILL.md +251 -0
- package/skills/industries-eu-cloud-multisite-configure/SKILL.md +1008 -0
- package/skills/industries-eu-new-connections-configure/SKILL.md +30 -0
- package/skills/industries-explainability-msg-template-configure/SKILL.md +135 -0
- package/skills/industries-expression-set-message-token-configure/SKILL.md +135 -0
- package/skills/industries-field-service-settings-configure/SKILL.md +82 -0
- package/skills/industries-form-framework-settings-configure/SKILL.md +30 -0
- package/skills/industries-fsc-ai-settings-configure/SKILL.md +57 -0
- package/skills/industries-fsc-association-engine-settings-configure/SKILL.md +172 -0
- package/skills/industries-fsc-b2b-settings-configure/SKILL.md +61 -0
- package/skills/industries-fsc-insurance-settings-configure/SKILL.md +58 -0
- package/skills/industries-fsc-visa-fulfillment-setup-configure/SKILL.md +103 -0
- package/skills/industries-fsc-wealth-agent-settings-configure/SKILL.md +117 -0
- package/skills/industries-fsc-wealth-settings-configure/SKILL.md +99 -0
- package/skills/industries-fundraising-gift-entry-settings-configure/SKILL.md +120 -0
- package/skills/industries-fundraising-rfm-configure/SKILL.md +128 -0
- package/skills/industries-fundraising-settings-configure/SKILL.md +145 -0
- package/skills/industries-fundraising-source-code-gen-configure/SKILL.md +299 -0
- package/skills/industries-google-maps-api-key-settings-configure/SKILL.md +87 -0
- package/skills/industries-grantmaking-intelligence-settings-open/SKILL.md +58 -0
- package/skills/industries-hc-score-category-settings-configure/SKILL.md +167 -0
- package/skills/industries-health-engagement-settings-configure/SKILL.md +218 -0
- package/skills/industries-home-health-agentforce-setup-configure/SKILL.md +131 -0
- package/skills/industries-home-health-bundling-policy-create/SKILL.md +50 -0
- package/skills/industries-home-health-entity-labels-configure/SKILL.md +29 -0
- package/skills/industries-home-health-fsl-package-deploy/SKILL.md +71 -0
- package/skills/industries-home-health-fsl-settings-validate/SKILL.md +27 -0
- package/skills/industries-home-health-guided-setup-care-and-skill-get/SKILL.md +80 -0
- package/skills/industries-home-health-guided-setup-configure/SKILL.md +836 -0
- package/skills/industries-home-health-guided-setup-enable-org-fsl-get/SKILL.md +55 -0
- package/skills/industries-home-health-guided-setup-get-org-ready-get/SKILL.md +61 -0
- package/skills/industries-home-health-licenses-assign/SKILL.md +27 -0
- package/skills/industries-home-health-operating-hours-create/SKILL.md +40 -0
- package/skills/industries-home-health-scheduling-policy-create/SKILL.md +41 -0
- package/skills/industries-home-health-service-objective-create/SKILL.md +22 -0
- package/skills/industries-home-health-skills-create/SKILL.md +31 -0
- package/skills/industries-home-health-users-create/SKILL.md +29 -0
- package/skills/industries-icm-act3-toggles-configure/SKILL.md +198 -0
- package/skills/industries-icm-act5-genai-suggested-assessments-configure/SKILL.md +361 -0
- package/skills/industries-icm-act6-mcg-integration-configure/SKILL.md +550 -0
- package/skills/industries-integrated-care-management-configure/SKILL.md +168 -0
- package/skills/industries-object-enablement-configure/SKILL.md +86 -0
- package/skills/industries-tpm-system-processing-service-configure/SKILL.md +64 -0
- package/skills/insurance-brokerage-agency-billing-configure/SKILL.md +1 -3
- package/skills/integration-apex-settings-configure/SKILL.md +61 -0
- package/skills/marketing-e360-email-archiving-configure/SKILL.md +73 -0
- package/skills/marketing-message-test/SKILL.md +1 -3
- package/skills/nonprofit-fundraising-configure/SKILL.md +240 -0
- package/skills/nonprofit-fundraising-configure/references/gotchas.md +26 -0
- package/skills/nonprofit-fundraising-configure/references/mcp-invocation.md +678 -0
- package/skills/nonprofit-fundraising-configure/references/permission-targeting.md +35 -0
- package/skills/nonprofit-volunteer-management-model-get/SKILL.md +166 -0
- package/skills/nonprofit-volunteer-management-model-get/references/entities.md +315 -0
- package/skills/nonprofit-volunteer-management-model-get/references/relationships.md +175 -0
- package/skills/nonprofit-volunteer-management-model-get/references/themes.md +143 -0
- package/skills/nonprofit-volunteer-management-records-create/SKILL.md +121 -0
- package/skills/nonprofit-volunteer-management-records-create/references/field-guide.md +284 -0
- package/skills/nonprofit-volunteer-management-records-create/references/mcp-invocation.md +248 -0
- package/skills/nonprofit-volunteer-management-records-create/references/review-format.md +140 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/expand-series.py +632 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/render-review-table.py +419 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/tests/test_expand_series.py +690 -0
- package/skills/nonprofit-volunteer-management-records-create/scripts/tests/test_render_review_table.py +421 -0
- package/skills/nonprofit-volunteer-management-structure-generate/SKILL.md +119 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/configuration-decisions.md +159 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/discovery-interview.md +137 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/edge-cases.md +48 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/mcp-invocation.md +75 -0
- package/skills/nonprofit-volunteer-management-structure-generate/references/plan-output.md +141 -0
- package/skills/platform-custom-field-generate/SKILL.md +1 -0
- package/skills/platform-custom-field-generate/references/advanced-picklists.md +5 -5
- package/skills/platform-custom-metadata-type-generate/SKILL.md +3 -0
- package/skills/platform-custom-object-generate/SKILL.md +4 -0
- package/skills/platform-custom-permissions-configure/SKILL.md +687 -0
- package/skills/platform-custom-setting-generate/SKILL.md +3 -0
- package/skills/platform-datamask-run/SKILL.md +1 -5
- package/skills/platform-label-workbench-import-create/SKILL.md +67 -0
- package/skills/platform-permission-set-generate/SKILL.md +3 -0
- package/skills/platform-privacy-agent-settings-configure/SKILL.md +752 -0
- package/skills/platform-salesforce-connect-adapter-generate/SKILL.md +1 -3
- package/skills/platform-sandbox-configure/SKILL.md +1 -3
- package/skills/platform-value-set-generate/SKILL.md +3 -0
- package/skills/sales-call-scoring-configure/SKILL.md +1 -5
- package/skills/service-agentforce-channel-configure/SKILL.md +1 -3
- package/skills/service-agentforce-human-escalation-configure/SKILL.md +1 -3
- package/skills/service-catalog-template-coordinate/SKILL.md +1 -3
- package/skills/service-concierge-portal-generate/SKILL.md +1 -3
- package/skills/service-email-to-case-configure/SKILL.md +1 -5
- package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-agentforce-coordinate/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-agentforce-studio-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-agentforce-studio-validate/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-access-assign/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-bundle-deploy/SKILL.md +1 -5
- package/skills/service-itsm-agentic-setup-cmdb-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-coordinate/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-cmdb-discovery-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-employee-agent-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-incident-sla-configure/SKILL.md +1 -0
- package/skills/service-itsm-agentic-setup-itsm-agentforce-permset-assign/SKILL.md +1 -3
- package/skills/service-itsm-agentic-setup-uel-user-create/SKILL.md +1 -9
- package/skills/service-itsm-incident-mgmt-configure/SKILL.md +1 -5
- package/skills/service-itsm-incident-priority-configure/SKILL.md +1 -3
- package/skills/service-itsm-slack-itservice-configure/SKILL.md +1 -3
- package/skills/service-itsm-swarming-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-debug/SKILL.md +1 -3
- package/skills/service-itsm-teams-employee-agent-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-itdesk-configure/SKILL.md +1 -3
- package/skills/service-itsm-teams-itservice-configure/SKILL.md +1 -3
- package/skills/service-native-voice-recording-transcription-configure/SKILL.md +1 -3
- package/skills/service-omni-agent-users-create/SKILL.md +1 -3
- package/skills/service-omni-agent-work-sharing-configure/SKILL.md +1 -3
- package/skills/service-omni-attribute-routing-configure/SKILL.md +1 -3
- package/skills/service-omni-base-settings-configure/SKILL.md +1 -3
- package/skills/service-omni-channel-inventory-analyze/SKILL.md +1 -3
- package/skills/service-omni-channel-limits-analyze/SKILL.md +1 -3
- package/skills/service-omni-channel-setup-coordinate/SKILL.md +1 -3
- package/skills/service-omni-command-center-analyze/SKILL.md +1 -3
- package/skills/service-omni-command-center-configure/SKILL.md +1 -3
- package/skills/service-omni-permission-set-assign/SKILL.md +1 -3
- package/skills/service-omni-presence-status-deploy/SKILL.md +1 -3
- package/skills/service-omni-presence-user-config-deploy/SKILL.md +1 -3
- package/skills/service-omni-queue-deploy/SKILL.md +1 -3
- package/skills/service-omni-queue-members-assign/SKILL.md +1 -3
- package/skills/service-omni-queue-routing-config-deploy/SKILL.md +1 -3
- package/skills/service-omni-routing-flow-deploy/SKILL.md +1 -3
- package/skills/service-omni-service-channel-configure/SKILL.md +1 -3
- package/skills/service-omni-sidebar-configure/SKILL.md +1 -3
- package/skills/service-omni-skills-based-routing-configure/SKILL.md +1 -3
- package/skills/service-omni-supervisor-config-deploy/SKILL.md +1 -3
- package/skills/service-omni-supervisor-permset-assign/SKILL.md +1 -3
- package/skills/service-omni-supervisor-surface-deploy/SKILL.md +1 -3
- package/skills/service-omni-supervisor-users-create/SKILL.md +1 -3
- package/skills/service-omni-work-skill-routing-configure/SKILL.md +1 -3
- package/skills/tableau-next-asset-create/README.md +0 -65
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Lists the DevOps Center environments of a source org and resolves an optional
|
|
3
|
+
# identifier (alias, username, My Domain URL, 15/18-char org id, or environment name)
|
|
4
|
+
# to one of them. Read-only. Prints one JSON document on stdout.
|
|
5
|
+
#
|
|
6
|
+
# Usage: resolve-environment.sh <source-org-alias> [identifier] [--rows-file <file>]
|
|
7
|
+
# --rows-file read the DevopsEnvironment query result JSON from a file (tests)
|
|
8
|
+
#
|
|
9
|
+
# Exit codes: 0 ok (check .match / .matchStatus), 1 usage or call error.
|
|
10
|
+
set -uo pipefail
|
|
11
|
+
|
|
12
|
+
command -v jq >/dev/null || { echo "jq required" >&2; exit 1; }
|
|
13
|
+
SRC="${1:-}"
|
|
14
|
+
[ -n "$SRC" ] || { echo "usage: resolve-environment.sh <source-org-alias> [identifier] [--rows-file <file>]" >&2; exit 1; }
|
|
15
|
+
shift
|
|
16
|
+
IDENT=""; ROWS_FILE=""
|
|
17
|
+
while [ $# -gt 0 ]; do
|
|
18
|
+
case "$1" in
|
|
19
|
+
--rows-file) [ $# -ge 2 ] || { echo "--rows-file needs a value" >&2; exit 1; }; ROWS_FILE="$2"; shift 2 ;;
|
|
20
|
+
*) IDENT="$1"; shift ;;
|
|
21
|
+
esac
|
|
22
|
+
done
|
|
23
|
+
|
|
24
|
+
sfj() { env FORCE_COLOR=0 SF_CLI_DISABLE_AUTOUPDATE=true "$@" 2>/dev/null; }
|
|
25
|
+
|
|
26
|
+
# Source org (the org the user built in).
|
|
27
|
+
src_json=$(sfj sf org display --target-org "$SRC" --json) \
|
|
28
|
+
|| { echo "cannot read source org '$SRC'" >&2; exit 1; }
|
|
29
|
+
source_obj=$(printf '%s' "$src_json" | jq -c --arg a "$SRC" \
|
|
30
|
+
'{alias:$a, username:.result.username, orgId:.result.id, instanceUrl:.result.instanceUrl}')
|
|
31
|
+
|
|
32
|
+
# DevopsEnvironment rows.
|
|
33
|
+
if [ -n "$ROWS_FILE" ]; then
|
|
34
|
+
rows_json=$(cat "$ROWS_FILE")
|
|
35
|
+
else
|
|
36
|
+
rows_json=$(sfj sf data query --target-org "$SRC" --json --query \
|
|
37
|
+
"SELECT Id, Name, NamedCredential, OrgType, IsExpired, OrgUrl, OrgIdentifier FROM DevopsEnvironment ORDER BY Name") \
|
|
38
|
+
|| {
|
|
39
|
+
# sf prints its JSON error on stdout; tell "not enabled" apart from an expired session or other failure.
|
|
40
|
+
qmsg=$(printf '%s' "$rows_json" | jq -r '[.name, .message] | map(select(. != null)) | join(": ")' 2>/dev/null)
|
|
41
|
+
case "$qmsg" in
|
|
42
|
+
*INVALID_TYPE*|*"sObject type"*|*"not supported"*|*INSUFFICIENT_ACCESS*)
|
|
43
|
+
echo "DevOps Center not enabled or no access: DevopsEnvironment is unavailable ($qmsg)" >&2 ;;
|
|
44
|
+
*) echo "DevopsEnvironment query failed, not an enablement problem: ${qmsg:-unknown error}" >&2 ;;
|
|
45
|
+
esac
|
|
46
|
+
exit 1
|
|
47
|
+
}
|
|
48
|
+
fi
|
|
49
|
+
printf '%s' "$rows_json" | jq -e '.result.records' >/dev/null 2>&1 \
|
|
50
|
+
|| { echo "unexpected query result" >&2; exit 1; }
|
|
51
|
+
|
|
52
|
+
# Identifier -> comparable keys: org id (first 15), host, and a lowercase name.
|
|
53
|
+
# Local alias or username: expand through `sf org display` to its org id and host.
|
|
54
|
+
id15=""; host=""; name=""
|
|
55
|
+
if [ -n "$IDENT" ]; then
|
|
56
|
+
if printf '%s' "$IDENT" | grep -Eq '^00D[A-Za-z0-9]{12}([A-Za-z0-9]{3})?$'; then
|
|
57
|
+
id15="${IDENT:0:15}"
|
|
58
|
+
elif printf '%s' "$IDENT" | grep -Eiq '^https?://' \
|
|
59
|
+
|| printf '%s' "$IDENT" | grep -Eiq '^[A-Za-z0-9.-]+\.(salesforce\.com|salesforce-setup\.com|force\.com|pc-rnd\.salesforce\.com)(/.*)?$'; then
|
|
60
|
+
host=$(printf '%s' "$IDENT" | sed -E 's#^[Hh][Tt][Tt][Pp][Ss]?://##; s#[/?].*$##' | tr 'A-Z' 'a-z')
|
|
61
|
+
else
|
|
62
|
+
# Environment name, alias, or username. An authorized alias also yields an org id and host.
|
|
63
|
+
name=$(printf '%s' "$IDENT" | tr 'A-Z' 'a-z')
|
|
64
|
+
exp=$(sfj sf org display --target-org "$IDENT" --json) && {
|
|
65
|
+
id15=$(printf '%s' "$exp" | jq -r '.result.id // empty | .[0:15]')
|
|
66
|
+
host=$(printf '%s' "$exp" | jq -r '.result.instanceUrl // empty' | sed -E 's#^https?://##')
|
|
67
|
+
# A resolved org is matched by identity only: an environment that merely shares its name is another org.
|
|
68
|
+
[ -n "$id15" ] && name=""
|
|
69
|
+
}
|
|
70
|
+
fi
|
|
71
|
+
fi
|
|
72
|
+
|
|
73
|
+
jq -n \
|
|
74
|
+
--argjson source "$source_obj" \
|
|
75
|
+
--argjson rows "$rows_json" \
|
|
76
|
+
--arg ident "$IDENT" --arg id15 "$id15" --arg host "$host" --arg name "$name" '
|
|
77
|
+
# setup and lightning hosts point at the same org as the My Domain host
|
|
78
|
+
def norm: ascii_downcase | sub("^https?://"; "") | sub("[/?].*$"; "")
|
|
79
|
+
| sub("\\.salesforce-setup\\.com$"; ".salesforce.com")
|
|
80
|
+
| sub("\\.lightning\\.force\\.com$"; ".my.salesforce.com");
|
|
81
|
+
# expired = retired or replaced by an environment swap (not an OAuth expiry).
|
|
82
|
+
# unauthenticated = connect never finished: the PATCH fills OrgUrl and OrgIdentifier.
|
|
83
|
+
# The DevOps Center hub row is created with only the fixed hub NC (no OrgUrl) and is the control
|
|
84
|
+
# plane, not a deploy target, so it is dropped before listing or matching (also by its fixed
|
|
85
|
+
# name while it has no OrgUrl, in case its credential was removed).
|
|
86
|
+
# NamedCredential is plain text in the API; strip an <a> wrapper in case a UI layer added one.
|
|
87
|
+
def ncname: ((.NamedCredential // "") | gsub("<[^>]*>"; "") | gsub("^\\s+|\\s+$"; ""));
|
|
88
|
+
def state: if (.IsExpired == true) then "expired"
|
|
89
|
+
elif ((ncname == "") or (.OrgUrl // "") == "" or (.OrgIdentifier // "") == "") then "unauthenticated"
|
|
90
|
+
else "selectable" end;
|
|
91
|
+
[ ($rows.result.records // [])[] | select(ncname != "ALMDevOpsCenterHub" and ((.Name // "") != "Doce Hub Environment" or (.OrgUrl // "") != "")) ] as $recs
|
|
92
|
+
| ($host | if . == "" then "" else norm end) as $h
|
|
93
|
+
| [ $recs[] | {
|
|
94
|
+
id: .Id, name: .Name, orgType: .OrgType,
|
|
95
|
+
orgUrl: (.OrgUrl // null),
|
|
96
|
+
orgId: (.OrgIdentifier // null),
|
|
97
|
+
namedCredential: (ncname | if . == "" then null else . end),
|
|
98
|
+
state: state,
|
|
99
|
+
isSource: ((.OrgIdentifier // "")[0:15] == ($source.orgId // "")[0:15] and (.OrgIdentifier // "") != "")
|
|
100
|
+
} ] as $envs
|
|
101
|
+
| ( if $ident == "" then []
|
|
102
|
+
else [ $envs[] | select(
|
|
103
|
+
($id15 != "" and ((.orgId // "")[0:15] == $id15))
|
|
104
|
+
or ($h != "" and ((.orgUrl // "") != "") and ((.orgUrl | norm) == $h))
|
|
105
|
+
or ($name != "" and ((.name | ascii_downcase) == $name))) ]
|
|
106
|
+
end ) as $m
|
|
107
|
+
| { source: $source,
|
|
108
|
+
environments: $envs,
|
|
109
|
+
identifier: $ident,
|
|
110
|
+
matchStatus: ( if $ident == "" then "none-requested"
|
|
111
|
+
elif ($m | length) == 0 then "not-connected"
|
|
112
|
+
elif ($m | length) > 1 then "ambiguous"
|
|
113
|
+
else "matched" end ),
|
|
114
|
+
matches: $m,
|
|
115
|
+
match: (if ($m | length) == 1 then $m[0] else null end),
|
|
116
|
+
sourceMatched: ( $ident != "" and
|
|
117
|
+
( ($id15 != "" and $id15 == ($source.orgId // "")[0:15])
|
|
118
|
+
or ($h != "" and (($source.instanceUrl // "") | norm) == $h)
|
|
119
|
+
or ($name != "" and $name == ($source.alias | ascii_downcase))
|
|
120
|
+
or (($m | length) == 1 and $m[0].isSource) ) ) }'
|
|
@@ -16,9 +16,7 @@ metadata:
|
|
|
16
16
|
# could falsely gate an admin holding only one. Declare the canonical
|
|
17
17
|
# System-Administrator perm; the OR alternative stays documented in the
|
|
18
18
|
# description and body.
|
|
19
|
-
accessCheck:
|
|
20
|
-
- type: "userPerm"
|
|
21
|
-
value: "ModifyAllData"
|
|
19
|
+
accessCheck: "UserPermissions.ModifyAllData"
|
|
22
20
|
cliTools:
|
|
23
21
|
- tool: ["jq"]
|
|
24
22
|
semver: ">=1.6.0"
|
|
@@ -10,11 +10,7 @@ metadata:
|
|
|
10
10
|
cliTools:
|
|
11
11
|
- tool: ["sf"]
|
|
12
12
|
semver: ">=2.0.0"
|
|
13
|
-
accessCheck:
|
|
14
|
-
- type: "orgPref"
|
|
15
|
-
value: "ScratchOrgManagementPref"
|
|
16
|
-
- type: "orgPref"
|
|
17
|
-
value: "ShapeExportPref"
|
|
13
|
+
accessCheck: "(OrgPreferences.ScratchOrgManagementPref) && (OrgPreferences.ShapeExportPref)"
|
|
18
14
|
---
|
|
19
15
|
|
|
20
16
|
# dx-org-shape-manage
|
|
@@ -5,9 +5,7 @@ metadata:
|
|
|
5
5
|
version: "1.0"
|
|
6
6
|
domains:
|
|
7
7
|
- "Education"
|
|
8
|
-
accessCheck:
|
|
9
|
-
- type: "accessCheck"
|
|
10
|
-
value: "IndustriesEducation.userHasEducationCloudAccess"
|
|
8
|
+
accessCheck: "IndustriesEducation.userHasEducationCloudAccess"
|
|
11
9
|
cliTools:
|
|
12
10
|
- tool: ["python3"]
|
|
13
11
|
semver: ">=3.9.0"
|
|
@@ -17,9 +17,7 @@ metadata:
|
|
|
17
17
|
- "platform-metadata-deploy"
|
|
18
18
|
- "platform-permission-set-generate"
|
|
19
19
|
- "platform-validation-rule-generate"
|
|
20
|
-
accessCheck:
|
|
21
|
-
- type: "license"
|
|
22
|
-
value: "Education Cloud"
|
|
20
|
+
accessCheck: "License.EducationCloud"
|
|
23
21
|
---
|
|
24
22
|
|
|
25
23
|
# Configuring Education Cloud Domains
|
|
@@ -8,9 +8,7 @@ metadata:
|
|
|
8
8
|
- "Education"
|
|
9
9
|
relatedSkills:
|
|
10
10
|
- "education-cloud-domain-configure"
|
|
11
|
-
accessCheck:
|
|
12
|
-
- type: "license"
|
|
13
|
-
value: "Education Cloud"
|
|
11
|
+
accessCheck: "License.EducationCloud"
|
|
14
12
|
mcpTools:
|
|
15
13
|
headless-360:
|
|
16
14
|
tools: ["describe", "discover", "dispatch", "dispatch_readonly"]
|
|
@@ -18,11 +18,7 @@ metadata:
|
|
|
18
18
|
cliTools:
|
|
19
19
|
- tool: ["sf"]
|
|
20
20
|
semver: ">=2.0.0"
|
|
21
|
-
accessCheck:
|
|
22
|
-
- type: "license"
|
|
23
|
-
value: "Agentforce"
|
|
24
|
-
- type: "orgPerm"
|
|
25
|
-
value: "EinsteinForEducationCloud"
|
|
21
|
+
accessCheck: "(OrgPermissions.EinsteinForEducationCloud) && (License.Agentforce)"
|
|
26
22
|
---
|
|
27
23
|
|
|
28
24
|
# Configuring the Education Cloud Student Recruitment Agent
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: experience-afv-query
|
|
3
|
+
description: "System-of-record for the public Lightning Instrumentation Headless Connect REST API route that retrieves Agentforce Vibes (AFV) metrics, analytics, data, and adoption/usage insights, including token/LOC, weekly active-user, and per-user activity. Supports local result filtering by period (default current), orgType (default All), recordType, modelName (default All), and other explicitly returned row fields after one parameterless API call."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Agentforce Vibes metrics
|
|
9
|
+
|
|
10
|
+
Use this skill when a user asks to retrieve Agentforce Vibes (AFV) usage or
|
|
11
|
+
instrumentation metrics for the current Salesforce org.
|
|
12
|
+
|
|
13
|
+
This skill describes one public, read-only Connect API operation:
|
|
14
|
+
|
|
15
|
+
- **Get AFV metrics** — trigger phrases: "get afv metrics", "agentforce vibes metrics", "afv analytics", "fetch agentforce vibes analytics", "headless afv metrics", "afv data", "agentforce vibes data", "get afv adoption usage data", "Vibes adoption", "token/LOC metrics", "weekly active users", "per-user AFV activity", "current or prior AFV metrics", "AFV model metrics", "AFV metrics by org type", and "filter AFV metrics by record type". Primary route: `GET /instrumentation/afv-metrics` (`operationId: getAFVMetrics`).
|
|
16
|
+
|
|
17
|
+
The route is available at external API version **v68.0 or later**. Use the
|
|
18
|
+
version from `constants.json`; do not infer a lower version from the source
|
|
19
|
+
spec's generic `info.version` or `servers` example. v67.0 returns
|
|
20
|
+
`404 NOT_FOUND`. A version above the org's own maximum also returns `404`;
|
|
21
|
+
that is an org limit, not a reason to call a version below v68.0.
|
|
22
|
+
|
|
23
|
+
## Workflow
|
|
24
|
+
|
|
25
|
+
1. Call `GET /services/data/v68.0/instrumentation/afv-metrics`.
|
|
26
|
+
2. Send no path parameters, query parameters, or request body.
|
|
27
|
+
3. Read the returned `AFVMetricsOutputRepresentation`:
|
|
28
|
+
- `success` — whether the metrics download succeeded.
|
|
29
|
+
- `message` — an optional status or failure message.
|
|
30
|
+
- `rows` — an array of metric maps; each map can contain heterogeneous
|
|
31
|
+
metric names and values.
|
|
32
|
+
4. If `success` is `false`, surface `message` and the raw response. Do not
|
|
33
|
+
present the rows as a successful metrics result or retry automatically.
|
|
34
|
+
5. If `success` is `true` and `rows` is empty, report the no-data result and
|
|
35
|
+
stop. Do not retry, treat it as an API error, or fall back to an internal
|
|
36
|
+
API.
|
|
37
|
+
6. Branch on each row's `recordType` before reading class-specific fields.
|
|
38
|
+
Do not assume that any particular record class is present. Preserve unknown
|
|
39
|
+
record types and fields instead of dropping them.
|
|
40
|
+
|
|
41
|
+
## Optional result filters
|
|
42
|
+
|
|
43
|
+
Users can narrow the displayed metrics with optional result filters. These
|
|
44
|
+
filters control local processing after the complete response is received; they
|
|
45
|
+
are not Connect API query parameters or `get-afv-metrics` dispatch inputs.
|
|
46
|
+
|
|
47
|
+
| Filter | Accepted value | Matching rule |
|
|
48
|
+
|---|---|---|
|
|
49
|
+
| `period` | `current` (default) or `prior` | Exact match on `rows[*].period`. Reject another explicit value before calling the API. |
|
|
50
|
+
| `orgType` | `All` (default) or an org-type value returned by the API | Case-insensitive exact match on `rows[*].orgType`. `All` is a literal roll-up value, not a wildcard. |
|
|
51
|
+
| `recordType` | One or more record-type names | Exact match on `rows[*].recordType`. Known values include `aggregate`, `dailyTimeSeries`, `modelMetrics`, `orgBreakdown`, `userMetrics`, and `weeklyActiveUsers`, but accept an exact future value when the user supplies it. |
|
|
52
|
+
| `modelName` | `All` (default) or a model name returned by the API | Case-insensitive exact match on `rows[*].modelName`. `All` is a literal roll-up value, not a wildcard. |
|
|
53
|
+
| Other returned row field | Explicit field name and value supplied by the user | Exact match only when that field is present. Do not invent aliases or assume the field exists on every record type. |
|
|
54
|
+
|
|
55
|
+
If the user does not supply `period`, apply `period=current`; if the user does
|
|
56
|
+
not supply `orgType`, apply `orgType=All`; if the user does not supply
|
|
57
|
+
`modelName`, apply `modelName=All`. These are default local result filters. An
|
|
58
|
+
explicit value overrides its corresponding default. A request that compares
|
|
59
|
+
the current and prior periods explicitly selects both values and therefore
|
|
60
|
+
overrides the single-period default. Likewise, a request to compare or rank
|
|
61
|
+
models explicitly selects the concrete model names present in the response
|
|
62
|
+
instead of the `All` model roll-up. If the user supplies more than one filter
|
|
63
|
+
name, combine them with AND. If the user supplies multiple values for the same
|
|
64
|
+
field, match any of those values. Each default still applies when the user
|
|
65
|
+
supplies another filter but omits one of these three fields.
|
|
66
|
+
|
|
67
|
+
Apply filters only after checking HTTP status, `success`, and the unfiltered
|
|
68
|
+
`rows` array:
|
|
69
|
+
|
|
70
|
+
1. Capture the requested result filters from the user's prompt and add the
|
|
71
|
+
defaults `period=current`, `orgType=All`, and `modelName=All` when those
|
|
72
|
+
fields were omitted and the request does not imply a multi-value comparison.
|
|
73
|
+
2. Call `get-afv-metrics` once with no arguments and no query string.
|
|
74
|
+
3. If `success` is `false` or the complete `rows` array is empty, follow the
|
|
75
|
+
normal response handling without filtering.
|
|
76
|
+
4. Otherwise, filter the returned rows in memory and render the matching rows.
|
|
77
|
+
5. Report the filters applied, the total rows returned by the API, and the
|
|
78
|
+
number of rows matched.
|
|
79
|
+
|
|
80
|
+
A successful response with rows but zero filter matches, including when a
|
|
81
|
+
default filter finds no rows, is a successful zero-match view, not an empty
|
|
82
|
+
API response. Report that the complete response
|
|
83
|
+
contained no matching rows. Do not retry, change the request URL, infer zero
|
|
84
|
+
metric values, or report that the API itself returned no data. When the
|
|
85
|
+
requested `recordType` is `userMetrics`, also apply the permission-dependent
|
|
86
|
+
guidance below instead of treating the absence as proof of zero user activity.
|
|
87
|
+
|
|
88
|
+
## Permission-dependent results
|
|
89
|
+
|
|
90
|
+
HTTP status is part of the gate and permission contract. Do not treat every
|
|
91
|
+
denial as HTTP `200` with `success: false`.
|
|
92
|
+
|
|
93
|
+
The route returns a metrics body only when the org gate is enabled and the
|
|
94
|
+
caller passes the user access check. The user access check passes when any
|
|
95
|
+
of these is true:
|
|
96
|
+
|
|
97
|
+
- the caller has both **Customize Application** and **Modify All Data**, or
|
|
98
|
+
- the caller has **Lifecycle Center Developer-Level Insights**, or
|
|
99
|
+
- the caller has **Lifecycle Center User**.
|
|
100
|
+
|
|
101
|
+
- **Org gate disabled, or the caller fails the user access check:** the
|
|
102
|
+
route returns HTTP `403`. Surface the response as an access denial.
|
|
103
|
+
Recommend verifying that AFV metrics are enabled for the org and that the
|
|
104
|
+
caller has `Lifecycle Center User`, `Lifecycle Center Developer-Level
|
|
105
|
+
Insights`, or both Customize Application and Modify All Data. Do not retry,
|
|
106
|
+
and do not present a `403` as an empty dataset or as `success: false`.
|
|
107
|
+
- **`Lifecycle Center User` only:** the call can return HTTP `200` with
|
|
108
|
+
`success: true`, but `userMetrics` rows are omitted. The message then
|
|
109
|
+
includes `Some per-user metrics were omitted because you do not have
|
|
110
|
+
permission to view them.` Other record classes remain subject to data
|
|
111
|
+
availability. Absence of `userMetrics` does not prove that no users used
|
|
112
|
+
AFV.
|
|
113
|
+
- **`Lifecycle Center Developer-Level Insights`, or Customize Application
|
|
114
|
+
together with Modify All Data:** the caller is eligible to receive rows
|
|
115
|
+
whose `recordType` is `userMetrics` when that class has data. A populated
|
|
116
|
+
System Administrator probe returned those rows with message
|
|
117
|
+
`AFV metrics retrieved successfully.` and no omission sentence.
|
|
118
|
+
|
|
119
|
+
When the user specifically asks for per-user results and no `userMetrics`
|
|
120
|
+
rows are visible, explain that the class can be absent because
|
|
121
|
+
`Lifecycle Center Developer-Level Insights` is not assigned or because the
|
|
122
|
+
current dataset has no rows of that class. Recommend verifying
|
|
123
|
+
`Lifecycle Center Developer-Level Insights`; do not report zero per-user
|
|
124
|
+
activity from an absent record class.
|
|
125
|
+
|
|
126
|
+
## Variable record classes
|
|
127
|
+
|
|
128
|
+
Production exports show that successful populated responses can contain only a
|
|
129
|
+
subset of the known record classes. Treat `aggregate`, `dailyTimeSeries`,
|
|
130
|
+
`modelMetrics`, `orgBreakdown`, `userMetrics`, and `weeklyActiveUsers` as
|
|
131
|
+
independently optional collections. For a requested class that is absent,
|
|
132
|
+
report that the current response contains no rows of that class. Do not infer a
|
|
133
|
+
zero value, fail the whole response, or retry. Row counts are data-dependent.
|
|
134
|
+
|
|
135
|
+
## Output
|
|
136
|
+
|
|
137
|
+
On success, report the server message when present, the number of rows, and
|
|
138
|
+
the rows themselves. Preserve the keys returned in each row; the schema
|
|
139
|
+
intentionally permits arbitrary metric-name/value pairs.
|
|
140
|
+
|
|
141
|
+
```markdown
|
|
142
|
+
## AFV metrics
|
|
143
|
+
|
|
144
|
+
- Success: `<success>`
|
|
145
|
+
- Message: `<message, when present>`
|
|
146
|
+
- Result filters: `<filters, including period=current, orgType=All, and modelName=All defaults when applicable>`
|
|
147
|
+
- Rows returned by API: `<unfiltered rows.length>`
|
|
148
|
+
- Rows matched: `<filtered rows.length, when filters are present>`
|
|
149
|
+
|
|
150
|
+
<render the rows without inventing or renaming fields>
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
For every successful populated response with no user-supplied result filters,
|
|
154
|
+
append a compact filter-discovery block even though the default
|
|
155
|
+
`period=current AND orgType=All AND modelName=All` view was applied. Compute
|
|
156
|
+
distinct values from the full, unfiltered API response and include only fields
|
|
157
|
+
that occur in at least one row. Do not present known-but-absent values as
|
|
158
|
+
available in the current result, and do not make a second API call.
|
|
159
|
+
|
|
160
|
+
```markdown
|
|
161
|
+
### Available result filters in this response
|
|
162
|
+
|
|
163
|
+
- `period`: `<distinct rows[*].period values>` (default: `current`)
|
|
164
|
+
- `orgType`: `<distinct rows[*].orgType values>` (default: `All`)
|
|
165
|
+
- `recordType`: `<distinct rows[*].recordType values>`
|
|
166
|
+
- `modelName`: `<distinct rows[*].modelName values>` (default: `All`)
|
|
167
|
+
|
|
168
|
+
Example: `Get AFV metrics for period=prior, orgType=Sandbox, recordType=modelMetrics, and modelName=<returned model name>.`
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
When user-supplied filters were provided, show the effective filters in
|
|
172
|
+
`Result filters` and omit the discovery block. The default
|
|
173
|
+
`period=current AND orgType=All AND modelName=All` filters alone do not
|
|
174
|
+
suppress discovery. The filter list and example are part of the same final
|
|
175
|
+
result, not a follow-up question. Available `orgType` and `modelName` values
|
|
176
|
+
are data-dependent; never hardcode values observed in one org.
|
|
177
|
+
|
|
178
|
+
An empty `rows` array is a valid successful response. The no-data result is
|
|
179
|
+
HTTP `200` with `success: true`, message
|
|
180
|
+
`No AFV metrics are available yet for this org.`, and `rows: []`. Report
|
|
181
|
+
that no metric rows were returned, include the server's message, and stop
|
|
182
|
+
without retrying. Distinguish this from `success: false` with `rows: []`,
|
|
183
|
+
which is a service failure, and from HTTP `403`, which is an access denial.
|
|
184
|
+
|
|
185
|
+
## Error handling
|
|
186
|
+
|
|
187
|
+
- `400` — surface the returned AFV result as a bad request.
|
|
188
|
+
- `401` — authentication is missing or invalid; ask the user to reconnect to
|
|
189
|
+
the org, then retry only when they request it.
|
|
190
|
+
- `403` — the org gate is disabled or the caller fails the user access check.
|
|
191
|
+
Surface the response and recommend verifying org enablement plus
|
|
192
|
+
`Lifecycle Center User`, `Lifecycle Center Developer-Level Insights`, or
|
|
193
|
+
both Customize Application and Modify All Data. Do not retry automatically.
|
|
194
|
+
- `500` — the metrics service failed internally; surface the response and
|
|
195
|
+
advise retrying later.
|
|
196
|
+
- HTTP `200` with `success: false` — surface `message` and `rows` as returned.
|
|
197
|
+
The caller-facing service-failure message is
|
|
198
|
+
`Unable to retrieve AFV metrics at this time. Please try again later.`
|
|
199
|
+
This is not a permission or gate denial. Do not recommend a permission
|
|
200
|
+
change for it.
|
|
201
|
+
- HTTP `200` with `success: true` and the per-user omission sentence — follow
|
|
202
|
+
the permission-dependent guidance. Do not treat the remaining rows as a
|
|
203
|
+
failure.
|
|
204
|
+
- Route not found at a lower API version — retry at v68.0 or later. v67.0
|
|
205
|
+
returns `404`. Do not probe a matrix of versions automatically.
|
|
206
|
+
- Rate limiting — the public family enables rate limits. Surface the error and
|
|
207
|
+
do not auto-retry.
|
|
208
|
+
|
|
209
|
+
## Constraints
|
|
210
|
+
|
|
211
|
+
- Read-only and idempotent.
|
|
212
|
+
- Never send result filters to the server: the operation declares
|
|
213
|
+
`parameters: []`. Apply optional user filters only after the full response is
|
|
214
|
+
received, including the default
|
|
215
|
+
`period=current AND orgType=All AND modelName=All` view.
|
|
216
|
+
- Never call the internal Aura-only Lightning Instrumentation Agentforce API;
|
|
217
|
+
this skill uses the separate public headless Connect API family.
|
|
218
|
+
- Never infer that an absent record class represents zero-valued data. In
|
|
219
|
+
particular, `userMetrics` can be omitted by permission-based filtering.
|
|
220
|
+
- Do not rely on fixed row counts. Counts observed during validation describe
|
|
221
|
+
that test dataset, not the API contract.
|
|
222
|
+
- Return one final result. Do not make a follow-up write or verification call.
|
|
223
|
+
|
|
224
|
+
<!-- skill-validate: ignore-start -->
|
|
225
|
+
<!-- codey:operations start -->
|
|
226
|
+
## Operations Reference
|
|
227
|
+
|
|
228
|
+
Operations this skill uses — routing and dependency reference.
|
|
229
|
+
|
|
230
|
+
| Operation | Purpose | Status | Call | Depends on |
|
|
231
|
+
|-----------|---------|--------|------|------------|
|
|
232
|
+
| `get-afv-metrics` | read | — | `GET /services/data/v68.0/instrumentation/afv-metrics` | — |
|
|
233
|
+
<!-- codey:operations end -->
|
|
234
|
+
<!-- skill-validate: ignore-end -->
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: experience-agentforce-vibes-in-react-configure
|
|
3
|
+
description: "Use this skill when users want to toggle the Salesforce App Domain org preference so web applications are served from a dedicated salesforce.app domain. Trigger when users mention agentforce, vibes, react, agentforce vibes in react."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Managing Agentforce Vibes In React
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Toggle the Salesforce App Domain org preference so web applications are served
|
|
13
|
+
from a dedicated salesforce.app domain. This setup page has a single toggle for
|
|
14
|
+
the SalesforceAppDomain preference (enable or disable via the Setup Connect API).
|
|
15
|
+
The toggle is only visible when the com.salesforce.lwr.salesforceAppDomain gate
|
|
16
|
+
is active for the org — if it is not present, the feature is not yet available.
|
|
17
|
+
|
|
18
|
+
## Critical Constraints
|
|
19
|
+
|
|
20
|
+
**Preconditions:**
|
|
21
|
+
|
|
22
|
+
- The com.salesforce.lwr.salesforceAppDomain gate must be active for the org.
|
|
23
|
+
Without this gate, the SalesforceAppDomain toggle will not appear on the
|
|
24
|
+
Setup page and the preference cannot be set. Verify gate status via
|
|
25
|
+
GET /headless/invoke/platform/webapp/is-salesforce-app-domain-gate-enabled
|
|
26
|
+
before attempting to enable.
|
|
27
|
+
|
|
28
|
+
## Operations Reference
|
|
29
|
+
|
|
30
|
+
Operations grouped by purpose. Use these as the building blocks for the workflows above.
|
|
31
|
+
|
|
32
|
+
### Summary
|
|
33
|
+
|
|
34
|
+
| Operation | Purpose | Status | Call | Depends on |
|
|
35
|
+
|-----------|---------|--------|------|------------|
|
|
36
|
+
| `isOrgPreferenceEnabled_wire_3` | read | — | `GET /services/data/v67.0/setup/org/preferences/SalesforceAppDomain` | — |
|
|
37
|
+
| `setOrgPreferences_1` | write | — | `PATCH /services/data/v67.0/setup/org/preferences/SalesforceAppDomain` | `isOrgPreferenceEnabled_wire_3` |
|
|
38
|
+
|
|
39
|
+
### Read operations
|
|
40
|
+
|
|
41
|
+
#### `isOrgPreferenceEnabled_wire_3`
|
|
42
|
+
|
|
43
|
+
Read the current state of the SalesforceAppDomain org preference via the
|
|
44
|
+
Setup Connect API. Returns {isPreferenceEnabled: boolean}. If the endpoint
|
|
45
|
+
returns 404 'The requested resource does not exist', the preference resource
|
|
46
|
+
is not mounted on this org build. If it returns 404 'Invalid named
|
|
47
|
+
preference', the preference name is not registered on IOrgPreferencesResource
|
|
48
|
+
for this org/version.
|
|
49
|
+
|
|
50
|
+
**Call:** `GET /services/data/v67.0/setup/org/preferences/SalesforceAppDomain`
|
|
51
|
+
|
|
52
|
+
### Write operations
|
|
53
|
+
|
|
54
|
+
#### `setOrgPreferences_1`
|
|
55
|
+
|
|
56
|
+
Enable the SalesforceAppDomain org preference via the Setup Connect API.
|
|
57
|
+
PATCH the preference resource with body {desiredState: true}. The response
|
|
58
|
+
echoes the persisted state as {isPreferenceEnabled: boolean}. A 403 means the
|
|
59
|
+
running user lacks permission to modify the preference.
|
|
60
|
+
|
|
61
|
+
**Call:** `PATCH /services/data/v67.0/setup/org/preferences/SalesforceAppDomain`
|
|
62
|
+
|
|
63
|
+
**Depends on:** `isOrgPreferenceEnabled_wire_3`
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: experience-apex-components-configure
|
|
3
|
+
description: "Use this skill when users want to manage ApexComponent records (Visualforce custom components) via the Tooling sObject API. Trigger when users mention apex, components, apex components."
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Managing Apex Components
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Manage ApexComponent records (Visualforce custom components) via the Tooling sObject API. Steps cover SOQL list, GET-by-Id, and POST-create against /services/data/v66.0/tooling/sobjects/ApexComponent. Body fields (Name, MasterLabel, ApiVersion, NamespacePrefix, Markup, ControllerType, ControllerKey, Description, IsExplicitImport) match the ApexComponent UDD entity; field set varies by org (managed-package fields), so call /tooling/sobjects/ApexComponent/describe before constructing create payloads. Read requires View Setup + canViewApexPagesSetup; write requires CustomizeApplication. Org must have orgHasApexPagesApi enabled (Visualforce feature gate). No Connect/Metadata/Aura alternative — Metadata API ApexComponent is deploy/retrieve XML, wrong granularity for runtime CRUD.
|
|
13
|
+
|
|
14
|
+
## Critical Constraints
|
|
15
|
+
|
|
16
|
+
**Destructive operations — require explicit user confirmation:**
|
|
17
|
+
|
|
18
|
+
- **`delete_ApexComponent_1`** — Delete a ApexComponent record by Id via the Tooling/sObject API. The {id} path parameter is the record Id.
|
|
19
|
+
- Rollback: No automatic rollback.
|
|
20
|
+
|
|
21
|
+
## Operations Reference
|
|
22
|
+
|
|
23
|
+
Operations grouped by purpose. Use these as the building blocks for the workflows above.
|
|
24
|
+
|
|
25
|
+
### Summary
|
|
26
|
+
|
|
27
|
+
| Operation | Purpose | Status | Call | Depends on |
|
|
28
|
+
|-----------|---------|--------|------|------------|
|
|
29
|
+
| `list_ApexComponent_1` | read | — | `query.ApexComponent` | — |
|
|
30
|
+
| `get_ApexComponent_1` | read | — | `sobjects/ApexComponent/{id}` | — |
|
|
31
|
+
| `create_ApexComponent_1` | write | — | `sobjects/ApexComponent` | — |
|
|
32
|
+
| `update_ApexComponent_1` | write | — | `sobjects/ApexComponent/{id}` | — |
|
|
33
|
+
| `delete_ApexComponent_1` | delete | — | `sobjects/ApexComponent/{id}` | — |
|
|
34
|
+
|
|
35
|
+
### Read operations
|
|
36
|
+
|
|
37
|
+
#### `list_ApexComponent_1`
|
|
38
|
+
|
|
39
|
+
SOQL list of ApexComponent records via Tooling API (GET /services/data/v66.0/tooling/query?q=...). The {q} input is the agent-supplied SOQL string — typically `SELECT Id, Name, MasterLabel, ApiVersion FROM ApexComponent`. View Setup + canViewApexPagesSetup gated.
|
|
40
|
+
|
|
41
|
+
**Call:** `query.ApexComponent`
|
|
42
|
+
|
|
43
|
+
#### `get_ApexComponent_1`
|
|
44
|
+
|
|
45
|
+
Fetch a single ApexComponent record by Id via Tooling sObject GET (/services/data/v66.0/tooling/sobjects/ApexComponent/{id}). Returns the full record including Markup. View Setup + canViewApexPagesSetup gated. Common pairing: list_ApexComponent_1 to find the Id, then this step to retrieve the body.
|
|
46
|
+
|
|
47
|
+
**Call:** `sobjects/ApexComponent/{id}`
|
|
48
|
+
|
|
49
|
+
### Write operations
|
|
50
|
+
|
|
51
|
+
#### `create_ApexComponent_1`
|
|
52
|
+
|
|
53
|
+
Create a new ApexComponent record via Tooling sObject POST (/services/data/v66.0/tooling/sobjects/ApexComponent). Body must include Name (DeveloperName) + MasterLabel + ApiVersion + Markup; optional Description, ControllerType, ControllerKey, IsExplicitImport, NamespacePrefix. CustomizeApplication gated. Returns the new Id; verify by GET on the returned Id.
|
|
54
|
+
|
|
55
|
+
**Call:** `sobjects/ApexComponent`
|
|
56
|
+
|
|
57
|
+
#### `update_ApexComponent_1`
|
|
58
|
+
|
|
59
|
+
Update a ApexComponent record by Id via the Tooling/sObject API. The {id} path parameter is the record Id; body fields replace existing values.
|
|
60
|
+
|
|
61
|
+
**Call:** `sobjects/ApexComponent/{id}`
|
|
62
|
+
|
|
63
|
+
### Destructive operations
|
|
64
|
+
|
|
65
|
+
#### `delete_ApexComponent_1`
|
|
66
|
+
|
|
67
|
+
Delete a ApexComponent record by Id via the Tooling/sObject API. The {id} path parameter is the record Id.
|
|
68
|
+
|
|
69
|
+
**Call:** `sobjects/ApexComponent/{id}`
|