In API 38 (Winter '17), when an "App Branding" image is uploaded through the Lightning Experience UI, the app metadata includes this brand information:
<?xml version="1.0" encoding="UTF-8"?>
<CustomApplication xmlns="http://soap.sforce.com/2006/04/metadata">
<brand>
<headerColor>#AF2524</headerColor>
<logo>CV_CF_Icon_128</logo>
<logoVersion>1</logoVersion>
</brand>
...
The CustomApplication documentation says that the logo
is:
The optional reference to the image document for the application.
But I don't see a Document
with a matching name.
Where is this logo image stored, and how can I extract it via the metadata so I can add it to version control and have a working continuous integration deployment from that version control copy?
PS
Used "Search Salesforce" and found it presented as a "File" (a ContentDocument). Is there a good way to get this into version control?
resources
folder alongside thesrc
folder and then have your CI script upload the logo file(s) during the build process. You'd just need to have this resources folder checked into your repository.