Skip to main content

I noticed I can add the same icon multiple times into the icons manager in the SF
 

How is this intended?
I can imagine that it is by design where multiple items that use the same icon all have a seperate icon in the icon manager to easily change the icon and reflect that change automagically.

OR

We want all used icons in the icon manager once and when we want to change the icon for a specific item we change it thru to a different icon id.

In the last situation I don't think duplicates should be allowed (filename or name )?

Hi Alban,

We allow duplicate icons to exist to prevent errors when base models are merged with the work model. In the case you would have a base model containing icons, these icons would be merged into your work model. May you already have this icon present in your work model, the merging cannot detect that by looking at the icon name, but can only determine it by looking at the underlying identity value; which is only equal if the icon came from the base model and was not uploaded directly into the work model.

There's a validation in place to detect duplicate icons based on the icon name to notify developers about them. Does this help out? 😃


Hi Alban,

We allow duplicate icons to exist to prevent errors when base models are merged with the work model. In the case you would have a base model containing icons, these icons would be merged into your work model. May you already have this icon present in your work model, the merging cannot detect that by looking at the icon name, but can only determine it by looking at the underlying identity value; which is only equal if the icon came from the base model and was not uploaded directly into the work model.

There's a validation in place to detect duplicate icons based on the icon name to notify developers about them. Does this help out? 😃

Hi Mark,
Very clear answer