Popups have unique id - can be toggled in action framework

  • 2
  • Idea
  • Updated 5 months ago
I've had many instances of creating the same popup in several places on a page. Some times I'll just switch it to a separate page and page include, but if it's a simple popup that doesn't make much sense. 

Could you give popups a unique id, then show them via the Action Framework with Toggle Component? It might have to include choosing a model to give the popup a context.
Photo of Jack Sanford

Jack Sanford, Champion

  • 9,570 Points 5k badge 2x thumb

Posted 5 months ago

  • 2
Photo of Mike Dwyer

Mike Dwyer, Champion

  • 4,518 Points 4k badge 2x thumb
Can you accomplish what you need with an Action Sequence?
Photo of Jack Sanford

Jack Sanford, Champion

  • 9,570 Points 5k badge 2x thumb
Yes most likely! Great idea. The need arises more out of instances where I built just one popup, then much later realize I need it again. BUT - best practice might be to always build popups in Action Sequences, just in case. Also makes them easier to find and edit. 
Photo of Mike Dwyer

Mike Dwyer, Champion

  • 4,518 Points 4k badge 2x thumb
Yes. I had one popup "buried" inside a calendar component, and it was being heavily edited. When I hit on the Action Sequence idea, I was so pleased with the ease of access, I was afraid I was doing something wrong!