Hello! I was wondering if there was any suggestion/guidance on how to edit the View.xml file if a view was deleted. The problem is that a view might get deleted but isn't noticed until some time later and other changes in the surveyor structure have already been made, so unfortunately grabbing a previous Views.xml from the recycle bin would not work.
- Do the entries in the file need to be in order based on the IDs of the views.
- For example, if you are trying to replace a view that got deleted that had an ID of 10 does it need to be inserted into the file between items with IDs 9 and 11?
- Is there a requirement in the file structure associated where/when <view> entries need to be started on a new line or appended to a current line.
- Upon inspecting different files on different systems it was noticed that sometimes the view entries (starting with tag<view>) are started on a new line and sometimes they are appended to the end of a line
Hi Luis,
1. Entries in the views.xml do not have to be in order.
2. There are no requirements about the newlines before, in, or after the <view> tags.
Do note that view names and IDs have to be unique so make sure that no equal ID or name exists already when inserting a new <view> tag manually.