Survey won't publish update from connect. It just keeps loading

302
6
09-21-2023 12:33 PM
tendtreesTC
New Contributor III

Hi there,

I have a survey which I created in connect.  I have made a number of updates and never had any issues until one day it just wouldn't re-publish.  

It starts to republish but then it just keeps going round on the loading button.

I haven't shifted the survey to any new folder and the item.info file still has the correct location.

The only thing I can think of is it is shared in a group folder but even once I removed it from the group it still won't publish.

Does anyone know why this is occuring?

0 Kudos
6 Replies
abureaux
Occasional Contributor III

This sometimes happens to me to. Generally, close Connect > reopen Connect > republish does the trick.

Very rarely, nothing seems to resolve this issue. I have only had this happen a couple of times, and only after very large changes to the original survey. In these cases, I opted to delete the old survey and then republish to avoid the headache.

0 Kudos
tendtreesTC
New Contributor III

I have tried to close and re-open but it still hasn't worked.  How do you delete the survey without loosing your data?

I can easily upload the existing data into a new survey but I also have a number of images included in the existing data which I haven't been able to transfer across in the past.

0 Kudos
abureaux
Occasional Contributor III

If your feature has changed a lot, this process may not work. In that case, you may wish to republish your old survey, then append the data to the old survey, and finally republish with the survey changes. While this sounds like what you are currently doing, I have found that this has worked in the past for my stubborn surveys.

I will also point out that if you are getting the below warning in Connect, then you have a whole other thing going on.

abureaux_4-1695392972182.png

 

Export:

1. Go to your Portal (or AGO) and find the Hosted Feature Layer:

abureaux_0-1695392495618.png

2. Click Export Data > then Export to GeoJSON* Export to Shapefile**:

abureaux_1-1695392531110.png

*Technically, you can use any of the following formats:

abureaux_3-1695392706751.png

** I am revising this to Shapefile. Not sure if it's just my deployment, or an 11.0 thing, but I got a weird error with GeoJSON. Shapefiles work fine though.

3. Download that file once it finishes processing. I like to name my files "delete" since once you download it to your PC, you can delete it. No need for it to sit there without a purpose, after all.

Append:

4. After republishing, go to your new Hosted Feature Layer > click Update Data > then Append Data to Layer:

abureaux_2-1695392682305.png

0 Kudos
tendtreesTC
New Contributor III

Thanks abureaux.  Will this transfer images across?

0 Kudos
abureaux
Occasional Contributor III
0 Kudos
DrJumaKhudonazarov
Occasional Contributor II

I had this issue next day all was fine or exit connect  restart you computer and publish it worked for me

0 Kudos