Git Product home page Git Product logo

dxb's People

Contributors

davidbrowaeys avatar dependabot[bot] avatar olivierbrabanders avatar thclayton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dxb's Issues

Upgrade to latest Salesforce CLI standard

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.

sfdx dxb:profile:build appears to order permissions differently between Mac and Windows

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.

customMetadataTypeAccesses permission disappears when executing sfdx dxb:profile:convert

Steps to reproduce:

  1. Create a custom metadata type in a scratch org.
  2. Assign permissions to the custom metadata type to the profile.
  3. Pull the profile changes into your source code.
  4. Run sfdx dxb:profile:convert.

Expected Result:

A JSON file containing the custom metadata type is created.

Actual Result:

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>
...

sfdx dxb:profile:convert appears to cause problems for Case and CaseClose layout assignment permissions

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.