XML import not working

kc99
Giga Expert


Hello all,

I have a task of transferring a full CMS site between our TEST and PRODUCTION instances of ServiceNow.

We can do this using existing update sets (of which there are many) but I also found a handy 'update set creation' tool on the SHARE site which will add a full CMS site to a single update set on the click of a UI action.

I've tried importing the required XML but, for some reason, it doesn't create the UI action and associated script as is suggested in the tool instructions.

This is how I have attempted the XML inport:

  • I elevated my privileges so that I can see the 'Import XML' action
  • I navigated to the 'Sites' list (any list will do)
  • I selected 'Import XML' and selected the XML file for this tool

No errors were displayed and I can't see any errors in the logs (we are using Eureka).

I've also tried adding every role to my user record in case I was missing some obscure role.

The tool XML is located here:

ServiceNow Share

Can anyone please tell me how I can ensure that the import will work or how I can trace the reason it is not working?

Many thanks in advance,

Keiron.

1 ACCEPTED SOLUTION

David OBrien
Kilo Guru

Are you trying to just import the XML downloaded from Share?   If so, you need to import that into update sets.   Navigate to "Retrieved Update Sets" from the left hand navigation and use the Import Update Set from XML link to upload the XML file. Then it will show in your list of update sets to Preview and then Commit which should actually create your UI action.


View solution in original post

2 REPLIES 2

David OBrien
Kilo Guru

Are you trying to just import the XML downloaded from Share?   If so, you need to import that into update sets.   Navigate to "Retrieved Update Sets" from the left hand navigation and use the Import Update Set from XML link to upload the XML file. Then it will show in your list of update sets to Preview and then Commit which should actually create your UI action.


Hi David,


that's it !


The tool is now imported and I can create my update set for the full CMS site.


Thanks for taking the time to help me with this - I hope you had a nice Christamas and have a Happy New Year.


I'll mark this as 'correct answer';


regards,


Keiron.