Skip to main content
Solved

duplicate icons


Forum|alt.badge.img+6

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 )?

Best answer by Mark Jongeling

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? 😃

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

Mark Jongeling
Administrator
Forum|alt.badge.img+23

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? 😃


Forum|alt.badge.img+6
  • Captain
  • January 27, 2023
Mark Jongeling wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings