There is a hard limit of 3,000 total custom objects per Organization, regardless of whether they're created within the Org or installed from the AppExchange. For example, with Unlimited Edition, you could create 2,000 custom objects and install an additional 1,000 objects.
Text Area (Long)Any length from 256 to 131,072 characters is allowed. The default is 32,768 characters. Every time you press Enter within a long text area field, a line break, and a return character are added to the text. These two characters count toward the 131,072 character limit.
Standard objects are objects that are included with Salesforce. Common business objects like Account, Contact, Lead, and Opportunity are all standard objects. Custom objects are objects that you create to store information that's specific to your company or industry.
Profiles define how users access objects and data, and what they can do within the application. When you create users, you assign a profile to each one. To view the profiles in your organization, from Setup, enter Profiles in the Quick Find box, then select Profiles.
Required Editions
- If you're using Lightning Experience, from Setup, open the Object Manager, click the name of the object you want to see the usage for, and then go to Object Limits.
- If you're using Salesforce Classic, from Setup, enter the object name in the Quick Find box, and then select Limits under that object.
A field is like a custom Database column. Object field Store the data for our records. Salesforce by default provide few fields with salesforce standard objects those are called standard fields. The field created by us are called Custom field. We can delete a custom field in Salesforce.
Rich text is text that is formatted with common formatting options, such as bold and italics, that are unavailable with plain text. You format your data by using common formatting tools, such as the Ribbon and the Mini Toolbar.
The rich-text toolbar has icons for editing and formatting your text. You may use the rich text editor to include images, links, audio and video as well as text.
You can query records for long text type field but you can't put these fields in WHERE clause. Salesforce don't allow the fields to be used in where clause if their length is greater than 255.
Things to Consider Before Changing Field Data Type in Salesforce
- Conversion to or from date or date/time.
- Conversion to number from any other type.
- Conversion to percent from any other type.
- Conversion to Currency from any other type.
- Conversion from Checkbox to any other type.
- Changing from Picklist (Multi-Select) to any other type.
- Changing to Picklist (Multi-Select) from any other type.
Text, allows users to enter any combination of letters and numbers up to 254 characters. Text Area, allows users to enter up to 255 characters on separate lines. Text Area (Long), allows users to enter up to 131,072 characters on separate lines.
Change the Custom Field Type
- From the management settings for the field's object, go to Fields.
- Click Edit next to the custom field you want to change.
- Click Change Field Type.
- Select a new data type and click Next.
- Enter a field label, name, and any other attributes, and then save your changes.
When you want to change a field type from date to DateTime, the system should allow this with no loss of data. If I have a Date field, and I convert it to DateTime, the system should append a 00:00:000 to the end of the new data. No data loss should happen in this case. Today the values are been cleared from the field.
Solution : Use escape ="false" attribute with in <apex:outputtext> . Example: In this example I have created Rich Text field in lead object as Rich Text Area field as shown in image below. Also Created Lead Record as shown in image below.
Top 5 Causes of Data Loss in Salesforce
- Accidental or malicious deletion can occur when a user inadvertently or intentionally deletes one or more records.
- Bad code can make incorrect changes to many records.
- Data import gone wrong will have a far reaching impact.
- SOQL mistake can happen in an instant.
Fields Available for Reports
- Select the object on the right window.
- Click "Add Fields Related Via Lookup".
- Click the lookup field in the current object. You can now see the fields from the lookup object.
- Select the fields you would like to add and click OK.
Standard report types cannot be customized, and automatically include standard and custom fields for each object within the report type. Custom report types are added by an administrator. Within a custom report type, you can specify which objects and fields are included in the report.
Go to Setup > Create > Report Types. Click on your Custom Report Type. At the bottom under Fields Available for Reports click Edit Layout. Then drag and drop the fields you want to display on report from right hand side panel and save it.
First check the Business requirement and try to search for enhacement points --> once the yellow bar/Line appears right click and create a enhancement and add your own code. write the code where ever necessary to show the extra fields.
Custom summary formula is a powerful reporting technique used to create summaries of your numerical fields. This only available for summary, matrix, and joined reports.
- Click the box under the primary object.
- Select a child object. Only related objects are shown.
- For each child object, select one of the following criteria: Each "A" record must have at least one related "B" record.
- Add up to three child objects. The number of children depends on the objects you choose.
- Click Save.
To add or remove fields from the report type, to group the fields into sections or set default fields, or to change field labels, click on "Edit Layout".
To add a column, double-click the additional field from the Fields pane, and reorder the columns if you want to. To remove a column, click the column and select Remove Column.