I have been working on my site collection on test environment. and now i want to backup the site collection and restore it inside our live server. now the only issue i have faced in this process is how i can remove test items from our lists and reset the item Id to be equal to 1.
now i have a custom list inside our test environment that have the following customizations :-
- inside the
AllItems.aspx
list view and other list views i have edited the page, and i add some script editor web parts. - also for each list view i added an advance search web part https://splistviewfilter.codeplex.com/releases .
so now i tried the following:-
- inside the test server i saved the list as template (without content).
- Remove the the list.
- Create a new list based on the template.
but the result i got is not what i was looking for , for the following main reason:-
- on the new list (which i create based on the template) all the customization i did on the list views; such as adding script editors, adding advance search web part have been lost.
so can anyone adivce if there is a more reliable way to reset my list data and keep all the customization i did inside the list views ? as seems saving a list as template will not preserve these kind of customization. so not sure if sharepoint support deleting all the list items, and start the items' index from 1? as it will not be accurate to simply delete all items on live , and then when a user create a new item , its ID will be for example 70 instead of 1!!