You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I exported a demo site from a 5.0.2.1 environment, and imported it into another 5.0.2.1 environment on a different machine. When I browse the new environment using Alfresco Mobile on iOS or Android, I'm unable to see the contents of the new site on the new environment. I can successfully navigate the site on the old environment.
On Android, when I navigate into the new site using the Sites menu on the left side of the app, I get a "No Files Found" message. On iOS, I get the following message: "We hit a problem. Couldn't to access Document Library."
I can navigate into the new site in the mobile apps by going into Repository/Sites//DocumentLibrary, and see all of the files in the site, but I can't get there via the main Sites menu.
New sites that were created in Alfresco via the browser can be navigated successfully via the mobile apps. It's only the imported site that doesn't work this way.
No errors are logged in any log files (alfresco.log, share.log, solr.log, catalina, etc.). What's the difference between a conventionally-created site and an imported site that would cause this problem?
The text was updated successfully, but these errors were encountered:
I found the reason for the problem, and a fix. By comparing imported sites against conventionally-created sites in the Node Browser, I found that imported sites were missing a value for the st:componentId property on the documentLibrary node. When you tap the Sites link in the mobile apps, it appears that the apps are looking only for items where st:componentId=documentLibrary. Without this value set, the app doesn't find any document library, and gives an error.
Running the following script in the JavaScript Console fixed the problem:
var docLib = search.findNode("workspace://SpacesStore/cda88071-d208-426c-84a0-6a16c1145065"); // use nodeRef of the documentLibrary
docLib.properties["st:componentId"] = "documentLibrary";
docLib.save();
I exported a demo site from a 5.0.2.1 environment, and imported it into another 5.0.2.1 environment on a different machine. When I browse the new environment using Alfresco Mobile on iOS or Android, I'm unable to see the contents of the new site on the new environment. I can successfully navigate the site on the old environment.
On Android, when I navigate into the new site using the Sites menu on the left side of the app, I get a "No Files Found" message. On iOS, I get the following message: "We hit a problem. Couldn't to access Document Library."
I can navigate into the new site in the mobile apps by going into Repository/Sites//DocumentLibrary, and see all of the files in the site, but I can't get there via the main Sites menu.
New sites that were created in Alfresco via the browser can be navigated successfully via the mobile apps. It's only the imported site that doesn't work this way.
No errors are logged in any log files (alfresco.log, share.log, solr.log, catalina, etc.). What's the difference between a conventionally-created site and an imported site that would cause this problem?
The text was updated successfully, but these errors were encountered: