Error executing template "/Designs/Swift/Paragraph/Swift_BreadcrumbNavigation_Custom.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at Dynamicweb.Content.PageService.GetAncestors(Int32 pageId, Boolean includingSelf)
   at CompiledRazorTemplates.Dynamic.RazorEngine_e0c36314129347e6974c1e5b60531e41.Execute() in C:\inetpub\solutions\Goecker-2022-Prod\Files\Templates\Designs\Swift\Paragraph\Swift_BreadcrumbNavigation_Custom.cshtml:line 22
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.<RunCompile>b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.RazorTemplateRenderingProvider.Render(Template template)
   at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> 2 @using Dynamicweb.Frontend.Navigation 3 @using Dynamicweb.Core 4 @using Dynamicweb.Ecommerce.ProductCatalog 5 @using Dynamicweb.Content 6 @using Dynamicweb.Frontend 7 @using System 8 9 @* CUSTOMIZED STANDARD SWIFT (v1.15.0) TEMPLATE *@ 10 11 @{ 12 ProductViewModel product = new ProductViewModel(); 13 if (Dynamicweb.Context.Current.Items.Contains("ProductDetails")) 14 { 15 product = (ProductViewModel)Dynamicweb.Context.Current.Items["ProductDetails"]; 16 } 17 string contentPageLink = Converter.ToString(Dynamicweb.Ecommerce.Services.ProductGroups.GetGroup(product.PrimaryOrDefaultGroup.Id)?.ProductGroupFieldValues.GetProductGroupFieldValue("ProductContentPage").Value); 18 int contentPageId = Converter.ToInt32(contentPageLink.Split('=').Last()); 19 20 if (contentPageId != 0) 21 { 22 IEnumerable<Dynamicweb.Content.Page> contentPageAncestors = Dynamicweb.Services.Pages.GetAncestors(contentPageId, true); 23 24 List<Dynamicweb.Content.Page> breadcrumbs = new List<Dynamicweb.Content.Page>(); 25 for (int i = contentPageAncestors.Count() - 1; i > 0; i--) 26 { 27 var page = contentPageAncestors.ElementAt(i); 28 if (page.ShowInSitemap) 29 { 30 breadcrumbs.Add(page); 31 } 32 else 33 { 34 break; 35 } 36 } 37 38 <ol class="breadcrumb small mb-0"> 39 @foreach (Dynamicweb.Content.Page page in breadcrumbs.Reverse<Dynamicweb.Content.Page>()) 40 { 41 string link = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("Default.aspx?Id=" + page.ID); 42 <li class="breadcrumb-item"> 43 <a href="@link">@page.MenuText</a> 44 </li> 45 } 46 </ol> 47 } 48 } 49 50 51

CAMBO HV-XCD LENS ADAPTER FOR HASSELBLAD V LENSES

CAM99070307
1.953,75 DKK OutOfStock
  • Onlinelager (1-2 dages lev.) Ikke på lager
  • Århus (Click & Collect) Ikke på lager
  • København (Click & Collect) Ikke på lager

Carsten Iversen
carsten@goecker.dk
35 86 51 05
København

Personlig rådgivning

Få hjælp af vores specialister

Fri fragt over 500 kr.

På ordrer leveret i Danmark

Over 160 års erfaring

Foto og video siden 1862

Beskrivelse

Cambo HV-XCD Lens Adapter for Hasselblad C Lenses

This HV-XCD lens adapter allows you to mount Hasselblad-C lenses in combination with the Hasselblad X1D camera body using built-in electronic shutter.

As there is no mechanical shutter, there are limitations in use with certain light sources, exposure times and subjects. We refer to Hasselblad for additional information about their electronic shutter.

Hasselblad’s firmware upgrade v1.17.2 now enables the user to disable the lens shutter and use the electronic shutter in the sensor. You can find more information about the shutter functionality and how to change the camera settings page 92 of the Hasselblad X1D instruction manual.

Note: there is no direct electronical connection between camera body and lens on this adapter, no lens exif data is transfered.

Specifikationer

Producent Cambo
Kategori Objektiv adapter