URGENT - Move independent views from DEV to PROD via xml???

veena_kvkk88
Mega Guru

Hello all!!

We moved update sets from dev to prod. Something went wrong and 2 of the views of a particular custom table don't reflect the dev instance. They are working perfectly in the Dev and that's the only issue, so we thought of migrating them to Prod independently using xml export and import.

This is what I did:

I exported the two view records (from UI views table) as xml.

I went to the prod instance, opened the Views table and clicked 'Import xml' from the header menu. And chose these two xml files and uploaded.

But there's no change in the views in Prod. What am I doing wrong? Is this not how it's supposed to be done? Please help!

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

There are many records that make up a view.



You also need to get the corresponding "section" table entries from sys_ui_section. These are represented as related lists on the View form. It's a bit like getting a group with no members. You've got the 'shell' of the view definition, but not the content.



The easiest way to find your section is by table name.



You may also want to get the appropriate entry from sys_ui_form (by table.)



find_real_file.png


find_real_file.png


View solution in original post

14 REPLIES 14

Thanks Veena,



As much as I'd like to claim I can read XML in my sleep, this is a bit overwhelming. I was hoping for more of a concise look at the related list of customer updates in your update set similar to the following. Look for updates related to the Form Layout, Form Section, Tables, Fields, etc. This may take some detective work on your part since I do not have eyes on your screen.





find_real_file.png


LOL I'm sorry! When Abhinay asked for xml, I assumed you were talking about that as well. My bad Here's the screenshot.



Screen Shot 2016-09-19 at 10.20.54 AM.png



I made layout changes in two diff views, since they are the ones that got screwed up during migration to prod. Then moved this update set to prod, hoping that this would capture the views as well. But it didn't work out as expected. So I was wondering if my assumption is wrong.


Thanks Veena.



I'm not sure what to tell you other than it's time to reach out to Customer Support. I've gone about as far as the community will allow me. The Form Layout update set record captures the entries from the sys_ui_section table and all the related elements underneath. If something was missed, support can dig in to the what and why. It's usually something simple.



Good luck.



HI Service Portal - ServiceNow


Contact Support | ServiceNow


Sure, thanks so much Chuck!! You've been great!


Glad to hear it's worked out.


If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.



If you are viewing this from the community inbox you will not see the correct answer button.   If so, please review How to Mark Answers Correct From Inbox View.



Thank you