I would like to show this by giving an example :-
Suppose i have a document library that uses Infopath form it is termed as Form Library.
When a new form is submitted , a series of workflows are triggered and corresponding task is assigned , etc. I had an issue where workflows were getting started multiple times and the task are also assigned , and generally causing chaos.
I traced the issue, that users were not using the "New Document" button to create a form,but were also saving old forms and re-uploading them using the "Upload" button which results in duplicate files and duplicate workflows etc.
I resolved the issue by simply removing the upload button from the edit.aspx page in each library using the SharePoint Designer.
Steps to do so :
1. Click on the SharePoint Designer to open the edit.aspx page.
2. In Design view right click the List View Web part and select the XSLT data View from the context menu.
3. Switch to split view and locate the "New" button, and you will see the XSLT code.
4. Set the "td " visibility as "hidden" as shown below :
In order, to prevent an unsightly 'blank space' in the menu, I moved the location of the hidden button to the last button on the right of the menu.
Now users have to use the "New" button to create a new document and cannot use the upload button.
Keep in mind that you'll have to do this for each
view that the users have access to, as each view has it's own page that will
need editing.
Thanks
Any Question/Suggestion ??