You need to sign in to do that
Don't have an account?
Georg Wille
How to Deploy an App Icon With a Package Created in VS Code
I am developing an Unlocked package that contains a simple application (a console application that contains two custom tables (Objects) used for configuring the core functionality of my package).
I was able to create a custom icon (Logo) for my app in my development org in the following way:
The XXXApp.app-meta.xml now has an entry
Thanks in advance for any helpful hints.
here is the SOQL query and result for the folder
I was able to create a custom icon (Logo) for my app in my development org in the following way:
- create a public document fiolder
- upload, into that folder, my .png 'document'
- replace the default salesforce cloud with my custom icon in the Custom App Detail page.
The XXXApp.app-meta.xml now has an entry
<logo>XXX_App_Resource/XXX_App_Icon</logo>
and I can retrieve the the Documents/XXX_App_Resource folder in the Org Browser, which gives me the following files:
XXX_App_Icon XXX_App_Icon.document-meta.xml
in my project structure; there is no DocumentFolder metadata for the document folder.
When trying to install the package the system complains:
ERROR running force:package:install: Installation errors: 1) (XXX_App_Resource/XXX_App_Icon.png) Cannot find folder:XXX_App_Resource, Details: XXX_App_Resource/XXX_App_Icon.png: Cannot find folder:XXX_App_ResourceHave I overlooked something, or Is there an other way of achieving what I intend to do?
Thanks in advance for any helpful hints.
here is the SOQL query and result for the folder
[SELECT DeveloperName, AccessType, IsReadonly FROM Folder WHERE DeveloperName = 'XXX_App_Resource'] DEVELOPERNAME ACCESSTYPE ISREADONLY ──────────────── ────────── ────────── XXX_App_Resource Public trueand for the .png:
[SELECT DeveloperName, BodyLength, ContentType, IsInternalUseOnly, IsPublic FROM Document WHERE Folder.DeveloperName = 'XXX_App_Resource'] DEVELOPERNAME BODYLENGTH CONTENTTYPE ISINTERNALUSEONLY ISPUBLIC ───────────── ────────── ─────────── ───────────────── ──────── XXX_App_Icon 2030 image/png true
and add this to your package.xml
Georg