would you like to clone the view in the same form, that is it?
1 of 1 people found this helpful
So far I know there is as such no direct functionality which allow you to do so. You can export the form and related workflow first as backup and then you can rename the existing form and views whatever you want.
5 of 5 people found this helpful
Not directly with Dev Studio but you should be able to do it via a VUI def file export/import. Note that the fields in the view on the source form will have to exist on the target. In Dev Studio goto Export and select View Definitions as the type. Find your source form and export the required view to a def file. Open the def file in a text editor and change the name to that of the target form. You may also need to change the View ID to a new ID if it is already in use on the target form (by another VUI or a field - see below) - check the Properties panel, Basic -> View ID for the current views of the target form to see their IDs.
**edited for completeness, with thanks to Fred Grooms ** -> for example, you can't add a view with an ID of 536870924 if you already have a field with that ID on the target form
Here are the first few lines of a view export to show you what needs to be changed
# File exported Mon Dec 09 15:43:19 UTC 2019
name : CHANGE FROM SOURCE FORM NAME TO TARGET FORM NAME
timestamp : 1575906095
export-version : 12
schema-type : 1
admin-sub-perm : 1
default-vui : Default Administrator View__c
obj-props : 3\90015\2\4\90016\4\1\1\90002\4\0\\
id : VIEW ID WHICH MAY NEED TO BE CHANGED IF THIS ID IS ALREADY IN USE BY AN EXISTING VIEW/FIELD ON THE TARGET FORM
name : Default Administrator View2__c
label : Default Administrator View2__c
timestamp : 1575906094
vui-type : 1
owner : Demo
Once you have completed the changes import the def file.
Thanks. I've been watching this to see if someone provided an answer.
4 of 4 people found this helpful
Mark is correct. I have used this method before.
Right click the form and export VUI Definition
"you may need to change the View ID to a new ID if it is already in use on the target form"
Not just if the view ID is used by a view on the new form, but also if it is used for a field.
i.e. You can't add a view with an ID of 536870924 if you already have a field with that ID (the same goes the other way)