- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2020 12:53 AM
Hi All,
Is there a way where I can clone the complete OOTB Service Portal page from Developer instance and move it to my client environment? The client has modified OOTB pages/widgets and wants one for Portal with OOTB capabilities.
Instead of building it from scratch, I thought there must be a way to just clone and move it but that is not the case. You can clone pages and widgets but it won't work unless you make code-level changes in them since widgets will have URLs to redirect users to specified pages etc.
So, is there a guide or help which I can use for cloning OOTB SP which can explain me what all changes needs to be done and in which all pages/widgets?
Please help me with this.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2020 11:09 AM
For that I have tried hard I can't find but here is what I have understood is there is a code in breadcrumb which is
var deregister = $rootScope.$on("sp.update.breadcrumbs", function(e, list) {
c.breadcrumbs = list;
});
I can't find the list array from where exactly it is updating if you can crack that I am sure you will get your answer.
here is few link this might help you crack.
https://community.servicenow.com/community?id=community_question&sys_id=00ab464fdb1cd74c0e58fb651f9619e6

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2020 01:57 AM
Hey,
You can clone a page using this tool on the share portal. If you want the OOB page restored, you may want to get a free personal developer instance from developer.servicenow.com and export the XML records you want then import them in to your original instance. This is the best practice.
Suppose you want to clone the index page. this is how you can do it
Remember there are decencies which you have to take care. like there are many widgets which will only show when they get sys_id from url.
And about the transfer from developer instance to client you can use Update set.
first create the new update set then clone the page & than you can move the update set from developer instance to client instance.
here is the link of how to use update set.
https://www.youtube.com/results?search_query=update+sets+in+servicenow
this is few community links discussed on same topic that might help
If the above code helps then please mark my answer Correct and Helpful.
Thanks and Regards:
Siddhnath Pandey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2020 03:49 AM
I know how to clone pages,widgets and move updates sets.
But after cloning do you know what code changes needs to be done at which part of script? If you read my post correctly, I am looking for this kind of information, not a generic response like you can clone widgets,pages, make code changes and move the changes with update sets.
Let me know if you have actually done it and in which widget/page you have modified what line of code.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2020 05:25 AM
Hello,
Might be I didn't understood the question. My apology for that.
But till now what I have understood I have perform here, look into it.
I cloned a OOTB page user_profile & change some code I'll let you know the code & I created a widget in which I fetch the some users data.
If I click on any of users data it should show me the user profile into my cloned page.
please follows these images for more clarity.
This is my custom page which contains a custom widget.
if you click any of the open record it will redirect to the cloned page i.e. copy_of_user_profile_1 & shows the user data based on on which you have clicked.
Follow the URL in the above picture, to confirm it is clone page.
let me know this is a kind solution you looking for Then I will share the script as well.
If the above code helps then please mark my answer Correct and Helpful.
Thanks and Regards:
Siddhnath Pandey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2020 06:53 AM
Yes exactly. Basically, I want to replace sc_cat_item page but I cannot replace it alone. For this I need to replace sc_category & widgets in it, index page - Home Search widget, sp_search page & widgets in it etc.
I hope you got the requirement. Let me know if you need more details to understand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2020 06:56 AM
I am facing the same issue as described in this thread. Breadcrumbs are not getting updated after the cloning sc_category page. More details are mentioned by my friend in this thread.