platform-list-view-generate

Generate and validate Salesforce List View metadata XML files.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Build --skill platform-list-view-generate-padjei
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: platform-list-view-generate
Source: https://github.com/padjei/SF_Build/tree/main/.claude/skills/platform-list-view-generate
Command: npx skills add https://github.com/padjei/SF_Build --skill platform-list-view-generate-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating Salesforce List View metadata by hand often leads to deployment failures caused by wrong field API names, mismatched filter operators, incorrect file paths, or malformed boolean filter logic. This Skill provides the specification, rules, and workflow to author valid ListView XML that deploys successfully. ## Core Features & Use Cases - List View Generation: Produces valid .listView-meta.xml files with correct fullName, label, filterScope, filters, and columns placed under objects/<ObjectName>/listViews/. - Validation & Troubleshooting: Diagnoses common deployment errors such as invalid field names, invalid filter operators, component-not-found path issues, and malformed booleanFilterLogic. - Visibility & Column Guidance: Helps decide sharing scope (all users vs. restricted roles) and column density based on the target audience and workflow. - Use Case: A developer needs a view showing open records owned by the current user. The Skill generates a ListView with filterScope Mine, a Status__c equals Open filter, and four display columns, ready to deploy. ## Quick Start Ask the AI to create a Salesforce list view for a specific object with your desired filters, columns, and visibility settings.

Frequently Asked Questions about platform-list-view-generate

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

FAQPage Schema
How do I create a Salesforce list view in metadata XML?▼

Create a .listView-meta.xml file under force-app/main/default/objects/<ObjectName>/listViews/ with fullName, label, filterScope, columns, and optional filters elements. Ensure the file name matches the fullName value, then deploy the component to your org.

How to add filters to a Salesforce ListView metadata file?▼

Add a filters element containing field, operation, and value triples, using operations compatible with the field type such as equals for picklists. When using multiple filters, define booleanFilterLogic like "1 AND (2 OR 3)" matching the filter order.

Why does my Salesforce list view deployment fail with invalid field error?▼

The error occurs when using a field label instead of its API name, or using Name instead of NAME for standard fields on custom objects. Use exact API names like Status__c for custom fields and defined names like NAME or CREATED_DATE for standard fields.

What filter operations are valid for Salesforce list view fields?▼

Operations must match the field type: picklists require equals or notEqual, date fields require date operators, and boolean fields use values 0 and 1. Using text-only operators like contains on non-text fields causes deployment errors.

Can a Salesforce list view be restricted to specific users or roles?▼

Yes, add a sharedTo element specifying roles, roleAndSubordinatesInternal, or groups to limit visibility. Omit the sharedTo section entirely to make the list view visible to all users, which is the recommended default.