1

I have built an app using SPFx 1.19 and there is an issue with an App when it gets uploaded in App Catalog.

The icon for this app in App-Catalog is broken icon. It doesn't pick-up the icon which i set as "iconPath" in package json file. The problem behind it is-when the app is getting uploaded then the clientSideAssets folder contains the hashed name of this icon. Due to which it is not showing the intended icon.

Is there any way to resolve this. So far, I came across the solution which is- Admin has to manually modify the icon url or manually upload the icon to clientSideAssets folder.

Thanks in advance.

1 Answer 1

1

You can use Base64 format in iconImageUrl property - no need to worry about storage and access.
screenshot of code where iconImageUrl property contains Base64 format string

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.