Sfdc_05 (Data Loader)

Source: Internet
Author: User

Many beginners contact SFDC development time is very confused do not know how to build a table, do not know how to build the field and how to manipulate the data, the following one by one.

When the table name is selected instead of edited, go directly to the table

Now that you have created a table, you can view it in Eclipse.

Find your project and the bottom one is. Wait a moment after clicking.

Then first click on refresh First

Before creating the form, the name is labels, select the field you want to view, there is only the field, and there is no value.

When the field is selected, the SQL text is automatically produced. Click Run me to execute the SQL text.

There are several ways to insert data into a table. 1

Create a new class, write an insert method in it, and execute it with execute. You can insert the data

No_1 is the data.

2 Write the INSERT statement directly in Execute

This is the way no_2 is implemented.

3 operation with Data Loader

The first thing to do is to export the table first.

Password is your password + security tag

The security mark is in your registered email when you apply for the account.

Browse is the storage path where you export this table.

You can choose the field you exported this table, as well as the conditions, only the value is manually added, the others are automatically generated, add condition added to the following statement

Yh

The exported file is a CSV style because the insert must be in CSV format before it can be inserted, so make changes directly on the original file

ID is automatically generated, I removed him, Name_c to No_3

And then perform the insert operation

Select the table you want to insert, and insert the file

You are prompted that there is only one piece of data in the inserted file

Automatically put the field of the data you inserted on the field that exists in the original table

After the insert is complete, you have completed a data operation and succeeded.

You can then view this data in eclipse.

No_1

No_2

No_3

The three data are operated in different ways, and we'll introduce other methods later.

Sfdc_05 (Data Loader)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.