Vineet Bhagchandani

Salesforce Certified Developer and Salesforce Evangelist

Use Visualforce Remoting in Salesforce

Visualforce Remote Objects is an effective tool for quickly adding simple data operations to Visualforce pages. Visualforce Remote Objects are proxy objects that allow basic DML operations on sObjects directly from JavaScript. The Remote Objects controller handles sharing rules, field-level security, and other data accessibility concerns. Pages that use Remote Objects are subject to all…

Using apex:repeat in Visualforce Page

apex:repeat is an iteration component that allows us to output the contents of a collection according to a structure that you specify. The collection can include up to 1,000 items. Note: If apex:repeat is used within an <apex:pageBlockSection> or <apex:panelGrid> component, all content generated by a child <apex:repeat> component is placed in a single <apex:pageBlockSection> or…

Apex:Insert in Visualforce

apex:Insert is a template component that declares a named area that must be defined by an <apex:define> component in another Visualforce page. Use this component with the <apex:composition> and <apex:define> components to share data between multiple pages. Sometimes we have a situation that we need to share the same data between multiple pages with some modifications. In order to achieve that…

Apex:PanelBar in Visualforce

Apex:PanelBar is a component that contains a page area that includes one or more <apex:panelBarItem> tags that can expand when a user clicks the associated header. When an <apex:panelBarItem> is expanded, the header and the content of the item are displayed while the content of all other items are hidden. When another <apex:panelBarItem> is expanded, the content of the original item…