<?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: External Servlet for searchs [solved] in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/external-servlet-for-searchs-solved/m-p/227027#M180157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I finally solved it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was the UIlocation was not initialized. After doing &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; browseBean.updateUILocation(nodeRef);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; it finally works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ana&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jul 2010 08:52:02 GMT</pubDate>
    <dc:creator>anusk</dc:creator>
    <dc:date>2010-07-19T08:52:02Z</dc:date>
    <item>
      <title>External Servlet for searchs [solved]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-servlet-for-searchs-solved/m-p/227024#M180154</link>
      <description>Hola a todos!Hi all!I'm trying to do a servlet to access Alfresco through a specific URL. The idea is to redirect to the search results page.In the servlet I create an UIComponent of the type UISimpleSearch, an event and finally I add the searchContext to the event.Now the problem is that this only</description>
      <pubDate>Fri, 16 Jul 2010 11:07:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-servlet-for-searchs-solved/m-p/227024#M180154</guid>
      <dc:creator>anusk</dc:creator>
      <dc:date>2010-07-16T11:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: External Servlet for searchs [solved]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-servlet-for-searchs-solved/m-p/227025#M180155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Now the problem is that this only works if the user login in alfresco and then put the URL in the browser&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;this is&amp;nbsp; normal alfresco does not allow to access if you are not logged in first. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so my advice is that you do next: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;servlet-name&amp;gt;externalAccess&amp;lt;/servlet-name&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;servlet-class&amp;gt;org.alfresco.web.app.servlet.ExternalAccessServlet&amp;lt;/servlet-class&amp;gt; check this inside web.xml this is servlet witch deals with /n/showDocDetails/${child.nodeRef} you get this and details dialog opens , nice. so why do not extend this servlet to post your search results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if you are having problem with login part you can do : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; loginbean.setusername("guets")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; loginbean.login();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and if documents in guest homespace this would work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 14:40:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-servlet-for-searchs-solved/m-p/227025#M180155</guid>
      <dc:creator>savic_prvoslav</dc:creator>
      <dc:date>2010-07-16T14:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: External Servlet for searchs [solved]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-servlet-for-searchs-solved/m-p/227026#M180156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi savic!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, that is what I already did. I did an external servlet based in the one that provides alfresco. The login part I know is normal, I did another external servlet which leads you to an specific node in alfresco (and of course you have to login to access alfresco). The problem is when the user login, alfresco goes to company home space first!, then you refresh the browser and goes to the search results page. I don't know why alfresco goes first to company home space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want is : you put the URL in the browser, alfresco login page appears, the user login, and alfresco shows you directly the page results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ana&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 07:30:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-servlet-for-searchs-solved/m-p/227026#M180156</guid>
      <dc:creator>anusk</dc:creator>
      <dc:date>2010-07-19T07:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: External Servlet for searchs [solved]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-servlet-for-searchs-solved/m-p/227027#M180157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I finally solved it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was the UIlocation was not initialized. After doing &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; browseBean.updateUILocation(nodeRef);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; it finally works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ana&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 08:52:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-servlet-for-searchs-solved/m-p/227027#M180157</guid>
      <dc:creator>anusk</dc:creator>
      <dc:date>2010-07-19T08:52:02Z</dc:date>
    </item>
  </channel>
</rss>

