cancel
Showing results for 
Search instead for 
Did you mean: 

Exporting models

lercherl
Champ on-the-rise
Champ on-the-rise
I have created a custom model using the model manager and want to export it. The <a href="http://docs.alfresco.com/5.1/concepts/admintools-cmm-importexport.html">documentation</a>  says:

<blockquote>
Click Export.

This will save the model locally on your computer as a ZIP package.
</blockquote>

When I click Export, nothing is saved locally. I do find the ZIP file on the server in the content store (by identifying
/opt/alfresco-community/alf_data/contentstore/2016/5/27/16/33/some-uuid.bin
as a ZIP file).

Is this the way it is supposed to work? Shouldn't the ZIP file rather be downloaded?

Server is the latest Alfresco community edition for Linux on Ubuntu 14.04 (fresh install, no customization whatsoever), Client is Safari  9.0.3 on Mac OS X 10.10.5.
2 REPLIES 2

steven_okennedy
Star Contributor
Star Contributor
Hi,

I've seen the same issue and I believe it may be one of two things.  First is that, it looks like the brwoser may treat what Alfresco is doing as an attempt to create a pop up, so you'll need to allow popups to get it to do anything at all (I'm using Chrome, don't have access to Safari).

The second issue seems to be intermittent, and I'm testing this on a local dev box which is not ideal here, but it seems that when making a request to export the model, it may receive multuiple responses (e.g. in progresss, in progress, done!) but there seems to be an issue with the scope of "this" in the client side Javscript when it goes back through the retry loop after recieving an intermdiate (not done yet) response.  This causes a javascript error to show up in the browser console and stops it doing what it's supposed to, as per attached screenshot.  I'd recommend raising a Jira if what you're seeing matches this

I've tried clicking the export action multiple times - sometimes it works and sometimes it doesn't

Regards

Steven

Thanks, enabling pop-ups solved the problem for me.