Backend Edit Form Preview Button Navigate to Wrong Page - Bugs & Issues - Bugs & Issues - Progress Community

Backend Edit Form Preview Button Navigate to Wrong Page

 Bugs & Issues

Backend Edit Form Preview Button Navigate to Wrong Page

  • Backend Edit Form Preview Button Navigate to Wrong Page
  • 2160501e-37c1-6deb-a958-ff0000446526_screenshot1.png

    Hi All,

    Lately i face an issue that preview button at the backend edit form (see attached), when clicked,  it goes to wrong page. Just wonder, if there's any way that i could edit the navigate URL on preview button or perhaps that i need to know where to hide/remove preview button at the backend edit form.

    FYI, I'm using Sitefinity 7.1.

    Thanks a lot for your help!

  • Hi Dion,

    In order to remove the "Preview" button, you need to modify the approval workflow.
    First go to your SDK and find ApprovalWorkflow.xamlx (it is inYourInstalationDir\Content\Resources\ApprovalWorkflow.xamlx). Depending on your workflow (default, one level, two level) you need to delete the preview flow (video).

    Notice that the Build Actionof the ApprovalWorkflow.xaml must be "Embedded Resource". This changes will need a restart of the application pool. 

    Notice also that you need to point the virtual path "~/DefaultWorkflows/ApprovalWorkflow.xamlx" in the Advanced Settings to your customized workflow by setting the ResourceLocation to your modifiedApprovalWorkflow.xamlx file as shown in the video.

    More information about customizing Workflow in Sitefinity in the following link:

    http://docs.sitefinity.com/for-developers-custom-workflow


    Regards,
    Junior Dominguez
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  • Hi Dominguez,

    Thanks for your help, it works fine :D