<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem accessing imported site from Mobile in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-imported-site-from-mobile/m-p/284771#M237901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the problem by doing the comparison Douglas suggested.&lt;/P&gt;&lt;P&gt;There were two properties and one aspect missing from the imported site. See the code below for details.&lt;/P&gt;&lt;P&gt;Only one of the properties is crucial in solving the problem with the app: st:componentId&lt;/P&gt;&lt;P&gt;I solved the problem by executing some javascript in the javascript console.&lt;/P&gt;&lt;P&gt;The code snippet is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var siteName = &amp;lt;insert-your-sitename-here&amp;gt;;&lt;/P&gt;&lt;P&gt;var theSite = companyhome.childByNamePath("Sites/" + siteName );&lt;BR /&gt;var theLib = theSite.childByNamePath( "documentLibrary" );&lt;BR /&gt;theLib.addAspect("st:siteContainer");&lt;BR /&gt;theLib.properties["cm:description"] = "Document Library";&lt;BR /&gt;// This last one is the crucial property for solving the problem with access from the app&lt;BR /&gt;theLib.properties["st:componentId"] = "documentLibrary";&lt;BR /&gt;theLib.save();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Will Abson&lt;/B&gt;‌, maybe this interesting for you as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Nov 2016 08:05:38 GMT</pubDate>
    <dc:creator>davidd2go</dc:creator>
    <dc:date>2016-11-12T08:05:38Z</dc:date>
    <item>
      <title>Problem accessing imported site from Mobile</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-imported-site-from-mobile/m-p/284769#M237899</link>
      <description>HiI have an Alfresco 5.1.g environment running in which I imported several sites from a different installation using Will Abson's Python scripts.This worked quite well but I encounter a problem accessing those sites from the iOS mobile app.In the app the imported sites are visible, but when I try to</description>
      <pubDate>Sun, 06 Nov 2016 22:13:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-imported-site-from-mobile/m-p/284769#M237899</guid>
      <dc:creator>davidd2go</dc:creator>
      <dc:date>2016-11-06T22:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem accessing imported site from Mobile</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-imported-site-from-mobile/m-p/284770#M237900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know the cause, but I guess an easy way to check what is going on is to check the site and the document library folder for one of the imported and compare its properties and permissions with those in the new site you created manually.&lt;/P&gt;&lt;P&gt;You can do that by using the Node Browser tool.&lt;/P&gt;&lt;P&gt;It might be a property not set, or even a required aspect attached.&lt;/P&gt;&lt;P&gt;Other thing is to check how the permissions are set.&lt;/P&gt;&lt;P&gt;If you can, please, share that information here, as without more details, it will be hard to help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 12:02:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-imported-site-from-mobile/m-p/284770#M237900</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2016-11-09T12:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem accessing imported site from Mobile</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-imported-site-from-mobile/m-p/284771#M237901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the problem by doing the comparison Douglas suggested.&lt;/P&gt;&lt;P&gt;There were two properties and one aspect missing from the imported site. See the code below for details.&lt;/P&gt;&lt;P&gt;Only one of the properties is crucial in solving the problem with the app: st:componentId&lt;/P&gt;&lt;P&gt;I solved the problem by executing some javascript in the javascript console.&lt;/P&gt;&lt;P&gt;The code snippet is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var siteName = &amp;lt;insert-your-sitename-here&amp;gt;;&lt;/P&gt;&lt;P&gt;var theSite = companyhome.childByNamePath("Sites/" + siteName );&lt;BR /&gt;var theLib = theSite.childByNamePath( "documentLibrary" );&lt;BR /&gt;theLib.addAspect("st:siteContainer");&lt;BR /&gt;theLib.properties["cm:description"] = "Document Library";&lt;BR /&gt;// This last one is the crucial property for solving the problem with access from the app&lt;BR /&gt;theLib.properties["st:componentId"] = "documentLibrary";&lt;BR /&gt;theLib.save();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Will Abson&lt;/B&gt;‌, maybe this interesting for you as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Nov 2016 08:05:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-accessing-imported-site-from-mobile/m-p/284771#M237901</guid>
      <dc:creator>davidd2go</dc:creator>
      <dc:date>2016-11-12T08:05:38Z</dc:date>
    </item>
  </channel>
</rss>

