This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Implement Aras Convertere Framework (TSystems-Project)

biztram - Thursday, July 4, 2013 4:15 AM:

Hey,

Something doesn't work using the Import.exe to implement the Aras Converter Framework (Project from T-Systems).

Of course i tried to follow exactly the terms in the TSystems-PDF. The Import of the Converter-Package worked but an error occured
during the next steps:

5. Reconnect to the database and select com.aras.innovator.core
6. Select type Merge.
7. Press the Import button
8. Now you can use the new solution within Aras


Doing these steps i get the following Error (sorry for the German language):

It says something about a double key in relation to the object name "innovator.FILE".

I did it with Innovator 9.3.0 in the original state.

I would really appreciate any kind of help!

Best regards!
bitzram



gks by TSI - Thursday, July 4, 2013 5:02 AM:

Are you sure you set the type to Merge in the import.exe?

 

If you did, you can manually edit the File.xml in ImportPackagecomarasinnovatorcoreItemType . it could possibly work with a file looking like this:

<AML>
 <Item type="ItemType" id="8052A558B9084D41B9F11805E464F443" action="edit">
  <Relationships>
   <Item type="Property" id="4B7E97124FE24638B8DE0CB1229072F3" action="add">
    <class_path>/File</class_path>
    <column_alignment>left</column_alignment>
    <data_type>boolean</data_type>
    <default_value xml:lang="en">-1</default_value>
    <is_hidden>1</is_hidden>
    <is_hidden2>1</is_hidden2>
    <is_indexed>0</is_indexed>
    <is_keyed>0</is_keyed>
    <is_multi_valued>0</is_multi_valued>
    <is_required>0</is_required>
    <label xml:lang="en">is Master File</label>
    <name>ts_is_master</name>
    <range_inclusive>0</range_inclusive>
    <readonly>0</readonly>
    <sort_order>4864</sort_order>
    <source_id keyed_name="File" type="ItemType" name="File">8052A558B9084D41B9F11805E464F443</source_id>
    <track_history>0</track_history>
   </Item>
   <Item type="Property" id="31F1446A80AD4E2BA3F6D4F5D2622650" action="add">
    <class_path>/File</class_path>
    <column_alignment>left</column_alignment>
    <data_source keyed_name="File" type="ItemType" name="File">8052A558B9084D41B9F11805E464F443</data_source>
    <data_type>item</data_type>
    <is_hidden>1</is_hidden>
    <is_hidden2>1</is_hidden2>
    <is_indexed>0</is_indexed>
    <is_keyed>0</is_keyed>
    <is_multi_valued>0</is_multi_valued>
    <is_required>0</is_required>
    <label xml:lang="en">Reference to Master File</label>
    <name>ts_master_file</name>
    <range_inclusive>0</range_inclusive>
    <readonly>0</readonly>
    <sort_order>4992</sort_order>
    <source_id keyed_name="File" type="ItemType" name="File">8052A558B9084D41B9F11805E464F443</source_id>
    <track_history>0</track_history>
   </Item>

   <Item type="Server Event" id="E991089F80DC472CA712FF679842F5E4" action="add">
    <related_id keyed_name="TS_onAfterAddFile" type="Method">
     <Item type="Method" action="get" select="id">
      <name>TS_onAfterAddFile</name>
     </Item>
    </related_id>
    <server_event>onAfterAdd</server_event>
    <sort_order>128</sort_order>
    <source_id keyed_name="File" type="ItemType" name="File">8052A558B9084D41B9F11805E464F443</source_id>
   </Item>
   <Item type="Server Event" id="C4F2A6A4C03945BF94E8F03E84A35E94" action="add">
    <related_id keyed_name="TS_onAfterUpdateFile" type="Method">
     <Item type="Method" action="get" select="id">
      <name>TS_onAfterUpdateFile</name>
     </Item>
    </related_id>
    <server_event>onAfterUpdate</server_event>
    <sort_order>256</sort_order>
    <source_id keyed_name="File" type="ItemType" name="File">8052A558B9084D41B9F11805E464F443</source_id>
   </Item>
 </Item>
</AML>



biztram - Thursday, July 4, 2013 6:12 AM:

The error occuring saving an item with file attachment says, that IOM Version 9.2.0.5562 can't be found.



biztram - Thursday, July 4, 2013 5:48 AM:

Thank you for the quick response gks by TSI!

