Skip to main content
Question

Restrict "Instance Swap Properties"

  • October 28, 2024
  • 2 replies
  • 64 views

Drew_Cain

I’m wondering if there is a way to restrict instance swap properties to only components on the same page as the master component.

I’ve built a set of icons for a specific purpose which all live on my UI-Icons page. I’ve then created a master icon component that holds an instance of one of the icons and have assigned it “instance swap properties” to be able to swap the contents for any icon on the page, which is great… However, this method seems to allow any component in the entire library to be called into this master icon component, not just icons on the UI-Icons page, which I don’t want collaborators to be able to do – I want this master icon component to only be capable of swapping icons from this set.

I know I could get this result by compiling all the icons into a Component Set, but I’d really rather use the instance swap method.

So I’m wondering – Is there a way to restrict the swap capability to just the UI-Icons page or even only select components defined by me?

This topic has been closed for replies.

2 replies

Raphael_M
  • Power Member
  • 394 replies
  • October 29, 2024

Well there is some way like adding the “preferred values” so the ones that would show up first would be your preferred components. But they aren’t restricted to only those components because they could still swap it to other components just by clicking the drop down in the popup dialog.


Drew_Cain
  • Author
  • New Participant
  • 9 replies
  • October 29, 2024

Thank you Raphael, I was aware of “Preferred Values”, but I’d hoped not to have to update that every time I added an icon to the set, and like you said, it really doesn’t stop anyone from adding any other component instance from the library, it just puts the preferred ones at the top of the list.

Might be my only way to at least somewhat direct this the way I want it to go. I appreciate your response.


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