I am working on SharePoint server 2013 web application and i have a site collection of type team site named "business functions", and it have three subsites. where all the columns were defined inside the site collection level.
now i want to copy these 3 subsites to a new site collection (and i want to keep the original subsites as is ), so i did the following steps:-
- i save the three subsites as site template.
- then i download the generated wsp files.
- i upload the three wsp site templates inside the new site collection.
- after that inside the new site collection i created three new sub sites based on the 3 wsp site templates.
now from my first test i thought that the sub-sites were copied successfully. but after some detailed testing i realized that i am facing this strange problem . now on the original site collection i created all the site columns at the site collection level. for example here are 6 site columns defined at the site collection level (site collection name is Business functions):-
but when i create a new sub-site on the new site collection based on the site template, i have noted that these site collection columns will be created as a sub sites columns as follow (sub site named is dev):-
so can anyone adivce what is causing this problem and how i can fix this ?
second question. is there a better way to copy my sub-sites to the new site collection, and to keep the exact behavioure for the site columns and content types. ?
EDIT:-