Welcome Guest! Log in


This article will demonstrate how to setup your Salesforce environnement in order to perform the second part of the demonstration project and learn more about Salesforce.

 

Create a custom object in Salesforce


Before we start manipulating objects, here is a reminder of Salesforce's difference between standard objects and custom objects:

Standard Objects—These are objects included with Salesforce, by default, for example the objects used to store data in standard tabs such as accounts, contacts, or opportunities.

Custom Objects—These are new objects you create to store information unique to your organization. Custom objects extend the functionality that standard objects provide.

We are going to create a custom object. First, log into your salesforce account and go to the setup page.

CreateCustomObject01

 

Click on 'New Custom Object'. We are going to create the 't_customer' custom object, for the purpose of the demonstration project.

CreateCustomObject02

 

Enter Object information and Click 'save'

Now the object is empty, we will create custom fields. (standards objects can have custom fields too).

 

CreateCustomObject03

Click on 'New' to create a custom field. The first field to create is 'Cus_id' which is a number.

 

CreateCustomObject04

Click 'Next'.

CreateCustomObject05

For this field, we select the External ID attribute. An external ID is a custom field that has the External ID attribute, which means that it contains unique record identifiers from a system outside of Salesforce. It is also known as a primary key.
Go through the two next steps by just clicking on next, as we do not need to change anything. Finaly, save the field.
Create the other fields, and you shoud have something like this :

CreateCustomObject06

 

Note : The cus_id field is indexed. This is due to the external id attribute.


We are done creating our custom object !

You can now reverse its structure in Stambia.

Go back to your Salesforce metadata, and perform a reverse on the Salesforce server.

The object t_customer__c should appear.

 

CreateCustomObject07

The object can now be used in Stambia !

 

Create tabs for your custom objects

 

In the salesforce environnement, a tab allows you to read data from your custom objects and more.
To create a tab, go into your setup page.

CreateTab

Select your custom object in the list and a tab style (anyone), and click next.

CreateTab2

Go through the following steps by just clicking next and save your tab.
You should now see your tab in the menu bar :

CreateTab3

From this tab, you can either consult your data (click 'Go!' ) or enter new records by clicking 'New'.

CreateTab4

 

More about Stambia's Integration template Rdbms to Salesforce


The parameter "Error Acceptance Number" can be usefull when your Salesforce object has a custom field with a validation rule. You can change its value to allow a number of records to go through the rule. The value -1 means the rule will be ignored.


Tip : Salesforce records have a unique ID with which you can access its information through the following url : https://yourInstance.salesforce.com/<ID>

 

You have no rights to post comments

Articles

Suggest a new Article!