Join Discord
Powered by
How can I check if a specific View Partial exists ...
# package-development
c
Chriztian Steinmeier
01/27/2023, 9:16 PM
How can I check if a specific View Partial exists (from within a Template)? In Umbraco 10+
Chriztian Steinmeier
01/28/2023, 7:11 AM
Found this nugget in Lee's Contentment package:
https://github.com/leekelleher/umbraco-contentment/blob/c636d8f856c5091c112ceaf7c2dc51c35d388441/src/Umbraco.Cms.10.x/Extensions/HtmlHelperExtensions.cs#L19
Chriztian Steinmeier
01/28/2023, 7:12 AM
I'd arrived at that same SO page but couldn't for the life of me figure out what to pick and use :)
Previous
Next