Yes i am sure i set the type "merge". I tried every imaginable combination of
importing the t-systems package and the core package.

I entered your code after importing the t-systems package.
This is the server response:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <Result>
      <Item type="ItemType" typeId="450906E86E304F55A34B3C0D65C097EA" id="8052A558B9084D41B9F11805E464F443">
        <allow_private_permission>1</allow_private_permission>
        <auto_search>0</auto_search>
        <close_icon>../images/icons/16x16/16x16_file.gif</close_icon>
        <config_id keyed_name="File" type="ItemType" name="File">8052A558B9084D41B9F11805E464F443</config_id>
        <core>1</core>
        <created_by_id keyed_name="Super User" type="User">AD30A6D8D3B642F5A2AFED1A4B02BEFA</created_by_id>
        <created_on>2002-04-24T15:45:11</created_on>
        <current_state name="Released" keyed_name="Released" type="Life Cycle State">C363ABDADF8D485393BB89877DBDCFD0</current_state>
        <default_page_size>25</default_page_size>
        <enforce_discovery>0</enforce_discovery>
        <generation>1</generation>
        <help_url xml:lang="en">mergedProjects/Just Ask Innovator/About_Files.htm</help_url>
        <hide_where_used>0</hide_where_used>
        <id keyed_name="File" type="ItemType">8052A558B9084D41B9F11805E464F443</id>
        <implementation_type>table</implementation_type>
        <instance_data>FILE</instance_data>
        <is_cached>0</is_cached>
        <is_current>1</is_current>
        <is_dependent>0</is_dependent>
        <is_relationship>0</is_relationship>
        <is_released>0</is_released>
        <is_versionable>1</is_versionable>
        <keyed_name>File</keyed_name>
        <label xml:lang="en">File</label>
        <label_plural xml:lang="en">Files</label_plural>
        <large_icon>../images/icons/32x32/32x32_file.gif</large_icon>
        <major_rev>A</major_rev>
        <manual_versioning>0</manual_versioning>
        <modified_by_id keyed_name="Innovator Admin" type="User">30B991F927274FA3829655F50C99472E</modified_by_id>
        <modified_on>2013-07-04T11:36:00</modified_on>
        <new_version>0</new_version>
        <not_lockable>0</not_lockable>
        <open_icon>../images/Icons/16x16/16x16_file3.gif</open_icon>
        <permission_id keyed_name="AAC67329352649E585527F1DB1FBA748" type="Permission">AAC67329352649E585527F1DB1FBA748</permission_id>
        <revisions keyed_name="Default" type="Revision">7FE395DD8B9F4E1090756A34B733D75E</revisions>
        <show_parameters_tab>1</show_parameters_tab>
        <state>Released</state>
        <unlock_on_logout>0</unlock_on_logout>
        <use_src_access>0</use_src_access>
        <name>File</name>
      </Item>
    </Result>
    <Message>
      <event name="ids_modified" value="8052A558B9084D41B9F11805E464F443|AD40D7572DCE453A9B7CEAB1987BF61D|810210F9F9084103AB68AE6C6AF0B3EE|10F9FAEC9A4C44E894B58B8488CEA3BD|64C4DBF442A945F8A708B527AF790FB3|F0A553248B4D42F6AF0074EAB2D7B100|1C0359D19EC84C9DA948EC0645737DC8|DC162595090D457294B9CB6E459630C9|F33F4AD7071B4308B5BFBCCBD2C09786|7F4905A431504A04B5894567E94443A4|1BA59C03671A4995AF09622CE182E089|F3764FE06A914DB3BB90EFEFBA50DA33|0597768411A848718E7338CDBA154830|73C333E4E4174DD39DF3444ED344F805|2CBF2DE92EBF450388E610ECDB161B77|888CBB5016284E8692D22380F4ED74EF|497BB04B15C0445F9710016C24222F98|C0753BF9614B4184989A3E12791250C9|329F8A07E7024481AEE224CC553BEA07" />
    </Message>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

I recognized that still something has not worked, because i get the same error when uploading files as an attachment to items.



gks by TSI - Thursday, July 4, 2013 10:07 AM:

This Errormessages means, that the used DLL of the Converter Framework is not compatible with your Aras Version.



biztram - Thursday, July 4, 2013 3:17 PM:

Yes, thank you. I even saw it. So, there seem to be no other possibility as to install a 9.2.x Version of Aras, too bad.