Default List View is not getting updated in my scoped app

michaelrodway
Tera Contributor

I need to push through a change to the default list view in my scoped app, however any change I make will not get captured and sent across when I publish:

When I look at the current update set in Dev, I see the change there

find_real_file.png

(this record contains the correct XML and is the most recent change in the update set)

This being said I am not using update sets as we are using the Scoped App's Publish/Upgrade functionality

So in Dev:

find_real_file.png

However in QA:

find_real_file.png

No idea how I can get these to sync up...

I have tried to update the file in Dev, and then publish with no luck

I look at the version List, and the old one is the current(??)

find_real_file.png

4 REPLIES 4

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Michael,



Go to sys_metadata.list from navigation filter->Group by application->Select your application->Now group by class and make sure the view is captured as an update over there.


This is the changes which will be migrated to your target instance.


Thanks,



However, when i tried to publish again, the change didn't come across


michaelrodway
Tera Contributor

After talking with ServiceNow... This appears to be a bug with how the scoped app re-acts to changes to the default list layout once a list has been personalized by someone.



We've figured a workaround to get this working:


1) Publish the app, Click to update the app in the target system.


2) Reset your column defaults for your list


If the columns come in as expected... excellent.


If Not


3) Open up the sys_update_version table


4) Choose the default list that you have updated in dev it will end with an "_null"


5) Review that the payload is what the List layout should look like


6) Under Related Links, There will be a "Revert to this Version" link if this is not the current version


7) Click : Revert to this Version



2016-10-07_11-16-33.jpg


2016-10-07_11-26-54.jpg



Hope this helps someone!


Did they give you a PRB?