Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Template path wrong in IntegrationCustomerCenter

Template path wrong in IntegrationCustomerCenter

Anders Ebdrup
Anders Ebdrup
Reply

Hi Dynamicweb,

 

After upgrade to 9.4.9 the path to templates in the IntegrationCustomerCenter is wrong.

This is old module settings:

<?xml version="1.0" encoding="utf-8"?>
<Settings>
    <NavigationTemplate>eCom/IntegrationCustomerCenter/NavigationPlain.cshtml</NavigationTemplate>
    <NavigationTemplate_path>/Files/Templates/Designs/xx/eCom/IntegrationCustomerCenter/NavigationPlain.cshtml</NavigationTemplate_path>
    <ItemsPerPage>10</ItemsPerPage>
    <PagerNextButtonType>1</PagerNextButtonType>
    <PagerPrevButtonType>1</PagerPrevButtonType>
    <PagerNextButtonTypeText>»</PagerNextButtonTypeText>
    <PagerNextButtonTypePicture/>
    <PagerNextButtonTypePicture_path/>
    <PagerPrevButtonTypeText>«</PagerPrevButtonTypeText>
    <PagerPrevButtonTypePicture/>
    <PagerPrevButtonTypePicture_path/>
    <Page1Name>MainPage</Page1Name>
    <Page1Type>Ledger</Page1Type>
    <Page1MenuName>Kontoudtog</Page1MenuName>
    <Page1TagName>Ledger</Page1TagName>
    <Page1ListTemplate>eCom/IntegrationCustomerCenter/LedgerList.cshtml</Page1ListTemplate>
    <Page1ItemTemplate/>
</Settings>

The is the latest:

<?xml version="1.0" encoding="utf-8"?>
<Settings>
    <NavigationTemplate>NavigationPlain.cshtml</NavigationTemplate>
    <NavigationTemplate_path>/Files/Templates/Designs/xx/eCom/IntegrationCustomerCenter/NavigationPlain.cshtml</NavigationTemplate_path>
    <ItemsPerPage>10</ItemsPerPage>
    <PagerNextButtonType>1</PagerNextButtonType>
    <PagerPrevButtonType>1</PagerPrevButtonType>
    <PagerNextButtonTypeText>»</PagerNextButtonTypeText>
    <PagerNextButtonTypePicture/>
    <PagerNextButtonTypePicture_path/>
    <PagerPrevButtonTypeText>«</PagerPrevButtonTypeText>
    <PagerPrevButtonTypePicture/>
    <PagerPrevButtonTypePicture_path/>
    <Page1Name>MainPage</Page1Name>
    <Page1Type>Ledger</Page1Type>
    <Page1MenuName>Kontoudtog</Page1MenuName>
    <Page1TagName>Ledger</Page1TagName>
    <Page1ListTemplate>LedgerList.cshtml</Page1ListTemplate>
    <Page1ItemTemplate/>
    <Page1ItemIdParameterName>itemID</Page1ItemIdParameterName>
</Settings>

The result is that Dynamicweb tries to render a template located in /Files/Templates/xxxx.cshtml

I hope this can be fixed?

 

Best regards, Anders


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Anders,
yes it will render the template from the "NavigationTemplate_path" setting: /Files/Templates/Designs/xx/eCom/IntegrationCustomerCenter/NavigationPlain.cshtml path.
Do you expect it to be from the other folder/path? Could you check your files/folders and what template do you expect instead(if the template file exists on that path)?
Regards, Dmitrij

 
Anders Ebdrup
Anders Ebdrup
Reply

Hi Dmitrij,

 

The issue is related to the List-template and maybe also the Item-template, but not the Navigation-template.

You can see the issue here: https://www.screencast.com/t/UFRgfoFI9KX that it tries to load the list-template from the root folder even though it is located in the design folder.

 

Best regards, Anders

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Anders,
it is a bug. Good find. New TFS# 49441 created.
Regards, Dmitrij

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply
This post has been marked as an answer

Hi Anders

The problem regarding #49441 "Fix ItemLists and ItemDetails templates loading in Integration customer center" has now been resolved in Dynamicweb version 9.4.10

To upgrade please choose this version from backend or download from here:

http://doc.dynamicweb.com/releases-and-downloads/releases

All good bugs must come to an end smiley

Let me know if you need any more help regarding this

Kind Regards
Dynamicweb Support
Kristian Kirkholt

Votes for this answer: 1

 

You must be logged in to post in the forum