Gathering links when a component is activated