Exception in template (\Designs\NORRIQ\Paragraph\TalentsoftOfferDetail.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.adddfaf.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()
@using Dynamicweb.Frontend; @using NORRIQ.Common8.Factory @using NORRIQ.CustomCode.TalentSoft @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> @using Dynamicweb.Frontend; @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> @*Content Elements*@ @helper RenderParagraphHead(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetString("Headline"))) { string headWidth = !String.IsNullOrEmpty(item.GetList("HeadWidth").SelectedValue) ? "col-12 " + item.GetList("HeadWidth").SelectedValue : "col-12"; <div class="paragraph-head @headWidth" data-aos="fade-up"> @RenderH2(item) @RenderSubHeadline(item) @if (!item.GetBoolean("ButtonBelowAllContent")) { @RenderButton(item) } </div> } } @helper RenderJobHead(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetString("Headline"))) { <div class="paragraph-head"> @RenderH2(item) @RenderSubHeadline(item) @RenderJobId(item) </div> } } @helper RenderParagraphSimpleHead(ItemViewModel item) { string headWidth = !String.IsNullOrEmpty(item.GetList("HeadWidth").SelectedValue) ? "col-12 " + item.GetList("HeadWidth").SelectedValue : "col-12"; <div class="paragraph-head @headWidth"> @if (!string.IsNullOrEmpty(item.GetString("Headline"))) { @RenderH2(item) } @if (!string.IsNullOrEmpty(item.GetString("SubHeadline"))) { @RenderSubHeadline(item) } </div> } @*Content Types*@ @helper RenderButton(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetItem("Button").GetString("ButtonText")) && !string.IsNullOrEmpty(item.GetItem("Button").GetString("ButtonLink")) || !string.IsNullOrEmpty(item.GetItem("Button").GetString("ButtonVideoId"))) { var buttonStyle = !string.IsNullOrEmpty(item.GetItem("Button").GetList("ButtonStyle").SelectedValue) ? item.GetItem("Button").GetList("ButtonStyle").SelectedValue : "btn-action"; //var buttonSize = !string.IsNullOrEmpty(item.GetItem("Button").GetList("ButtonSize").SelectedValue) ? " " + item.GetItem("Button").GetList("ButtonSize").SelectedValue : ""; //var buttonOutline = item.GetItem("Button").GetBoolean("ButtonOutline") ? "-outline" : ""; //var buttonColor = !string.IsNullOrEmpty(item.GetItem("Button").GetList("ButtonColor").SelectedValue) ? " btn" + buttonOutline + "-" + item.GetItem("Button").GetList("ButtonColor").SelectedValue : ""; //if (!string.IsNullOrEmpty(item.GetItem("Button").GetList("ButtonColor").SelectedValue)) //{ // buttonStyle = ""; //} if (!string.IsNullOrEmpty(item.GetItem("Button").GetString("ButtonLink"))) { <a href="@item.GetItem("Button").GetString("ButtonLink").Replace("Default.aspx?Id=","/Default.aspx?ID=")" class="btn @buttonStyle"> @item.GetItem("Button").GetString("ButtonText") </a> } else if (!string.IsNullOrEmpty(item.GetItem("Button").GetString("ButtonVideoId"))) { <a data-fancybox href="@item.GetItem("Button").GetString("ButtonVideoId")" class="btn @buttonStyle"> @item.GetItem("Button").GetString("ButtonText") </a> } } } @helper RenderButtonBelow(ItemViewModel item) { if (item.GetBoolean("ButtonBelowAllContent")) { <div class="button-container"> @RenderButton(Model.Item) </div> } } @helper RenderH2(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetString("Headline"))) { <h2> @item.GetString("Headline") </h2> } } @helper RenderH3(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetString("Headline"))) { <h3> @item.GetString("Headline") </h3> } } @helper RenderHeadlineRaw(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetString("Headline"))) { <text>@item.GetString("Headline")</text> } } @helper RenderIconH3(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetString("Headline"))) { <h3 class="headline-icon"> @item.GetString("Headline") @RenderIcon(item) </h3> } } @helper RenderRichText(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetString("Text"))) { @item.GetString("Text") } } @helper RenderSubHeadline(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetString("SubHeadline"))) { <p class="sub"> @item.GetString("SubHeadline") </p> } } @helper RenderIcon(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetItem("Icon").GetList("Icons").SelectedValue)) { <i class="material-icons">@item.GetItem("Icon").GetList("Icons").SelectedValue</i> } else if (item.GetItem("Icon").GetFile("Svg") != null) { <div class="material-icons"> <object type="image/svg+xml" data="@item.GetItem("Icon").GetFile("Svg").Path" class="icon-svg"> Your browser does not support SVG </object> </div> } @*else if (!string.IsNullOrEmpty(item.GetItem("Icon").GetList("SvgIcons").SelectedValue)) { <svg class="icon-svg"> <use xmlns:xlink="https://www.w3.org/1999/xlink" xlink:href="/Files/dist/icons/icons.svg#meat"></use> </svg> }*@ } @helper RenderScrollTo() { if (Model.ContainerSort == 1) { <span class="anchor" id="next"></span> } } @helper RenderImage(ItemViewModel item) { if (item.GetFile("Image") != null) { <img src="/Admin/Public/GetImage.ashx?Image=@item.GetFile("Image").Path&amp;Width=1340&amp;Crop=5&amp;Compression=85" class="img-fluid" alt="@(!string.IsNullOrEmpty(item.GetString("AltText")) ? item.GetString("AltText") : "image")" /> } } @helper RenderSmallImage(ItemViewModel item) { if (item.GetFile("Image") != null) { <img src="/Admin/Public/GetImage.ashx?Image=@item.GetFile("Image").Path&amp;Height=650&amp;Crop=5&amp;Compression=85" class="img-fluid" loading="lazy" alt="@(!string.IsNullOrEmpty(item.GetString("AltText")) ? item.GetString("AltText") : "image")" /> } } @helper RenderImageFade(ItemViewModel item) { if (item.GetFile("Image") != null) { <img src="/Admin/Public/GetImage.ashx?Image=@item.GetFile("Image").Path&amp;Width=650&amp;Crop=5&amp;Compression=85" class="img-fluid" loading="lazy" alt="@(!string.IsNullOrEmpty(item.GetString("AltText")) ? item.GetString("AltText") : "image")" /> } } @helper RenderDefaultContent(ItemViewModel item) { @RenderRichText(Model.Item) @Model.GetModuleOutput() } @helper RenderContentImage(ItemViewModel item) { if (item.GetFile("Image") != null) { if (!string.IsNullOrEmpty(item.GetString("ImageLink"))) { <figure class="text-center"> <a href="@item.GetString("ImageLink").Replace("Default.aspx?Id=","/Default.aspx?ID=")"> @RenderImage(item) </a> </figure> } else { <figure class="text-center"> @RenderImage(item) </figure> } } } @helper RenderContentSmallImage(ItemViewModel item) { if (item.GetFile("Image") != null) { if (!string.IsNullOrEmpty(item.GetString("ImageLink"))) { <figure class="text-center"> <a href="@item.GetString("ImageLink").Replace("Default.aspx?Id=","/Default.aspx?ID=")"> @RenderImageFade(item) </a> </figure> } else { <figure class="text-center"> @RenderImageFade(item) </figure> } } } @helper RenderSkew(ItemViewModel item) { if (item.GetValue<ListViewModel>("SkewStyle").SelectedValue.Contains("top")) { <div class="polygon-top"> <svg preserveAspectRatio="none" viewBox="0 0 100 100"> <polygon points="0,100 100,0 0,0" opacity="1"></polygon> </svg> </div> } else if (item.GetValue<ListViewModel>("SkewStyle").SelectedValue.Contains("bottom")) { <div class="polygon-bottom"> <svg preserveAspectRatio="none" viewBox="0 0 100 100"> <polygon points="100,100 100,0 0,100" opacity="1"></polygon> </svg> </div> } } @helper RenderForm(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetString("ClickDimensionForm"))) { if (!string.IsNullOrEmpty(item.GetString("ClickDimensionHead"))) { <h3> @item.GetString("ClickDimensionHead") </h3> } <script> var interval = setInterval(updateCrmWidget, 1000); function updateCrmWidget() { var SubjectHiddenField= document.getElementById("f_a9c5a1801361e411817b005056866646"); var SourceCodeField=document.getElementById("f_e37234741c61e411817b005056866646"); if (SubjectHiddenField != undefined) { SubjectHiddenField.value = '@item.GetString("CrmSubject").ToString()'; SourceCodeField.value = '@item.GetString("CrmSource").ToString()'; console.log('Setting values'); clearInterval(interval); } else { console.log('Widget not loaded yet!'); } } </script> @item.GetString("ClickDimensionForm") <script> (function () { SubjectHiddenField = document.getElementById("f_a9c5a1801361e411817b005056866646"); SourceCodeField = document.getElementById("f_e37234741c61e411817b005056866646"); SubjectHiddenField.value = @item.GetString("CrmSubject").ToString(); //new item field from DW SourceCodeField.value = @item.GetString("CrmSource").ToString(); //new item field from DW }); </script> } } @helper RenderCite(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetString("Name")) || !string.IsNullOrEmpty(item.GetString("Company"))) { <cite> @if (!string.IsNullOrEmpty(item.GetString("Name"))) { <strong> @item.GetString("Name") </strong> } @if (!string.IsNullOrEmpty(item.GetString("Company"))) { <br /><span>@item.GetString("Company")</span> } </cite> } } @helper RenderJobId(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetString("JobId"))) { <p class="jobid"> @Translate("Job id", "Job ID"): @item.GetString("JobId") </p> } } @helper RenderJobs(ItemViewModel item) { if (!string.IsNullOrEmpty(item.GetString("JobsPageId"))) { var SourcePage = item.GetString("JobsPageId"); @RenderItemList(new { ItemType = "StandardPage", ListSourceType = "Page", ListSourcePage = SourcePage, ItemFieldsList = "*", IncludeParagraphItems = true, IncludeAllChildItems = true, ListOrderBy = "Sort", ListTemplate = "ItemPublisher/List/Jobs.cshtml", ListPageSize = "10", }) } } @{ var skewStyle = !string.IsNullOrEmpty(Model.Item.GetValue<ListViewModel>("SkewStyle").SelectedValue) ? Model.Item.GetValue<ListViewModel>("SkewStyle").SelectedValue : ""; var talentsoft = ObjectFactory.GetInstance<ITalentSoftApi>(); string reference = System.Web.HttpContext.Current.Request["JobID"]; if (string.IsNullOrWhiteSpace(reference)) { reference = string.Empty; } var job = talentsoft.GetOfferDetail(reference).Object; } @RenderScrollTo() <section class="paragraph job"> <div class="paragraph-content @skewStyle"> <div class="container"> <div class="row"> <div class="col-12 col-lg-9"> <div class="paragraph-head"> <h2> @job.Title </h2> <div class="job-detail-teaser"> @if (!string.IsNullOrEmpty(job.CustomFields.Description.LongText2Formatted)) { @job.CustomFields.Description.LongText2Formatted } </div> </div> @if (!string.IsNullOrEmpty(job.Location)) { <p><em><strong>@Translate("Lokation"):</strong> <span>@job.Location</span></em></p> } @if (!string.IsNullOrEmpty(job.CustomFields.Description.LongText3Formatted)) { <div class="job-detail-content"> @job.CustomFields.Description.LongText3Formatted </div> } @if (!string.IsNullOrEmpty(job.Description1Formatted)) { <div class="job-detail-content"> @job.Description1Formatted </div> } @if (!string.IsNullOrEmpty(job.Description2Formatted)) { <div class="job-detail-content"> @job.Description2Formatted </div> } @if (!string.IsNullOrEmpty(job.CustomFields.Description.LongText1Formatted)) { <div class="job-detail-content"> @job.CustomFields.Description.LongText1Formatted </div> } <p> <a href="@NORRIQ.Common8.Razor.Navigation.GetUrlByNavigationTag("apply")?JobID=@job.Reference" class="btn btn-action btn-lg"> @Translate("Apply for this position", "Apply for this position") </a> </p> </div> </div> </div> @RenderSkew(Model.Item) </div> </section>

NORRIQ tilbyder

Græsset er grønnest, dér hvor det bliver vandet - så vi tager os godt af vores medarbejdere. Hos os får du sundhedsforsikring, fleksibilitet og et stærkt socialt fællesskab - og meget mere.

image

Arbejds/-livet

Hos os er fleksibilitet meget mere end en god hjemmearbejdsplads - det er en af grundpillerne i måden, vi samarbejder på.

Forskellige livsfaser giver forskellige forudsætninger for arbejdstid - og det tilgodeser vi, naturligvis.

image

Medarbejderfordele

Vi sørger naturligvis for:

  • Sundhedsforsikring - også til dine børn
  • Fri telefon og internet
  • Flere medarbejderordninger.
image

Barsel

Børn er fremtiden. Måske vordende konsulenter. Vi sørger for gode forhold for nye forældre.

Vi giver blandt andet fuld løn til moren 4 uger før fødsel samt i 14 uger efter fødsel (barselsorlov) og fuld løn til moren/faren under de første 6 uger af forældreorloven.

image

Udvikling

Hos os står medarbejderudvikling højt på listen og vi tilbyder:

  • Medarbejderuddannelse
  • Talentprogrammer
  • Graduate programmer.