salesforce-list-view

Generate Salesforce List View metadata definitions with labels, API names, filters, and columns.

803|289|Updated Nov 7, 2025
One-click install
npx skills add https://github.com/forcedotcom/afv-library --skill salesforce-list-view
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: salesforce-list-view
Source: https://github.com/forcedotcom/afv-library/tree/main/skills/salesforce-list-view
Command: npx skills add https://github.com/forcedotcom/afv-library --skill salesforce-list-view

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Salesforce List Views are used to present filtered, column-based record lists on object tabs. This skill helps you generate, validate, and troubleshoot List View metadata to ensure consistent, reusable views across orgs.

Core Features & Use Cases

  • Generate ListView metadata files at the path force-app/main/default/objects/<ObjectName>/listViews/<fullName>.listView-meta.xml with fields like fullName, label, filterScope, columns, and filters.
  • Validate List View definitions for correct API names, operator compatibility, and file naming/placement to prevent deployment errors.
  • Troubleshoot and refine visibility strategies and shared views to meet governance and user needs.

Quick Start

Create a List View for the Account object that displays Active Accounts with common columns such as Name, Industry, and Status.

Frequently Asked Questions about salesforce-list-view

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Salesforce List View metadata file for deployment?

To create a Salesforce List View, generate an XML metadata file at the path force-app/main/default/objects/<ObjectName>/listViews/<fullName>.listView-meta.xml, ensuring required fields like fullName, label, filterScope, and columns are properly defined.

Why does my Salesforce List View deployment fail due to filter operator errors?

Salesforce List View deployment failures often occur when filter operators are incompatible with the specified field types, so validating operator compatibility and ensuring correct API names before deployment prevents these metadata errors.

What fields are required in a Salesforce List View metadata XML definition?

A Salesforce List View metadata definition requires the fields fullName, label, filterScope, and columns to be present, along with any configured filters that enforce correct operators and field types for the object.

How do I troubleshoot Salesforce List View visibility issues across different orgs?

To troubleshoot Salesforce List View visibility across orgs, validate and refine the shared view definitions and visibility strategies within the XML metadata to ensure they meet governance requirements and user needs consistently.

Can I validate Salesforce List View definitions before deploying to production?

Yes, you can validate Salesforce List View definitions by checking the XML file for correct API names, operator compatibility, and proper file naming and path alignment to prevent deployment errors before reaching production.

What is the correct file path for deploying a Salesforce List View in metadata XML?

The correct file path for deploying a Salesforce List View is force-app/main/default/objects/<ObjectName>/listViews/<fullName>.listView-meta.xml, ensuring proper path alignment for the metadata deployment to succeed.