1.2.0 • Published 6 months ago

sfdx-plugin-source-read v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

sfdx-plugin-source-read

sfdx/sf plugin to read Metadata via CRUD Metadata API

For certain Metadata Types there is a different behaviour of the file-based vs. CRUD-based Metadata API.

This plugin provides the sf force source read command to read Metadata using the "CRUD-based" Metadata API similar to sf force source retrieve (which uses the "file-based" Metadata API).

Example

  • When retrieving a Profile using sf force source retrieve it only contains <userPermissions>.
  • When retrieving a Profile using sf force source read it contains all fields like <fieldPermissions>, <tabVisibilities> and more.

Installation

sf plugins install sfdx-plugin-source-read

Usage

sf force source read -m "Profile:Admin"
sf force source read -p force-app/main/default/profiles/Admin.profile-meta.xml
sf force source read -m "RecordType:Account.Business"
sf force source read -p force-app/main/default/objects/Account/recordTypes/Business.recordType-meta.xml

Disclaimer

Currently this has been tested only for Profiles and RecordTypes.

1.2.0

6 months ago

1.1.1

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago