-
Notifications
You must be signed in to change notification settings - Fork 4
Theme Alpines Südtirol
lukmay edited this page Dec 16, 2023
·
2 revisions
If an accommodation's DistrictId
is listed in the predefined Alpin district list, the theme "Alpin" is added to the ThemeIds
.
The Districts that are "Alpin" are saved in the "Alpin.xml"
The Code:
Is implemented here.
var isinalpinelist = alpinelist.Root.Elements("Fraction").Where(x => x.Value == myacco.DistrictId).Count();
if (isinalpinelist > 0)
{
myacco.ThemeIds.Add("Alpin");
}
This wiki contains additional information about the Open Data Hub alongside the Open Data Hub - Official Documentation 🔗 .