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.
AI OnAI Off
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.
Hi!
You need to use the LanguageBranch class to get that information. I think it's the ResolvedIconPath property, but I'm not 100% sure.
To get all enabled languages you can use LanguageBranch.ListEnabled() and connect that to your repeater. It depends on exactly what you want to do, but the LanguageBranch class is what you need to work with.
Regards
Per Gunsarfs
EPiServer CMS Development Team
I'm new to Episerver and we're converting our 4.61 site to 5 R2. I'm currently working on displaying the current languages and names in an unordered list using an asp repeater. I am wondering how to access the "custom icon" I set in the admin UI, and have it display in my asp repeater. What is the code I would use for this? Any help would be appreciated. Thanks!