A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
search
AI OnAI Off
Hi everyone,
I have a specific question about the LinkItemCollection property. It holds the LinkItem objects of different types (internal links to pages, external links, email links, links to internal mediafiles etc.). The only property i can find is 'Href' which shows the link. How can i find out what type of link it was?
For instance a pdf file is shown as: /link/46c1ceba004c4d6b9f2fc2bd62c8650a.aspx
Same for internal links to pages.
I can use ' PermanentLinkMapStore.TryToMapped' but this only is part of the solution. Anyone has a good solution for this? My end goal is that i can show Icons at my list of links which vary depending on the type of link.
Thanks in advance,
Ronald