Exception in template (Designs/bleau-solutionset/_parsed/Dagsordner.parsed.cshtml): System.Exception: Request has failed. Url: /api/integration/publication/agenda/{{ag.AgendaUid}}. Message: Not Found
   at FirstAgendaImport.Service.HttpService.Get[T](String path, Boolean ignoreErrors)
   at FirstAgendaImport.Service.AgendaService.GetById(String agendaId)
   at CompiledRazorTemplates.Dynamic.cccfeeddca.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Templating.TemplateService.Run(ITemplate template, DynamicViewBag viewBag)
   at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, DynamicViewBag viewBag, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@inherits RazorTemplateBase< RazorTemplateModel < Template > > @using Dynamicweb.Rendering <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale = 1.0"> <title>@GetValue("Title")</title> @GetValue("MetaTags") @GetValue("CopyRightNotice") @if (!string.IsNullOrEmpty(GetString("Item.Image"))) { <meta property="og:image" content='https://@GetString("Global:Request.Host")@GetValue("Item.Image")'> <meta property="og:image:secure_url" content='https://@GetString("Global:Request.Host")@GetValue("Item.Image")'> } else{ <meta property="og:image:secure_url" content='https://@GetString("Global:Request.Host")/Files/Images/FK_logoA_15_rgb_AI.svg'> } <meta property="og:type" content="website"> <meta property="og:title" content='@GetString("Item.PageName")'> <meta property="og:url" content='https://@GetString("Global:Request.Host")@GetString("Global:Pageview.Url")'> <meta property="og:description" content='@GetString("Item.News_Teaser_Text")'> <meta name="google-site-verification" content="V3fEHGr3Eb00bLHm3OHAZ8D3vh-ZqHn0ioU_wxxNMGs"> <link rel="stylesheet" href='/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/bleau-styles.min.css?vs=@GetInteger("Item.Area.Cssver")' media="screen"> <link rel="stylesheet" href='/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/print.min.css?vs=@GetInteger("Item.Area.Cssver")' media="print"> <link rel="stylesheet" href='/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/font-awesome.min.css?vs=@GetInteger("Item.Area.Cssver")' media="none"> <link rel="stylesheet" href="https://unpkg.com/simplebar@latest/dist/simplebar.css"> <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/svg-inject.min.js"></script> <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> @RenderSnippet("StyleSheetHead") @RenderSnippet("StyleSheet") @RenderSnippet("standardModulesCSS") @if (!string.IsNullOrEmpty(GetString("DwNavigation(topMenu)"))) { <link href='@GetString("Item.Area.Custom_CSS_Url")' rel="stylesheet"> } <link href="https://customer.cludo.com/css/templates/v2.1/essentials/cludo-search.min.css" type="text/css" rel="stylesheet"> <link href="https://customer.cludo.com/assets/228/10914/cludo-search.min.css" type="text/css" rel="stylesheet"> @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.GTMID"))) { <!-- Google Tag Manager --> <script> (function (w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', '@GetString("Item.Area.GTMID")'); </script> <!-- End Google Tag Manager --> } <link rel="shortcut icon" href='/Admin/Public/GetImage.ashx?Image=@GetString("Item.Area.Favicon")&amp;Width=16&amp;Height=16&amp;Crop=5&amp;format=png'> <link rel="apple-touch-icon" href='/Admin/Public/GetImage.ashx?Image=@GetString("Item.Area.Apple_touch_icon")&amp;Width=16&amp;Height=16&amp;Crop=5&amp;format=png'> @GetValue("Stylesheets") @GetValue("Javascripts") </head> @{ var bodyclass = ""; string Cpage = GetString("DwPageName"); if (Cpage.Contains("Forside")) { bodyclass = "frontpage "; } if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Color"))) { bodyclass += GetString("Item.Area.Color"); } bodyclass = bodyclass.Trim(); } <body class="@bodyclass"> <a href="#Hovedindhold" class="hidden">Skip til hoved indholdet</a> <h1 class="hidden">@Translate("Welcome", "Velkommen til ") @GetString("Title")</h1> @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.GTMID"))) { <!-- Google Tag Manager (noscript) --> <noscript><iframe src='https://www.googletagmanager.com/ns.html?id=@GetString("Item.Area.GTMID")' height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> } <div class="body-wrapper"> @inherits RazorTemplateBase<RazorTemplateModel<Template>> @using Dynamicweb.Rendering; @using System.Collections; @using System.Globalization; @using Dynamicweb.Frontend.Devices @using Dynamicweb.Extensibility @using Dynamicweb.Content @using Dynamicweb.Security @using System @using System.Linq @using System.Web @using System.IO <header> <div class="navbar hidden-print" role="navigation"> <div class="top-nav" id="nav-wrapper"> <div class="navbar-header col-xs-6 col-md-4"> @if(!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Device.IsDesktop")) || !string.IsNullOrWhiteSpace(GetGlobalValue("Global:Device.IsTablet"))) { if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Logo_Image"))){ <a class="navbar-brand" href="/" title='@GetString("Item.Area.NameOrganisation")'> <img src='@GetString("Item.Area.Logo_Image")' alt='@Translate("Sitename", "Bleauprint government")'> </a> } }else{ if (!string.IsNullOrWhiteSpace(GetString("Item.Area.LogoMobile"))) { <a class="navbar-brand" href="/" title='@Translate("Sitename", "Bleauprint government")'> <img src='@GetString("Item.Area.LogoMobile")' alt='@Translate("Sitename", "Bleauprint government")'> </a> }else{ <a class="navbar-brand logo-image" href="/" title=""></a> } } </div> @inherits RazorTemplateBase< RazorTemplateModel < Template > > @using Dynamicweb.Rendering <div class="search-nav pull-right col-xs-5 col-md-1 search-navFull"> <a href="#search-box" class="collapsed" title="Søg">@Translate("Search", "Søg")</a> </div> <div id="search-boxTop" class="search-drop search-form"> <span onclick="$('.banner').trigger('click');"> @Translate("Exit", "Luk") <i class="fa fa-times"></i> </span> @SnippetStart("StyleSheetHead") <link type="text/css" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/weightedSearch.min.css?v=1" rel="stylesheet"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous"> @SnippetEnd("StyleSheetHead") <form accept-charset="utf-8" id="SearchFormTop"> @*<input type="hidden" name="ID" value='@GetValue("Item.Area.Search_Result")'>*@ <div class="search-area"> <input aria-label="Topmenu søge felt" autocomplete="off" size="10" spellcheck="false" class="search-input" placeholder='@Translate("search", "Hvad kan vi hj&aelig;lpe med?")' id="searchSubmit" data-error='@Translate("searchText", "S&oslash;g p&aring; sitet")' type="text" name="q" value='@GetValue("DwSearchPhrase")'> </div> </form> </div> <button class="navbar-toggle pull-right" aria-expanded="false" data-target="#menuWrapper" data-toggle="collapse" type="button" title='@Translate("Menu","Menu")'>@Translate("Menu","Menu")</button> <nav id="menuWrapper" class="collapse"> <div class="fullHeight" data-simplebar=""> <div class="row"> <button class="navbar-toggle collapse pull-right" aria-expanded="false" data-target="#menuWrapper" data-toggle="collapse" type="button"> @Translate("Exit", "Luk") </button> @*master partials header searchbox*@ @* Include("searchboxMenu.cshtml") *@ </div> <div class="wrapper"> @GetValue("DwNavigation(mobilemenu)") </div> <style>.simplebar-content{}</style> </div> </nav> </div><!-- /.container --> </div><!-- /.navbar --> </header> <div class="navbar visible-print"> <div class="container top-nav"> <div class="navbar-header col-xs-6 col-md-4"> <div class="visible-print"> <div class="navbar-brand"> @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Logo_Image"))) { <a class="navbar-brand" href="/" title='@Translate("Sitename", "Bleauprint government")'> <img src='@GetString("Item.Area.Logo_Image")' alt='@Translate("Sitename", "Bleauprint government")'> </a> } </div> </div> </div> </div> </div> @{ int formParagraph = GetInteger("Item.Area.SatisfactionForm.Value"); if (formParagraph > 0) { <div class="selvbetjening-wrapper hidden-print"> <div id="selvbetjening-btn" title='@Translate("SelvbetjeningText", "Selvbetjening")'>@Translate("Selvbetjening", "Selvbetjening")</div> <div class="selvbetjening-links clearfix"> <div class="satisfactionLevel"> @RenderParagraphContent(formParagraph) <div class="satisfactionLevel-success" data-success='@Translate("Success Feedback", "Tak for din feedback")' data-sending='@Translate("Sending", "Sending...")'> @Translate("Success Feedback", "Tak for din feedback") </div> </div> @* @GetValue("DwNavigation(selfservicegreen)") *@ </div> </div> } } <div id="Hovedindhold"> @inherits RazorTemplateBase<RazorTemplateModel<Template>> @using Dynamicweb.Rendering; @using Dynamicweb.Content.Items; @using System.Web; @using System.Web.UI; @using FirstAgendaImport.Service; @{ string pageLinksTitle = GetString("Item.Page.Title"), textColor = GetString("Item.Page.TextColor.Value"), hideGreyBox = GetString("Item.Page.HideGreyBox.Value"), isUdvalgPage = GetString("Item.Page.UdvalgPage.Value"), isLevelFour = GetString("DwPageName_4"), currentUrl = HttpContext.Current.Request.Url.AbsoluteUri.ToString(), pageTitle = GetString("DwPageName"); string infoBorger = string.IsNullOrEmpty(System.Web.HttpContext.Current.Request["ispdf"]) ? "infoBorger" : ""; string textStyle = string.IsNullOrEmpty(System.Web.HttpContext.Current.Request["ispdf"]) ? "" : "color:#000"; string committeeid = currentUrl.Contains("committeeId") ? "200px" : "400px"; var isPdf = System.Web.HttpContext.Current.Request["ispdf"] == "true"; var isPdfHeader = System.Web.HttpContext.Current.Request["ispdfheader"] == "true"; var agendaId = System.Web.HttpContext.Current.Request["agendaId"]; FirstAgenda.Api.Model.Agenda agenda = null; if (!string.IsNullOrEmpty(agendaId)) { var agendaService = new AgendaService(); agenda = agendaService.GetById(agendaId); } } <script> $(function () { onLoadExtraBox(); @{ var request = HttpContext.Current.Request; var response = HttpContext.Current.Response; } setTimeout(dothis, 500); function dothis(){ $('#qval').val("@request["q"]"); $('#qval').trigger("change") } }); </script> @SnippetStart("StyleSheetHead") <link rel="stylesheet" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/FirstAgendaFull.min.css" media="screen"> @SnippetEnd("StyleSheetHead") <!--Breadcrumb grey line--> <div class="grey-box leftSidebar fullWidth" style='display:@(String.IsNullOrEmpty(System.Web.HttpContext.Current.Request["ispdf"]) ? "block" : "none")'> <!--Breadcrumb--> <div class="container leftSidebar-subpage hidden-print"> <div class="breadcrumb text-right col-xs-12"> <nav aria-label="Breadcrumb navigation"> @GetValue("DwNavigation(Breadcrumb)") </nav> </div> </div> </div> <div class="leftSidebar" id="centralContentDagsordner"> <div class="leftSidebar-subpage dagsordner"> <div class="col-xs-12 page-title"> <h1 class="noxPadding title container" id="pageTitle">@(agenda == null ? GetString("DwPageName") : agenda.Name)</h1> @if(!String.IsNullOrEmpty(GetString("DwContent(fullwidthColumn)"))){ <div class="col-xs-12 xclearfix main-content container" id="fullwidthColumn">@GetValue("DwContent(fullwidthColumn)")</div> } @if (String.IsNullOrEmpty(GetString("DwContent(centralContainerDagsordner)"))) { } <div class="noxPadding"> <section id="centralContainerDagsordner" class="col-xs-12 noxPadding" role="list" aria-labelledby="centralContainerDagsordner"> <div id="centralContentDagsordner" class="noxPadding">@GetValue("DwContent(centralContentDagsordner)")</div> </section> </div> </div> </div> </div> </div> </div> <footer class="row"> <section class="container footer-wrapper"> <div class="row" id="footerSections"> <div class="col-xs-12 col-sm-3 col-md-3 quick-links hidden-print"> <h1>@Translate("QuickLinks", "Quick links")</h1> @GetValue("DwNavigation(quicklinks)") <div id="google_translate_element"></div> <script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'da', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, gaTrack: true, gaId: 'UA-11656804-1' }, 'google_translate_element'); } </script> <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> </div> <div class="col-xs-12 col-sm-3 col-md-3 work-time oh-day"> <h1>@Translate("SocialeMedier", "Sociale Medier")</h1> <ul class="Social-links"> @foreach (LoopItem i in GetLoop("Item.Area.SocialeMedier")){ if (i.GetString("Item.Area.SocialeMedier.Type.Value").Equals("Facebook")) { <li><img height="18" style="margin-right:5px;" src="/Files/Templates/Designs/bleau-solutionset/assets/images/FB.png" alt='@i.GetString("Item.Area.SocialeMedier.Titel")'><a href='@i.GetString("Item.Area.SocialeMedier.Adresse")' target="_blank">@i.GetString("Item.Area.SocialeMedier.Titel")</a></li> } else { <li><img height="18" style="margin-right:5px;" src="/Files/Templates/Designs/bleau-solutionset/assets/images/insta.png" alt='@i.GetString("Item.Area.SocialeMedier.Titel")'><a href='@i.GetString("Item.Area.SocialeMedier.Adresse")' target="_blank">@i.GetString("Item.Area.SocialeMedier.Titel")</a></li> } } </ul> </div> <div class="col-xs-12 col-sm-3 col-md-3 adress-box vcard"> <span class="fn hidden"> <span class="given-name">@GetString("Item.Area.NameOrganisation")</span> <span class="additional-name"></span> <span class="family-name"></span> </span> <div class="fn org"><h1>@GetString("Item.Area.NameOrganisation")</h1></div> <div class="adress"> <div class="street-address">@GetString("Item.Area.StreetAddress")</div> <div class="adr"> <span class="postal-code">@GetString("Item.Area.PostalCode")</span> <span class="locality">@GetString("Item.Area.Lacation")</span> </div> <div>@Translate("Telefon", "Telefon"): <span class="tel">@GetString("Item.Area.Telefon")</span> </div> @if(!string.IsNullOrEmpty(GetString("Item.Area.Fax"))){ <div class="tel"> <span class="type">Digital hotline: </span> <span class="value">@GetString("Item.Area.Fax")</span> </div> } <a class="email" href="mailto:@GetString(" item.area.email")"="">@GetString("Item.Area.Email")</a> </div> </div> <div class="col-xs-12 col-sm-3 col-md-3 work-time oh-day" itemscope="" itemtype="http://schema.org/CivicStructure"> <h1 itemprop="name">@Translate("Borgerservice", "Borgerservice åbningstider")</h1> <ul class="oh-highlight-day"> @foreach (var i in GetLoop("Item.Area.Opening_Hours")) { <li><meta itemprop="openingHours" content='@i.GetValue("Item.Area.Opening_Hours.Days")-@i.GetValue("Item.Area.Opening_Hours.OpenHour")'>@i.GetValue("Item.Area.Opening_Hours.Days")<span>@i.GetValue("Item.Area.Opening_Hours.OpenHour")</span></li> } </ul> </div> </div> @if(!string.IsNullOrWhiteSpace(GetString("Item.Area.LogoFooter"))){ <div class="col-xs-12 FooterBanding"> <img src='@GetString("Item.Area.LogoFooter")' alt='@Translate("LogoFooterText", "Én kommune - Femtem unikke steder")'> </div> } </section> </footer> <div class="bgr-opacity"></div> <script src="https://unpkg.com/simplebar@latest/dist/simplebar.js"></script> <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/jquery.dotdotdot.min.js"></script> <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/vendor/bootstrap/js/bootstrap.min.js"></script> <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/main.min.js?vs=2"></script> @RenderSnippet("JavaScriptBottom") @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.Google_Analytics_ID"))) { <text> <script> var _gaq = [['_setAccount', '@GetValue("Item.Area.Google_Analytics_ID")'], ['_trackPageview']]; (function(d, t) { var g = d.createElement(t), s = d.getElementsByTagName(t)[0]; g.async = true; g.src = '//www.google-analytics.com/ga.js'; s.parentNode.insertBefore(g, s); })(document, 'script'); </script> </text> } <script type="text/javascript"> /*<![CDATA[*/ (function () { var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true; sz.src = '//siteimproveanalytics.com/js/siteanalyze_2568.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s); })(); /*]]>*/ </script> @*Cludo*@ <script type="text/javascript" src="https://customer.cludo.com/scripts/bundles/search-script.min.js"></script> <script> var CludoSearch; (function () { var cludoSettings = { customerId: 60, engineId: 11056, searchUrl: '/soegeresultat', language: 'da', searchInputs: ["cludo-search-form","cludo-search-content-form","SearchForm","SearchFormTop"], loading: "<img src='/Files/Templates/Designs/bleau-solutionset/assets/images/spinner.gif' alt='Loading' class='loading' role='progressbar' />", template: 'InlineBasic', focusOnResultsAfterSearch: false, type: 'inline' }; CludoSearch = new Cludo(cludoSettings); CludoSearch.translateProvider.translations["da"]["backToTop"] = "<i class='fa fa-chevron-up'></i>"; CludoSearch.translateProvider.translations["da"]["load_more"] = "Vis flere"; CludoSearch.translateProvider.translations["da"]["your_search_on"] = "Søgningen "; CludoSearch.init(); })(); </script> <script type='text/javascript' data-kommune='fredensborg' src='https://prokomresources.prokomcdn.no/client-grunt/bot/kiri.js'></script> <!--[if lte IE 9]> <script src="https://api.cludo.com/scripts/xdomain.js" slave="https://api.cludo.com/proxy.html" type="text/javascript"></script> <![endif]--> </body> </html>