More in this section
Forums / Developing with Sitefinity / Override Dynamic Modules Backend Views

Override Dynamic Modules Backend Views

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Dehivis
    Dehivis avatar
    5 posts
    Registered:
    20 May 2016
    06 Dec 2017
    Link to this post

    Hi everyone,

    I have a question regarding dynamic modules. I want to be able to modify or even override, the add and edit backend views created by the dynamic module (See attached image), because I want to display dropdowns that display info retrieved from a database outside from Sitefinity or even have buttons that execute custom web services, or just change the layout of how the information is displayed.

    Is there a way to acomplish this with only modifying the default views created by Sitefinity? Or the only way is to override them?

    Thanks in advance.

     

     

     

     

  2. Jonathan
    Jonathan avatar
    119 posts
    Registered:
    19 Dec 2012
    07 Dec 2017 in reply to Dehivis
    Link to this post

    If you wanted to 'override' the view look at the View Type* Telerik.Sitefinity.DynamicModules.Web.UI.Backend.DynamicContentDetailFormView, Telerik.Sitefinity. If you use JustDecompile get the markup paste it into a new file in your project and modify. I have never done this so it's all in theory. 

    *ViewType is located under DynamicModules>Controls>{DynamicModuleName}>{ModuleName}BackendEditView

    If you want to reorder the fields on the edit/create or list screens you can do that through the UI of Sitefinity by going to the Module Builder clicking your module and Backend screen tweaks.

    The best way to modify the editor is to create custom fields and setup the property to use the custom editor when you are setting up the module. Here is the docs for that: https://docs.sitefinity.com/overview-custom-fields

2 posts, 0 answered