Backend Edit Form Preview Button Navigate to Wrong Page
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
Hi Dominguez,
Thanks for your help, it works fine :D