Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 20 votes in total. Thank you for your feedback.

Status explanation: 'Future Consideration' = Continuing to collect further feedback, not planned at this time. 'Investigating' = Prioritized for deeper customer and feasibility investigations ahead of planning development.

Status Investigating
Created by Guest
Created on Oct 11, 2023

Customize GetPdf method of InvoiceController.cs, PartialViewLocator is in private package

We are having a requirement which is same as the GetPdf method in the InvoiceController.cs

However we have identified that the PartialViewLocator is in the private package, and we cannot add the insite.commerce.private package in Extension project.

Can this dll "Insite.Webframework.dll" be whitelisted?

  • Optimizely
    Sara Winter
    Reply
    |
    Oct 26, 2023

    This should probably be continued via a support ticket if you are finding the documentation to not be accurate for Classic implementations - https://world.episerver.com/documentation/developer-guides/b2b-commerce/integration-extensions/custom-pdf-implementation/

    If this is Spire and you are looking for ability to customize a PDF instead of using the webpage for PDF that would be a valid enhancement request which can remain open within this feedback portal.

  • Guest
    Reply
    |
    Oct 26, 2023

    Hi Sara,

    Any update on this ticket.


    Thanks

    Nilima R

  • Guest
    Reply
    |
    Oct 18, 2023

    Hi Sara,

    Any update on the same.


    Thanks

    Nilima R

  • Guest
    Reply
    |
    Oct 16, 2023

    Hi Sara,

    We have taken a look at it earlier and identified that the code mentioned in the link below, is not the same in version 5.1.2308.3049

    If you look into the default opti code of this version in InvoiceController.cs the ThemeContentProvider is replaced by PartialViewLocator (InvoiceController_GetPdf.png)

    After upgrading to version 5.1.2308.3049, When we use ThemeContentProvider in our custom class, it throws error. (ThemeContentProvider_Exception.png)

    Now with the latest version, PartailViewLocator is in private dll Insite.Webframework

    Please suggest.

    Thanks

    Nilima R

  • Optimizely
    Sara Winter
    Reply
    |
    Oct 13, 2023

    If this is a Classic implementation please make sure to review help within the below article, other customers have implemented custom PDF without using Insite.WebFramework" private library.

    https://world.episerver.com/documentation/developer-guides/b2b-commerce/integration-extensions/custom-pdf-implementation/


  • Optimizely
    Sara Winter
    Reply
    |
    Oct 13, 2023

    Thank you for submitting this request! Our team is currently reviewing this request, particularly with consideration of our wide client base. We will update this ticket once we have completed this investigation.