Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Copy SiteMap
System
Hey techies,
If the site have more than 100 nodes in site map and user is suppose to copy site pages under site 1 to with another site 2 under the same branch. In that case user will create new site, copy .page file under new site but not the default.sitemap.
User do not want to re-enter site node values again in default.sitemap of new site.
Then how user can achieve this ?
TS 7.2.1
SitePublisher
.net environment
IIS 7.5
Thanks
Manu
Find more posts tagged with
Comments
jbonifaci
Well, the default.sitemap file is just an XML file, you can theoretically edit it directly and copy all of your nodes over. This probably isn't something you want your users doing, unless they are very technical though. For users, you are probably stuck with the GUI.
Other than that, I don't believe there is an API available for modifying the sitemap, only reading it.
~Jeff
Migrateduser
Thanks Jeff,
But this default.sitemap do contain nodeID,site id attribute which I think is should be unique and copying over the complete data might cause issue with duplicate ids.
I think this approach we already tried and had resulted in removal of node from both sites when working with sitemap in one site.
Please suggest another approach.
Thanks
Manu
Rick Poulin
There is no other approach. As jbonifaci stated, there is no API for doing anything to the sitemap other than reading it. Copying it is altogether unsupported. If you find the ID conflicts to be breaking functionality, you can try generating and assigning your own IDs to the new sitemap, but there's no telling if you're going to break anything else or if LiveSite will generate conflicting IDs in the future.
ticketstatustest.rptdesign
ticketstatustest.pdf