Thursday, April 4, 2013

Extending the Custom Objects


Extending the Custom Objects :

We can extend existing Custom Objects by adding  addition text fields,  validations and child objects etc . In this section i am going to extended our "Sales Request-Tickets" Custom object .

    Adding Custom Field :
        
                   Text Field :

                     1. Expand  Sales Request-Tickets Custom object 
                            2. Click on Fields  it will show new icon to create new field. 
                     3. Select  Text  option then "OK" 

                  4. Now give the name of the field (Customer Name) and the constrains like updateable, searchable etc and the save and close. 


                 5. In this way you can add as many fields you want , let me explain creation of LIST fields 

                Fixed Choice List :

               1. Follow the same steps and select Fixed Choice List option.  


         2. Give the Label Name (Type) , you can create both Single and Multiple Choice List. in this case i am creating  Single Select Choice List. So select select Display type option.


       3. Now configure LookUpType to add the List of values .Create new LookUp type with name "Sales Request -Type" where u can store the list of values (Open,In-Progress,Closed)

       4. Click on new Icon beside to the LookUpType in the same screen and configure as below 

    
      5. Save and close , your Fixed Choice List is ready now

 

                     Dynamic Choice List :
                  
 Dynamic Choice List values are derived from another object. In this example , to display "Partner Name " dynamically i am using Partner Object which is existing  in the same application. 

     1. Select "Choice List (Dynamic)" option from the select field type dialog box.


     2. Label name as "Partner" and click on next button.


 3. Select Partner Object From "RelatedObject" List and select "Partner Name" from "List selection Display Value" List , also you can display additional values.


4.  Save and close ,now your Dynamic Choice List is ready.


You can extend an object  adding more custom fields like Check Box, Number ,Long Text , Percentage,Date and time also.

No comments:

Post a Comment