Skip to main content
Delivered

Formula: =CONTAINEDBY should provide shape's swimlane name

Related products:Lucidchart
  • December 6, 2023
  • 3 replies
  • 105 views

Cameron G
Lucid Legend Level 4
Forum|alt.badge.img+10

Here’s the problem:

When working on very large swimlane diagrams, it’s very easy to not know which swimlane you’re on unless you scroll over to see the title. Sure, you could manually select each item in that swimlane and apply shape data, but that too is also tedious.

 

Solution:

If =CONTAINEDBY provided the actual name of that shape’s swimlane, you could easily apply a Text Badge (as one example) to ALL the shapes dynamically based on the name of the swimlane. Then, as you are neck deep in some crazy diagram, you already know where you are instead of realizing you’ve been adding shapes to the wrong lanes the whole time.

Comments

Leianne C
Forum|alt.badge.img+15
  • Lucid support team
  • December 13, 2023

Hi @Cameron G, wanted to update this thread with good news! We now support containment conditional formatting for swimlane lanes!

On the contained shape, try using formula CONTAINEDBY($SWIMLANELANE)[1].$id to get the lane's ID, then use CONTAINEDBY($SWIMLANELANE)[1].$id = "(*desired lane id*) as the formula in the if-statement for conditional formatting.

Thank you for sharing your feedback in the community! Feel free to let us know if you have any questions :)


Cameron G
Lucid Legend Level 4
Forum|alt.badge.img+10
  • Author
  • Lucid Legend Level 4
  • December 13, 2023

Fantastic! You guys are the best! Thank you so much!

And for anyone reading this, you can get the actual name of the swimlane with: =CONTAINEDBY($SWIMLANELANE)

 

Thanks again!


Addie
Forum|alt.badge.img+23
  • December 13, 2023
IdeaDelivered