The generator currently supports data source contracts written by using the external
format, also known as the old or manual format. Many of the oldest core data source contracts
were created by using this format, and it’s still possible to create data source contracts by
using this format in a text editor.
Required Editions
Available in: Enterprise, Performance, and Unlimited Editions
Note To avoid manual migration of data sources, we recommend that you avoid using this format
unless you don’t get the desired result by using standard modeled data source contracts. For
example, modeled data source contracts don’t currently support CASEs.
To define a new external data source, the value of the external attribute in the
<DataSource> tag must be True. Older core data source contracts don’t contain this
attribute. These element descriptions reflect the structure and attributes of the underlying
XML.
<Datasource objectClass="[BusinessObjectName]">
<Database platform="SQLite">
<Insert>
<![CDATA[
<JavaScript code for generating the "Insert" Statement>
]>
</Insert>
<Update>
<![CDATA[
<JavaScript code for generating the "Update" Statement>
]>
</Update>
<Load>
<![CDATA[
<JavaScript code for generating the "Load" Statement>
]>
</Load>
<Delete>
<![CDATA[
<JavaScript code for generating the "Delete" Statement>
]>
</Delete>
</Database>
</Datasource>
Use the <Insert/> block to create entries.
Use the <Update/> block to modify entries.
Use the <Delete/> block to delete entries.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.