Blogs
-
Exporting To Excel With Multiple Worksheets In Visualforce
To create an Excel file with multiple worksheets, XML tags are required. These XML tags can be combined with Visualforce tags. Utilizing styles such as color, size, and height allows for formatting the cells within the Excel sheet. For detailed reference on XML spreadsheets, please refer to the documentation. XML Spreadsheet Reference Click for Demo…
-
The Immediate Attribute of CommandButton And CommandLink In Visualforce
This attribute is primarily used to bypass the firing of validation rules during server requests. It’s a Boolean value that dictates whether the action linked with this component should occur instantly, disregarding any validation rules related to the page’s fields. When set to true, the action occurs immediately, skipping validation rules. If left unspecified, it…
-
Trigger on Attachment Object in Salesforce
Often, there’s a query about how to create a trigger on Attachment in Salesforce. Specifically, for standard objects like Attachment, ContentDocument, and Note, triggers can’t be created via the Salesforce user interface. However, these triggers can be developed using tools such as the Developer Console or the Force.com IDE. Another option is utilizing the Metadata…