Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Bot, BotVersion, and CorsWhitelist metadata types #146

Closed
bobbywhitesfdc opened this issue Jun 9, 2021 · 3 comments · Fixed by #148
Closed

Support Bot, BotVersion, and CorsWhitelist metadata types #146

bobbywhitesfdc opened this issue Jun 9, 2021 · 3 comments · Fixed by #148
Assignees
Labels
enhancement New feature or request

Comments

@bobbywhitesfdc
Copy link

bobbywhitesfdc commented Jun 9, 2021

running sgd against a project that contains some metadata types that should be included in the package.xml that is generated but these are skipped.

Bot
BotVersion

Describe the solution you'd like

sgd should detect these metadata types and include them in the package.xml :-)

Describe alternatives you've considered

Alternative is hand editing of the generated package.xml :-(

Additional context

Here's the structure on the filesystem that I've seen:
force-app/main/default/bots/
.bot-meta.xml
.botVersion-meta.xml

force-app/mainWhitelistOrigins
.corsWhitelistOrigin-meta.xml
.corsWhitelistOrigin-meta.xml

Package.xml

    <types>
        <members>Virtual_Assistant</members>
        <members>Virtual_Assistant2</members>
        <name>Bot</name>
    </types>
    <types>
        <members>Virtual_Assistant.v1</members>
        <members>Virtual_Assistant2.v1</members>
        <name>BotVersion</name>
    </types>
@bobbywhitesfdc bobbywhitesfdc added the enhancement New feature or request label Jun 9, 2021
@bobbywhitesfdc
Copy link
Author

@scolladon Thank you in advance!

@bobbywhitesfdc
Copy link
Author

Please disregard the corsWhitelist item, I see that it's actually in there and working now!

@scolladon
Copy link
Owner

@bobbywhitesfdc please look the new version 4.6.0 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants