Interesseområder
FoodTech henvender sig til hele fødevareindustrien, hvor de primære produktgrupper som du kan finde på FoodTech er:
SENESTE ARTIKLER OG NYHEDER
Error executing template "Designs/exhibition_site/QueryPublisher/partials/mch365-articlemerge-item.cshtml"
System.Exception: _dynamicwebProduct is not Active. Settings are: {"Presentation":null,"Booth":null,"Product":null,"Id":"P1eaac47848e4158f67b34fa56c2c3","LanguageId":null,"VariantId":"","PrimaryVariantId":"","EmbeddedInModelList":true}
at Co3.Espresso.Website.Models.FrontEnd.Ecommerce.EspressoProduct.Populate(ProductSettings settings) in F:\TeamCity\BuildAgent 1\work\ea1444d680f7414e\Co3.Espresso.Website\Models\FrontEnd\Ecommerce\EspressoProduct.cs:line 755
at Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.ProfileProduct.Populate(ProductSettings settings) in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Models\Frontend\Ecommerce\ProfileProduct.cs:line 61
at Co3.MCH.Website.Frontend.Services.Ecommerce.ProductService.GetEspressoProduct(ProductSettings settings, String key) in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Services\Ecommerce\ProductService.cs:line 59
at Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.ArticleMergeProduct.GetProfileProduct() in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Models\Frontend\Ecommerce\ArticleMergeProduct.cs:line 337
at Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.ArticleMergeProduct.get_Profile() in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Models\Frontend\Ecommerce\ArticleMergeProduct.cs:line 329
at CompiledRazorTemplates.Dynamic.RazorEngine_013775df62134ffab5ea4a009eee246f.Execute() in E:\dynamicweb.net\Solutions\mch365.espresso5.dk\Files\Templates\Designs\exhibition_site\QueryPublisher\partials\mch365-articlemerge-item.cshtml:line 20
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 ViewModelTemplate<Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.ArticleMergeProduct>
2 @using Co3.Espresso.Website.Services
3 @using Co3.MCH.Website.Frontend.Models.Frontend
4 @using Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce
5 @using Dynamicweb.Rendering
6 7 @{
8 string noImageClasses = "";
9 string productImage = Model.Image;
10 if (string.IsNullOrEmpty(productImage))
11 {
12 productImage = "/Files/Templates/Designs/mch365_admin/_assets/img/mch365-noimage.svg";
13 noImageClasses = "bg-light object-fit-contain";
14 }
15 }
16 17 @if (Model.AssetType == "Article")
18 {
19 string companyName = string.Empty;
20 if (Model?.Profile?.Company?.Name == null)
21 {
22 companyName = MCH365Context.Current.TradeShowDetails.MainName;
23 24 if (string.IsNullOrEmpty(companyName))
25 {
26 companyName = MCH365Context.Current.TradeShowDetails.Name;
27 }
28 }
29 else
30 {
31 companyName = Model?.Profile?.Company?.Name;
32 }
33 34 <div class="w-100 my-1 e-block-link e-productlist-item js-e-block-link js-e-productlist-item js-e-productlist-item-@Model.Id"
35 data-product-id="@Model.Id" data-variant-id="@Model.VariantId">
36 <div class="e-productlist-item-container container-fluid h-100">
37 <div class="row h-100">
38 <div class="col-12 p-0">
39 <a class="mch365-news-item-image-wrapper d-block position-relative" href="@Model.Link">
40 <div class="mch365-list-item-image-container image-ratio-16-9">
41 <img alt="@Model.Name" class="p-img p-img-corner-rounded @noImageClasses"
42 src="/admin/public/getimage.ashx?Image=@productImage&Width=600&Height=340&Format=webp&Quality=75&Crop=0">
43 </div>
44 @if (Model?.Profile?.Company?.Logo != null)
45 {
46 string logoImage = Model.Profile.Company.Logo;
47 string companyBackgroundColor = Model.Profile.Company.BrandColor;
48 49 string noCompanyInfo = "";
50 string textLight = "e-text-light";
51 52 if (string.IsNullOrEmpty(logoImage) && string.IsNullOrEmpty(companyBackgroundColor))
53 {
54 noCompanyInfo = "bg-light";
55 textLight = "text-muted";
56 }
57 58 string noLogoBackground = "";
59 if (string.IsNullOrEmpty(logoImage) && !string.IsNullOrEmpty(companyBackgroundColor))
60 {
61 noLogoBackground = "style=\"background:" + companyBackgroundColor + ";\"";
62 }
63 64 <div class="e-productlist-item-logo-container @noCompanyInfo" @noLogoBackground>
65 <div class="e-productlist-item-image-wrapper justify-content-center align-items-center d-flex @textLight">
66 @{
67 if (string.IsNullOrEmpty(logoImage))
68 {
69 <span class="h1 mb-0">@Model.Profile.Company.Name.Substring(0, 1).ToLower()</span>
70 }
71 else
72 {
73 <img alt="@Model.Profile.Company.Name" class="e-productlist-item-image"
74 src="@(Model.Profile.Company.Logo)">
75 }
76 }
77 </div>
78 </div>
79 }
80 </a>
81 <div class="row">
82 <div class="col-11">
83 <p class="d-flex align-items-center small mt-2 mb-half flex-wrap">
84 85 @if (Model?.Archived != null && Model.Archived)
86 {
87 <span class="mch365-article-label label-neutral d-block flex-shrink-0">Arkiv</span>
88 }
89 90 @Model.Created.ToString("d. MMMM yyyy")
91 @if (!string.IsNullOrEmpty(companyName))
92 {
93 <span class="mch365-productlist-company-name"> | @companyName</span>
94 }
95 </p>
96 <h3 class="mt-0 mb-1">@Model.Name</h3>
97 <p class="line-clamp">@Model.Teaser</p>
98 </div>
99 </div>
100 </div>
101 </div>
102 </div>
103 </div>
104 }
105 else if (Model.AssetType == "Case")
106 {
107 <div class="w-100 my-1 e-block-link e-productlist-item js-e-block-link js-e-productlist-item js-e-productlist-item-@Model.Id"
108 data-product-id="@Model.Id" data-variant-id="@Model.VariantId">
109 <div class="e-productlist-item-container container-fluid h-100">
110 <div class="row h-100">
111 <div class="col-12 p-0">
112 <a class="mch365-news-item-image-wrapper d-block position-relative" href="@Model.Link">
113 <div class="mch365-list-item-image-container image-ratio-16-9">
114 <img alt="@Model.Name" class="p-img p-img-corner-rounded @noImageClasses"
115 src="/admin/public/getimage.ashx?Image=@productImage&Width=600&Height=340&Format=webp&Quality=75&Crop=0">
116 </div>
117 @if (Model?.Profile?.Company?.Logo != null)
118 {
119 string logoImage = Model.Profile.Company.Logo;
120 string companyBackgroundColor = Model.Profile.Company.BrandColor;
121122 string noCompanyInfo = "";
123 string textLight = "e-text-light";
124125 if (string.IsNullOrEmpty(logoImage) && string.IsNullOrEmpty(companyBackgroundColor))
126 {
127 noCompanyInfo = "bg-light";
128 textLight = "text-muted";
129 }
130131 string noLogoBackground = "";
132 if (string.IsNullOrEmpty(logoImage) && !string.IsNullOrEmpty(companyBackgroundColor))
133 {
134 noLogoBackground = "style=\"background:" + companyBackgroundColor + ";\"";
135 }
136137 <div class="e-productlist-item-logo-container @noCompanyInfo" @noLogoBackground>
138 <div class="e-productlist-item-image-wrapper justify-content-center align-items-center d-flex @textLight">
139 @{
140 if (string.IsNullOrEmpty(logoImage))
141 {
142 <span class="h1 mb-0">@Model.Profile.Company.Name.Substring(0, 1).ToLower()</span>
143 }
144 else
145 {
146 <img alt="@Model.Profile.Company.Name" class="e-productlist-item-image"
147 src="@(Model.Profile.Company.Logo)">
148 }
149 }
150 </div>
151 </div>
152 }
153 <ul class="mch-365-productlist-label-wrapper label-wrapper-bottom-left">
154 <li>
155 <span class="mch365-product-label label-primary e-text-light">@Translate("MCH365 - ArticleMerge listItem Case - Label", "Case")</span>
156 </li>
157 </ul>
158 </a>
159160 <div class="row">
161 <div class="col-11">
162 <p class="small mt-2 mb-half">
163 @Model.Created.ToString("d. MMMM yyyy")
164 @if (Model?.Profile?.Company?.Name != null)
165 {
166 <span class="mch365-productlist-company-name"> | @Model.Profile.Company.Name</span>
167 }
168 </p>
169 <h3 class="mt-0 mb-1">@Model.Name</h3>
170 <p class="line-clamp">@Model.Teaser</p>
171 </div>
172 </div>
173 </div>
174 </div>
175 </div>
176 </div>
177 }
178Error executing template "Designs/exhibition_site/QueryPublisher/partials/mch365-articlemerge-item.cshtml"
System.Exception: _dynamicwebProduct is not Active. Settings are: {"Presentation":null,"Booth":null,"Product":null,"Id":"P1eaac47848e4158f67b34fa56c2c3","LanguageId":null,"VariantId":"","PrimaryVariantId":"","EmbeddedInModelList":true}
at Co3.Espresso.Website.Models.FrontEnd.Ecommerce.EspressoProduct.Populate(ProductSettings settings) in F:\TeamCity\BuildAgent 1\work\ea1444d680f7414e\Co3.Espresso.Website\Models\FrontEnd\Ecommerce\EspressoProduct.cs:line 755
at Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.ProfileProduct.Populate(ProductSettings settings) in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Models\Frontend\Ecommerce\ProfileProduct.cs:line 61
at Co3.MCH.Website.Frontend.Services.Ecommerce.ProductService.GetEspressoProduct(ProductSettings settings, String key) in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Services\Ecommerce\ProductService.cs:line 59
at Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.ArticleMergeProduct.GetProfileProduct() in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Models\Frontend\Ecommerce\ArticleMergeProduct.cs:line 337
at Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.ArticleMergeProduct.get_Profile() in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Models\Frontend\Ecommerce\ArticleMergeProduct.cs:line 329
at CompiledRazorTemplates.Dynamic.RazorEngine_013775df62134ffab5ea4a009eee246f.Execute() in E:\dynamicweb.net\Solutions\mch365.espresso5.dk\Files\Templates\Designs\exhibition_site\QueryPublisher\partials\mch365-articlemerge-item.cshtml:line 20
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 ViewModelTemplate<Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.ArticleMergeProduct>
2 @using Co3.Espresso.Website.Services
3 @using Co3.MCH.Website.Frontend.Models.Frontend
4 @using Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce
5 @using Dynamicweb.Rendering
6 7 @{
8 string noImageClasses = "";
9 string productImage = Model.Image;
10 if (string.IsNullOrEmpty(productImage))
11 {
12 productImage = "/Files/Templates/Designs/mch365_admin/_assets/img/mch365-noimage.svg";
13 noImageClasses = "bg-light object-fit-contain";
14 }
15 }
16 17 @if (Model.AssetType == "Article")
18 {
19 string companyName = string.Empty;
20 if (Model?.Profile?.Company?.Name == null)
21 {
22 companyName = MCH365Context.Current.TradeShowDetails.MainName;
23 24 if (string.IsNullOrEmpty(companyName))
25 {
26 companyName = MCH365Context.Current.TradeShowDetails.Name;
27 }
28 }
29 else
30 {
31 companyName = Model?.Profile?.Company?.Name;
32 }
33 34 <div class="w-100 my-1 e-block-link e-productlist-item js-e-block-link js-e-productlist-item js-e-productlist-item-@Model.Id"
35 data-product-id="@Model.Id" data-variant-id="@Model.VariantId">
36 <div class="e-productlist-item-container container-fluid h-100">
37 <div class="row h-100">
38 <div class="col-12 p-0">
39 <a class="mch365-news-item-image-wrapper d-block position-relative" href="@Model.Link">
40 <div class="mch365-list-item-image-container image-ratio-16-9">
41 <img alt="@Model.Name" class="p-img p-img-corner-rounded @noImageClasses"
42 src="/admin/public/getimage.ashx?Image=@productImage&Width=600&Height=340&Format=webp&Quality=75&Crop=0">
43 </div>
44 @if (Model?.Profile?.Company?.Logo != null)
45 {
46 string logoImage = Model.Profile.Company.Logo;
47 string companyBackgroundColor = Model.Profile.Company.BrandColor;
48 49 string noCompanyInfo = "";
50 string textLight = "e-text-light";
51 52 if (string.IsNullOrEmpty(logoImage) && string.IsNullOrEmpty(companyBackgroundColor))
53 {
54 noCompanyInfo = "bg-light";
55 textLight = "text-muted";
56 }
57 58 string noLogoBackground = "";
59 if (string.IsNullOrEmpty(logoImage) && !string.IsNullOrEmpty(companyBackgroundColor))
60 {
61 noLogoBackground = "style=\"background:" + companyBackgroundColor + ";\"";
62 }
63 64 <div class="e-productlist-item-logo-container @noCompanyInfo" @noLogoBackground>
65 <div class="e-productlist-item-image-wrapper justify-content-center align-items-center d-flex @textLight">
66 @{
67 if (string.IsNullOrEmpty(logoImage))
68 {
69 <span class="h1 mb-0">@Model.Profile.Company.Name.Substring(0, 1).ToLower()</span>
70 }
71 else
72 {
73 <img alt="@Model.Profile.Company.Name" class="e-productlist-item-image"
74 src="@(Model.Profile.Company.Logo)">
75 }
76 }
77 </div>
78 </div>
79 }
80 </a>
81 <div class="row">
82 <div class="col-11">
83 <p class="d-flex align-items-center small mt-2 mb-half flex-wrap">
84 85 @if (Model?.Archived != null && Model.Archived)
86 {
87 <span class="mch365-article-label label-neutral d-block flex-shrink-0">Arkiv</span>
88 }
89 90 @Model.Created.ToString("d. MMMM yyyy")
91 @if (!string.IsNullOrEmpty(companyName))
92 {
93 <span class="mch365-productlist-company-name"> | @companyName</span>
94 }
95 </p>
96 <h3 class="mt-0 mb-1">@Model.Name</h3>
97 <p class="line-clamp">@Model.Teaser</p>
98 </div>
99 </div>
100 </div>
101 </div>
102 </div>
103 </div>
104 }
105 else if (Model.AssetType == "Case")
106 {
107 <div class="w-100 my-1 e-block-link e-productlist-item js-e-block-link js-e-productlist-item js-e-productlist-item-@Model.Id"
108 data-product-id="@Model.Id" data-variant-id="@Model.VariantId">
109 <div class="e-productlist-item-container container-fluid h-100">
110 <div class="row h-100">
111 <div class="col-12 p-0">
112 <a class="mch365-news-item-image-wrapper d-block position-relative" href="@Model.Link">
113 <div class="mch365-list-item-image-container image-ratio-16-9">
114 <img alt="@Model.Name" class="p-img p-img-corner-rounded @noImageClasses"
115 src="/admin/public/getimage.ashx?Image=@productImage&Width=600&Height=340&Format=webp&Quality=75&Crop=0">
116 </div>
117 @if (Model?.Profile?.Company?.Logo != null)
118 {
119 string logoImage = Model.Profile.Company.Logo;
120 string companyBackgroundColor = Model.Profile.Company.BrandColor;
121122 string noCompanyInfo = "";
123 string textLight = "e-text-light";
124125 if (string.IsNullOrEmpty(logoImage) && string.IsNullOrEmpty(companyBackgroundColor))
126 {
127 noCompanyInfo = "bg-light";
128 textLight = "text-muted";
129 }
130131 string noLogoBackground = "";
132 if (string.IsNullOrEmpty(logoImage) && !string.IsNullOrEmpty(companyBackgroundColor))
133 {
134 noLogoBackground = "style=\"background:" + companyBackgroundColor + ";\"";
135 }
136137 <div class="e-productlist-item-logo-container @noCompanyInfo" @noLogoBackground>
138 <div class="e-productlist-item-image-wrapper justify-content-center align-items-center d-flex @textLight">
139 @{
140 if (string.IsNullOrEmpty(logoImage))
141 {
142 <span class="h1 mb-0">@Model.Profile.Company.Name.Substring(0, 1).ToLower()</span>
143 }
144 else
145 {
146 <img alt="@Model.Profile.Company.Name" class="e-productlist-item-image"
147 src="@(Model.Profile.Company.Logo)">
148 }
149 }
150 </div>
151 </div>
152 }
153 <ul class="mch-365-productlist-label-wrapper label-wrapper-bottom-left">
154 <li>
155 <span class="mch365-product-label label-primary e-text-light">@Translate("MCH365 - ArticleMerge listItem Case - Label", "Case")</span>
156 </li>
157 </ul>
158 </a>
159160 <div class="row">
161 <div class="col-11">
162 <p class="small mt-2 mb-half">
163 @Model.Created.ToString("d. MMMM yyyy")
164 @if (Model?.Profile?.Company?.Name != null)
165 {
166 <span class="mch365-productlist-company-name"> | @Model.Profile.Company.Name</span>
167 }
168 </p>
169 <h3 class="mt-0 mb-1">@Model.Name</h3>
170 <p class="line-clamp">@Model.Teaser</p>
171 </div>
172 </div>
173 </div>
174 </div>
175 </div>
176 </div>
177 }
178PRODUKTER
Gå på opdagelse blandt innovative og interessante produkter præsenteret af spændende leverandører online på FoodTech.
Udforsk nyheder inden for fødevareteknologien og bliv opdateret på udviklingen.
SE FLERE PRODUKTER
PRODUKTER
Gå på opdagelse blandt innovative og interessante produkter præsenteret af spændende leverandører online på FoodTech.
Udforsk nyheder inden for fødevareteknologien og bliv opdateret på udviklingen.



















