This repository has been archived by the owner on Oct 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add more child types of complex Metadata
This enables `force-dev-tool changeset create` to handle e.g. `customSettingAccesses ` of `CustomObject`. Closes #218
- Loading branch information
Showing
10 changed files
with
1,443 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
test-functional/data/simple-metadata/profile-custom-settings/expected/package.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<types> | ||
<members>Admin</members> | ||
<name>Profile</name> | ||
</types> | ||
<version>48.0</version> | ||
</Package> |
7 changes: 7 additions & 0 deletions
7
test-functional/data/simple-metadata/profile-custom-settings/expected/profiles/Admin.profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Profile xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<customSettingAccesses> | ||
<enabled>true</enabled> | ||
<name>MyCustomSetting__c</name> | ||
</customSettingAccesses> | ||
</Profile> |
7 changes: 7 additions & 0 deletions
7
...ctional/data/simple-metadata/profile-custom-settings/v0/objects/MyCustomSetting__c.object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<customSettingsType>Hierarchy</customSettingsType> | ||
<enableFeeds>false</enableFeeds> | ||
<label>My Custom Setting</label> | ||
<visibility>Public</visibility> | ||
</CustomObject> |
12 changes: 12 additions & 0 deletions
12
test-functional/data/simple-metadata/profile-custom-settings/v0/package.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<types> | ||
<members>MyCustomSetting__c</members> | ||
<name>CustomObject</name> | ||
</types> | ||
<types> | ||
<members>Admin</members> | ||
<name>Profile</name> | ||
</types> | ||
<version>48.0</version> | ||
</Package> |
Oops, something went wrong.