<?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: Web Scripts / Server Side Javascript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/web-scripts-server-side-javascript/m-p/181611#M134741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;-&amp;gt;We have some documents that have become corrupted, and we need to repair them and any new ones that arise. We know all the files that are corrupted, so I thought it would be optimal to make a list of the files to be batched fixed in a web script. Is it possible to have a webscript open a plain text file? server side and/or client side?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can read the content of a file on the server side or client side through either Java/JavaScript/HTTP/FTP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Also, is it possible to setup a form to give parameters to a web script? For instance, we have some files that have properties that need a change (because someone made a mistake with data input). How difficult would it be to make a form that would show the current values, allow them to be changed, and pass them as parameters to a web script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's possibly two web scripts involved here the first to read and display your properties.&amp;nbsp;&amp;nbsp; The second to store the values of your modified properties.&amp;nbsp;&amp;nbsp; You will need to work out what format of data to read your properties such as JSON, XML or HTML.&amp;nbsp;&amp;nbsp; And your second web script will need to accept a response and apply the changes.&amp;nbsp;&amp;nbsp; You will also probably find that the neccessary web scripts to read properties or contents and set properties and contents already exist.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2009 00:30:53 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2009-03-20T00:30:53Z</dc:date>
    <item>
      <title>Web Scripts / Server Side Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-scripts-server-side-javascript/m-p/181610#M134740</link>
      <description>I have a few questions concerning these scripts.We have some documents that have become corrupted, and we need to repair them and any new ones that arise.&amp;nbsp; We know all the files that are corrupted, so I thought it would be optimal to make a list of the files to be batched fixed in a web script.&amp;nbsp; Is</description>
      <pubDate>Thu, 19 Mar 2009 19:18:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-scripts-server-side-javascript/m-p/181610#M134740</guid>
      <dc:creator>mcook</dc:creator>
      <dc:date>2009-03-19T19:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Web Scripts / Server Side Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-scripts-server-side-javascript/m-p/181611#M134741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;-&amp;gt;We have some documents that have become corrupted, and we need to repair them and any new ones that arise. We know all the files that are corrupted, so I thought it would be optimal to make a list of the files to be batched fixed in a web script. Is it possible to have a webscript open a plain text file? server side and/or client side?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can read the content of a file on the server side or client side through either Java/JavaScript/HTTP/FTP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Also, is it possible to setup a form to give parameters to a web script? For instance, we have some files that have properties that need a change (because someone made a mistake with data input). How difficult would it be to make a form that would show the current values, allow them to be changed, and pass them as parameters to a web script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's possibly two web scripts involved here the first to read and display your properties.&amp;nbsp;&amp;nbsp; The second to store the values of your modified properties.&amp;nbsp;&amp;nbsp; You will need to work out what format of data to read your properties such as JSON, XML or HTML.&amp;nbsp;&amp;nbsp; And your second web script will need to accept a response and apply the changes.&amp;nbsp;&amp;nbsp; You will also probably find that the neccessary web scripts to read properties or contents and set properties and contents already exist.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 00:30:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-scripts-server-side-javascript/m-p/181611#M134741</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-03-20T00:30:53Z</dc:date>
    </item>
  </channel>
</rss>

