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.fbebcabeeeafcb.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()
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" xmlns="http://www.w3.org/1999/xhtml" lang="da-DK" xml:lang="da-DK"> <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale = 1.0, maximum-scale=1.0, user-scalable=no"> <meta name="google-site-verification" content="McOd9E-ri-GjCtLh7R4rxcXbRKyhCz-ar3eAcll1VYg"> <title>@GetValue("Title")</title> @GetValue("MetaTags") @GetValue("CopyRightNotice") <meta name="globalsign-domain-verification" content="4SOYTBpjwN5gcX7jytdY3Pp_5C_wfFJoGglIkLOaJE"> <link rel="stylesheet" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/bleau-styles.min.css" media="screen"> <link rel="stylesheet" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/bootstrap-datetimepicker.css" media="screen"> <link rel="stylesheet" href="/Files/Templates/Designs/bleau-solutionset/assets/stylesheets/print.min.css" media="print"> @RenderSnippet("StyleSheetHead") @RenderSnippet("StyleSheet") @if (!string.IsNullOrEmpty(GetString("Item.Area.Custom_CSS_Url"))) { <link href="@GetValue(" item.area.custom_css_url")"="" rel="stylesheet"> } <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> @if (!string.IsNullOrEmpty(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 = '//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"> @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"> <header> <section class="service-navigation"> <ul class="container text-right hidden-print"> @GetValue("DwNavigation(servicenavigation)") <li class="hidden-xs hidden-sm"><a href="http://www.adgangforalle.dk/" title="Audio" target="_blank" class="read-more-icon">Læs op</a></li> <li class="hidden-xs hidden-sm"><a href="#" title="print" id="printicon" class="print-icon">Print</a></li> </ul> </section> <div class="navbar hidden-print" role="navigation"> <div class="container top-nav" id="nav-wrapper"> <button class="navbar-toggle collapsed" aria-expanded="false" data-target="#mobile-menu" data-toggle="collapse" type="button"> </button> <nav> @GetValue("DwNavigation(mobilemenu)") </nav> <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='@Translate("Sitename", "Bleauprint government")'> <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> <nav class="col-sm-5 col-md-7 nav-top hidden-print"> @GetValue("DwNavigation(menu)") </nav><!-- /.nav-collapse --> <div class="search-nav pull-right col-xs-5 col-md-1"> <a href="#search-box" class="collapsed" data-toggle="collapse" title="Søg">Search</a> </div> <div id="search-box" class="collapse search-drop search-form"> @*@RenderParagraphContent(GetInteger("Item.Area.WeightedSearchTopParagraphID"))*@ @RenderParagraphContent(7742) </div> </div><!-- /.container --> </div><!-- /.navbar --> </header> @GetValue("SnippetStart(JavaScriptBottom)") <script src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/livesearch.js" type="text/javascript"></script> @GetValue("SnippetEnd(JavaScriptBottom)") <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"))) { <img src='@GetString("Item.Area.Logo_Image")' alt='@Translate("Sitename", "Bleauprint government")' title='@Translate("Sitename", "Bleauprint government")'> } </div> </div> </div> </div> </div> <div class="selvbetjening-wrapper hidden-print"> <div id="selvbetjening-btn" title='@Translate("SelvbetjeningText", "Selvbetjening")'>@Translate("SelvbetjeningText", "Selvbetjening")</div> <div class="selvbetjening-links clearfix"> @GetValue("DwNavigation(selfservicegreen)") </div> </div> @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(); }); </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> } <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> <footer class="row"> <section class="container footer-wrapper"> <div class="row" id="footerSections"> <div class="col-xs-12 col-sm-4 col-md-6 quick-links hidden-print"> <h1>@Translate("QuickLinks", "Quick links")</h1> @GetValue("DwNavigation(quicklinks)") </div> <div class="col-xs-12 col-sm-4 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">Fax: </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-4 col-md-3 work-time oh-day" itemscope="" itemtype="http://schema.org/GovernmentPermit"> <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> } @if (!string.IsNullOrEmpty(GetString("Item.Area.ContactLink"))) { <li><a href="@GetString(" item.area.contactlink")"="">@GetValue("Item.Area.ContactText")</a></li> } else{ <li>@GetString("Item.Area.ContactText")</li> } </ul> </div> </div> </section> </footer> <div class="bgr-opacity"></div> @*<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>*@ <script type="text/javascript" src="//code.jquery.com/ui/1.9.2/jquery-ui.min.js"></script> @*<script type="text/javascript">window.jQuery || document.write('<script type="text/javascript" src="assets/vendor/jquery-1.10.1.min.js"><\/script>')</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.js"></script> <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/moment.min.js"></script> <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/bootstrap-datetimepicker.min.js"></script> <script type="text/javascript" src="/Files/Templates/Designs/bleau-solutionset/assets/javascripts/jquery.validate.min.js"></script> @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> } @RenderSnippet("JavaScriptBottom") </body> </html>