<?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: Help required in  java based webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259403#M212533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mitapatoliya,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is meeting my requirement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I have some new queries like in case if I want to pass the request parameter as json object and then converting that object into hashmap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After converting I will build the query according to keys in the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please guide me .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Abhashree&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2012 13:37:45 GMT</pubDate>
    <dc:creator>abhashree</dc:creator>
    <dc:date>2012-02-08T13:37:45Z</dc:date>
    <item>
      <title>Help required in  java based webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259399#M212529</link>
      <description>Hi All,I want to write one java based webscript for searching the content with its type and aspect value.I don't want to give any hard coded value in luecene query.My intention is to pass the parameters for search as json object and converting the object into the hashmap.I am not sure about the logi</description>
      <pubDate>Tue, 07 Feb 2012 10:35:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259399#M212529</guid>
      <dc:creator>abhashree</dc:creator>
      <dc:date>2012-02-07T10:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in  java based webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259400#M212530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can refer this link &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;to get idea about the webscripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And rather then creating json object and all that just pass the criterias in your URL as parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then generate the query dynamically based on that passed parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This should server your purpose.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 10:44:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259400#M212530</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-02-07T10:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in  java based webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259401#M212531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mitapatoliya,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have gone through the wiki.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It will really helpful to me if you will give an example of this scenario as I am not getting the logic properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please guide me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Abhashree&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 09:17:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259401#M212531</guid>
      <dc:creator>abhashree</dc:creator>
      <dc:date>2012-02-08T09:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in  java based webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259402#M212532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the case:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to search the documents of particular type which are created between certain time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my webscript there I will pass three parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;YourscriptURL/type={Type}&amp;amp;from_date={from_date}&amp;amp;todate={to_date}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Type,from date and to date.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then in script I get all those values and will create query on the fly with all those values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;get values inside webscript bean from request object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String type=req.getparameter("type");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Similarly you have all the values passed from the URL the you can generate query with those values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as follow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TYPE:type AND @test\:date:[from_date TO todate]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then search with that query via searchparameter object.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 10:21:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259402#M212532</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-02-08T10:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in  java based webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259403#M212533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mitapatoliya,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is meeting my requirement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I have some new queries like in case if I want to pass the request parameter as json object and then converting that object into hashmap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After converting I will build the query according to keys in the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please guide me .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Abhashree&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 13:37:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259403#M212533</guid>
      <dc:creator>abhashree</dc:creator>
      <dc:date>2012-02-08T13:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in  java based webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259404#M212534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can go either way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Get Webscript where you have to pass everything as a parameter of URL itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) POST Webscript incase you want to pass the object or xml file in the request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; As you want to use the JSON object you have to go for the POST Webscript.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 07:14:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/help-required-in-java-based-webscript/m-p/259404#M212534</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-02-09T07:14:20Z</dc:date>
    </item>
  </channel>
</rss>

