AnsweredAssumed Answered

Kofax Capture Release Script Error

Question asked by delsener on Feb 4, 2009
Latest reply on Feb 4, 2009 by delsener
I experience problems with releasing from Kofax Capture (using the official RS version 1.1) to a self established content-type. Note: If I use the standard "content" type with let's say for example the "titeled" aspect everything works fine. I can choose also my created content-type called "invoice" and it shows all the fields I would like to fill. So normally everything is ok and no errors during the configuration of the release script appear.

Problem: But if I try to release always the standard error message "your RS has to be reinstalled" appears. Some more details (not very usefull) from the kofax logfile:

1/22/2009 3:33:41 PM ==> frmAlfrescoSetUp method btnConnect_Click Could not load file or assembly 'Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Das System kann die angegebene Datei nicht finden.
   at KofaxAlfrescoRelease_v1.frmAlfrescoSetUp.displayLocationTree(String selectedUuid)
   at KofaxAlfrescoRelease_v1.frmAlfrescoSetUp.btnConnect_Click(Object sender, EventArgs e)

For better understanding I paste my xml code for the content-type here:
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="sc:arcplace" xmlns="http://www.alfresco.org/model/dictionary/1.0">

   <!– Optional meta-data about the model –>
   <description>Arcplace AG: Verträge mit Anhängen in Alfresco</description>
   <author>Daniel Elsener</author>
   <version>1.0</version>

   <!– Imports are required to allow references to definitions in other models –>
   <imports>
      <!– Import Alfresco Dictionary Definitions –>
      <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
      <!– Import Alfresco Content Domain Model Definitions –>
      <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
   </imports>

   <!– Introduction of new namespaces defined by this model –>
   <namespaces>
      <namespace uri="http://www.someco.com/model/content/1.0" prefix="sc" />
   </namespaces>
   
   <!– Combobox Values –>
   <constraints>
      <constraint name="sc:UserList" type="LIST">
         <parameter name="allowedValues">
            <list>
               <value>Alan Shearer</value>
               <value>Michael Owen</value>
               <value>David Ginola</value>
               <value>Kevin Keegan</value>
               <value>Daniel Elsener</value>
            </list>
         </parameter>
      </constraint>
   </constraints>
   
   <types>
      
      <!– Enterprise-wide generic document type –>      
      <type name="sc:invoice">
         <title>Rechnungen</title>
         <parent>cm:content</parent>
         <properties>
            <property name="sc:Date">
               <title>Datum</title>
               <type>d:date</type>
            </property>
            <property name="sc:InvoiceNo">
               <title>Rechnungsnummer</title>
               <type>d:int</type>
            </property>
            <property name="sc:InvoiceText">
               <title>Vermerk</title>
               <type>d:text</type>
            </property>
            <property name="sc:User">
               <title>Sachbearbeiter</title>
               <type>d:text</type>
               <constraints>
                  <constraint ref="sc:UserList" />
               </constraints>
            </property>
            <property name="sc:Payed">
               <title>bezahlt</title>
               <type>d:boolean</type>
               <default>false</default>
            </property>
         </properties>
         <mandatory-aspects>
           <aspect>cm:generalclassifiable</aspect>
         </mandatory-aspects>
      </type>
   </types>
</model>

and here's the xml code of my web client conf file:
<alfresco-config>

   <!–  add "Rechnungen" properties to property sheet –>
   <config evaluator="node-type" condition="sc:invoice">
      <property-sheet>
         <show-property name="sc:Date" read-only="true" />
         <show-property name="sc:InvoiceNo" />
         <show-property name="sc:InvoiceText" />
         <show-property name="sc:User" />
         <show-property name="sc:Payed" />
      </property-sheet>
   </config>
      
   <!–  add "Rechnungen" types to add content list –>
   <config evaluator="string-compare" condition="Content Wizards">
      <content-types>
         <type name="sc:invoice" />
      </content-types>
   </config>

   <!–  add "Rechnungen" types to advanced search –>
   <config evaluator="string-compare" condition="Advanced Search">
      <advanced-search>
         <content-types>
            <type name="sc:invoice" />
         </content-types>
         <folder-types>
         </folder-types>
         <custom-properties>
            <meta-data type="sc:invoice" property="sc:Date" />
            <meta-data type="sc:invoice" property="sc:InvoiceNo" />
            <meta-data type="sc:invoice" property="sc:InvoiceText" />
            <meta-data type="sc:invoice" property="sc:User" />
            <meta-data type="sc:invoice" property="sc:Payed" />
         </custom-properties>
      </advanced-search>
   </config>
</alfresco-config>
Can anybody help me please?

Outcomes