function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

duplicating Page layouts, belonging to different object,using eclipse


I am duplicating a object.
I have manually recreated all the fields, trying to keep API names as same as possible.

I am now planning to duplicate the page layouts.

First thing, that came to mind is, i will duplicate the Pagelayout code using eclipse and try to fix the mis matching API name, 
Have any one tried this before ?
any suggestions ?
Best Answer chosen by Ab
Carlos Campillo GallegoCarlos Campillo Gallego
Hi Sandrine,

As you may already know, the layout files are just XML files so as long as you fix the mismatching field API names, it shouldn't be any problem.
I suggest you to create it first in Salesforce and then editing it with eclipse/Notepad++ and then deploy it again with eclipse.