davidbrowaeys / dxb Goto Github PK
View Code? Open in Web Editor NEWA utility cli plugin built on top of #SFDX to facilitate devops.
Home Page: https://davidbrowaeys.github.io/DXB/
License: MIT License
A utility cli plugin built on top of #SFDX to facilitate devops.
Home Page: https://davidbrowaeys.github.io/DXB/
License: MIT License
Create a new command to align the API versions of each component in a project to the API version defined in sfdx-project.json.
It can be executed with dxb:api:align.
This enhancement plans to upgrade the existing packages to the latest version in the package.json.
There is a chance that changes included in this issue will require command line arguments to be changed.
It appears that the fs.readdirSync
function behaves inconsistently in terms of sorting as shown in these links:
https://stackoverflow.com/a/51890207/8797514
nodejs/node#3232
This causes problems when running sfdx dxb:profile:build
between developers who use different operating systems.
Is it possible to sort the arrays after calling fs.readdirSync
, or allow this option by passing in an argument? Please let me know if you require more clarification.
Running dxb:permissionset:clean fails on a permission set with recordTypeVisibilities tags with the following error:
TypeError: result.PermissionSet.recordTypeVisibilities.filter is not a function
I was poking around in here and saw this
DXB/src/commands/dxb/source/delta.ts
Line 151 in ebb2ae6
which seems like it's gonna be painful over time.
May I suggest seeing if something from here might be helpful?
https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json
https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/registryAccess.ts
sfdx dxb:profile:convert
.A JSON file containing the custom metadata type is created.
No JSON file containing the custom metadata type is created.
Note: An example of the profile permission are as follows:
...
<customMetadataTypeAccesses>
<enabled>true</enabled>
<name>Some_Custom_Metadata__mdt</name>
</customMetadataTypeAccesses>
...
When I run sfdx dxb:profile:convert
, it appears that only one of Case and CaseClose layout assignments are persisted. My guess is that layout assignment permissions are parsed based on record type. This works fine for every object except for Cases because Cases have layout assignments for both Case
and CaseClose
despite having the same record type.
Below is an example of valid metadata even though they both have the same recordType
.
<layoutAssignments>
<layout>Case-Case Layout</layout>
<recordType>Case.Some_Record_Type</recordType>
</layoutAssignments>
<layoutAssignments>
<layout>CaseClose-Close Case Layout</layout>
<recordType>Case.Some_Record_Type</recordType>
</layoutAssignments>
Please let me know if you have any questions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.