Does anybody know how to selectively choose what o...
# sdf
m
Does anybody know how to selectively choose what objects and files to deploy from a SDF project? I mean, I would like to leaave some objects out of the project:deploy task
s
manually adjust your
deploy.xml
to only reference the files you want deployed.
i.e. don't use
*
a
This is ok For ACPs. Becareful with suiteapps, whatever you left out of deploy xml, will also ve deleted from your account.
s
That's a good point - I'm only working with Account Customization Projects
though more precisely, for suiteapps leaving something out only deletes it if it was created originally by that appid?
at least I hope that's the case!
a
Yes anything deployed using the appid, if left out from deploy xml/ or deleted from your local project will delete it from the account in subsequent deploy.
✔️ 1
m
thanks for all your answers
awesome community! thanks
j
I want to completely bypass deploying anything from my file cabinet; What is the best approach? Just comment out the files and path object? (for a simple account customization project)
Copy code
<deploy>
    <configuration>
        <path>~/AccountConfiguration/*</path>
    </configuration>
<!--    <files>-->
<!--        <path>~/FileCabinet/</path>-->
<!--    </files>-->
    <objects>
        <path>~/Objects/marketplace/*</path>
    </objects>
    <translationimports>
        <path>~/Translations/*</path>
    </translationimports>
</deploy>
🙌 1