Extracting embedded links in a Lucidchart document
I have a large LucidChart document with about 15 tabs. In it, I have embedded many links to PowerPoint slides and internal references to other places in the LucidChart. I want to create a list of the embedded links to make sure they are all pointing to the latest versions of the target files. How can I search my document for all these links and create a list of the links?
Page 1 / 1
Hi @Fklein23
There is no built-in feature to automatically extract or list all embedded hyperlinks from a document, and
This topic is likely already under discussion in the community, We'll await confirmation from the Lucid team to determine that for us here.
Hope this helps - Happy to help further!! Thank you very much and have a great one! Warm regards
Hi @Fklein23, thanks for your post! Unfortunately, extracting embedded links isn’t currently supported in Lucid. The best option to check all your embedded links would be to use Ctrl+F to search for keywords. Alternatively, if they are all Embedded links, you can select one then go to Select > Shapes with same > Shape type to select all the embedded links on one page to copy at once.
That said, we’re very interested in your feedback and committed to continually improving our products. If you’re willing to share, we’d love to hear more details about your use case or what you’d like to see in this experience within this thread. I’ve also converted this post to an idea so that it’s visible to others within the Product Feedback section of the community - from here, they can upvote it and add details of their own.
Finally, for more information on how Lucid manages feedback via this community, take a look at this post:
Thank you for taking the time to share feedback in the community. Let us know if you have any questions!
The story is as follows:
I have a carefully constructed PowerPoint slide deck that defines the modes of behavior of a complex medical device that is currently under development.
I have a LucidChart that defines the behavior of the system.
The LucidChart consists of about 16 tabs, each of which will generate a single A4 +/- page in a PDF document. The design is a combination of flow charts and state diagrams.
In the LucidChart, there are places where the LucidChart references a different place in the chart, which may be on a different page or the same page. This allows the software designer to know how to sequence the “modes” to define the overall behavior of the system.
Some of the links are Lucid links that allow the designer to march through every path through the state diagrams and write the code.
The individual modes are defined by the PowerPoint slides: one slide for each mode.
In order to prevent the S/W developer from getting lost in the forest of states in the many pages of the state diagram, I embedded links to the PowerPoint slides wherever a mode change happens, as well as links to slides in a GUI screens slide deck, which will have probably a hundred or so screens.
So far, there are 116 slides, so potentially more than 116 links in the Lucid doc, and that doesn’t count the GUI links. I tried embedding the links in special labels that are defined as “FSM”, “GUI”, or “Mode”, but that cluttered the screen up to the point of total confusion. So some of the links I want to just be identified by the little paper clip icon attached to a Lucid object. Visually searching for them is challenging and error-prone.
I had to solve a problem related to the slides, namely that once a link to a PPTX slide is created, Lucid doesn’t care where that slide is moved within the PowerPoint document as long as the slide doesn’t get cut and pasted or deleted and replaced with a new slide. Re-ordering the slides is not a problem for Lucid’s links, which I was delighted to learn, because if that weren’t the case, this method would not work.
So I have one immutable “permanent” PowerPoint slide deck that is the target of the links and defines the very latest design’s modes. When new versions of the deck are created, we can’t just save the old file and replace it with the new one because the links in the Lucid doc will become invalid. So I wrote a series of VBA scripts that allow me to: do an “approximate” comparison of the slides in two PowerPoint decks, a “safe” copying of all the slide contents from one deck to another, and a way to update the links.
I know the form of a Mode name, and a regex package in VBA lets me easily extract a list of modes of the form “(XXX)”. Each slide has a mode name that is embedded in a text string in that slide. This allows me to prep the permanent PowerPoint deck to be updated from the new deck, because the update requires that the two decks have the same number of slides and the corresponding ones have the same mode name. The only way to do this without killing any links is to copy all the contents of all the slides in one deck to all the contents of the corresponding slides in the permanent deck, AFTER prepping the permanent collection by inserting blank slides, deleting obsolete slides, and moving the slides around until the two mode lists extracted from the new and permanent slide decks are exactly the same. Then I execute the CopySlideContents() VBA script to update the permanent deck.
I needed a way to navigate through the 16 or so pages of LucidCharts to test the links to make sure they are correct after an update. Otherwise, I would have to go through 16 pages and 116 modes to painstakingly, visually locate all the links; and I might miss some. So, since I have a way to extract all the mode names from the PowerPoint slide deck, I just wanted a similar utility for the LucidChart.
So, I asked for a utility that could list all the links in a LucidChart. That isn’t technically necessary. The minimum feature I need is the ability to search through a LucidChart looking for the “next” link.
It could work like the ctl-F search feature that allows one to search for a text string, and find the “next” one in the page or document or selected region of the LucidChart. But in the case of a link, I don’t have any way of specifying a search for the “next” link. That is actually what I need.
When evaluating the link, I just need to make sure it points to the permanent slide deck and not one that was actually picked up from a deck that was under development.
Without the VBA tools, manually updating the system takes about a week. With the utilities, it takes far less time, depending on how profound the update is.
It would be nice if there were similar scripting tools within LucidChart, like VBA is for PowerPoint, but I am not aware of such a feature. Is there a Python package that allows me to manipulate a LucidChart?
I tried your suggestion about selecting all the shapes of the same type, but if the object I have selected is a link, the menu items “Shapes with the same” >>> “Shape type” are grayed out.
Hi @Fklein23, thank you for taking the time to share a detailed description of your use-case. This helped me get a better understanding of how your document and links are setup. The recommendation I gave above unfortunately will only work if it is an embedded link like the screenshot below. These embedded links include the option to preview the thumbnail to edit or view the webpage within Lucid.
I am going to check internally for some additional insight into your use-case and will update this thread as soon as I have more information! If you have any related questions in the meantime, please feel free to add them to this thread. Thanks!
A Lucid account is required to interact with the Community, and your participation is subject to the
Supplemental Lucid Community Terms.
You may not participate in the Community if you are under age 18. You will be redirected to the Lucid app to log in.
A Lucid account is required to interact with the Community, and your participation is subject to the
Supplemental Lucid Community Terms.
You may not participate in the Community if you are under age 18. You will be redirected to the Lucid app to log in.