ConcourseSuite Support

Support
Corporate
PUBLIC PROFILE

Back to topics

Discuss Data Import and Export

import into custom fields

You need to be logged in to post messages

This question is unanswered

import into custom fields

3/27/2008 2:57 PM EDT

can you import data into a custom field?

1. 3/28/2008 3:49 PM EDT

Hi Mike,

You cannot through the import tool available in the interface, but you should definitely check out the wiki on using the XML-HTTP API.

Below is a sample that would insert a new contact and custom field data for that contact. (Assuming the custom data has been set up through the Admin tool for a contact in a folder already.)

<?xml version='1.0' encoding='UTF-8'?>
<app>
<authentication>
<id>127.0.0.1</id>

password

<systemId>4</systemId>
<clientId>1</clientId>
</authentication>
<transaction id='2'>
<contact action="insert" shareKey="true">
<nameFirst>John</nameFirst>
<nameLast>Doe</nameLast>
<isLead>true</isLead>
<company>Concursive</company>
<title>Software Engineer</title>
<enabled>true</enabled>
<accessType>2</accessType>
<owner>0</owner>
<enteredBy>0</enteredBy>
<modifiedBy>0</modifiedBy>
<comments>testing the XML HTTP API for attaching custom data</comments>
</contact>
<customFieldRecord action='insert' shareKey="true">
<linkModuleId>2</linkModuleId>
<linkItemId>$C</linkItemId>
<categoryId>13</categoryId>
<enteredBy>0</enteredBy>
<modifiedBy>0</modifiedBy>
</customFieldRecord>
<customFieldData action='insert'>
<recordId>$C</recordId>
<fieldId>16</fieldId>
<enteredValue>Yes</enteredValue>
</customFieldData>
<customFieldRecord action='insert' shareKey="true">
<linkModuleId>2</linkModuleId>
<linkItemId>$C</linkItemId>
<categoryId>6</categoryId>
<enteredBy>0</enteredBy>
<modifiedBy>0</modifiedBy>
</customFieldRecord>
<customFieldData action='insert'>
<recordId>$C</recordId>
<fieldId>6</fieldId>
<enteredValue>Yes</enteredValue>
</customFieldData>

</transaction>
</app>

1 result found