+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Backend Edit Form Preview Button Navigate to Wrong Page

Backend Edit Form Preview Button Navigate to Wrong Page

3 posts, 1 answered
  1. Dion
    Dion avatar
    6 posts
    Registered:
    29 Mar 2014
    20 Jan 2015
    Link to this post

    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!

  2. Junior Dominguez
    Junior Dominguez avatar
    115 posts
    Registered:
    23 Sep 2016
    23 Jan 2015
    Link to this post
    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 in{YourInstalationDir}\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
     
    Answered
  3. Dion
    Dion avatar
    6 posts
    Registered:
    29 Mar 2014
    23 Jan 2015 in reply to Junior Dominguez
    Link to this post
    Hi Dominguez,

    Thanks for your help, it works fine :D
3 posts, 1 answered