Using S.Control's for UI (User Interface) The tool that allows application developers to display custom links (HTML) in a detail page or custom tab, this provides more flexibility for the fields and page layouts. But
Note: S.control's are suppressed by VF pages (Visual Force).After March 2010 organizations that have never created S.Control's as well as new organizations, won't be allowed to create them Existing S.Control's will remain and can still be edited. These are the reasons why VF pages came in to existence; these are next generation solutions for building sophisticated user interfaces on the Force.com platform.
VF is a frame work that allows developers to build sophisticated, custom user interfaces that can be hosted natively on the Force.com platform. This includes a tag based markup language, similar to HTML. In VF markup language each VF tag corresponds to a coarse or fine-gained users interface components such as
The behavior of VF components can be controlled by the same logic that is used in standard SF pages, or developer can associated their own logic with a controller class written in APEX.
Inclined to build a profession as Salesforce APEX Developer? Then here is the blog post on Salesforce Training and Certification.
EX:-
Tag in VF are <apex:page> <apex:page Block> <apex:page Block Buttons> <apex: page Block section> ` <apex:page Block section Item> <apex:page Block Table> ------> Tags related to a page tags
<apex:inputcheckbox> <apex:inputField> <apex:input File> <apex:inputHidden> <apex:inputsecret> <apex:input text > <apex:input text area>
<apex:selectioncheckbox> <apex:Selection list> <apex:selectoption> <apex:select options> <apex:select Radio> <apex:variable> <apex:vote>
<apex:output Field> <apex:output label> <apex:output link> <apex:output pannel> <apex:output text>
Like this there are around 90 tags in VF and each tag full fills request such as defining a page, page block field, toolbar these tags can be divided into
Using these tags developers can create a VF page definition. It consists of two primary elements. VF Markup ---> AVF ---> Controller
Visual force Markup consists of VF tags, HTML, JavaScript and many other web-enabled code embedded within a single <apex: page>tag. This defines the user interface components that should be include on the pages, and the way they should appear.
VF controller is a set of instructions that specifies what happens when a user interacts with UI components specified by VF markup, (such as when user clicks on the button on link).controller also provides access to the data that should be displayed on the page, and can modify component behavior.
A developer can use a standard controller consists of the same functionality and logic that is used for a standard salesforce page.
Note: If we use the standard Account controller, clicking a save button in VF page results in same behavior as clicking save button on Account edit page Using page layouts, we cannot have access to the objects in standard field, and display's an error called as insufficient privileges error message, we can avoid this by checking the user's accessibility for an object and displaying component approximately.
Extensions allow us to leverage the functionality of another controller while adding your own logic. Visual Pages Force can be used: Developer can use VF pages to
You liked the article?
Like : 0
Vote for difficulty
Current difficulty (Avg): Medium
1/6
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.
Stay Updated
Get stories of change makers and innovators from the startup ecosystem in your inbox