When it comes to the Lightning Component modern framework, it is essentially a user interface framework. It is an important addition to Salesforce Lightning. It is used to develop any dynamic web page for mobile as well as desktop devices. With each release like always, its recent Winter’18 release comes with rich features. It includes recently added Lightning Component features.
At present, this release is actually available under the pre-release program. On 8th and 9th September, Sandboxes will be upgraded. Due to this, your company will get the appearance as well as aesthetics of Winter’18 release.
In case you haven’t read the complete 559 pages of Winder’16 release then you should look for its summary. We have written top Lightning Experience Essential points of the Salesforce Winter’18 release.
We have gone through the release notes. We have duly highlighted the extra capabilities provided by the Lightning Component features. We will discuss few of its top features.
The most important one is about building great user interfaces with recent Base Lightning Components. This will allow you to increase the process of development. This is achieved due to 30 new in-built Lightning components. These new components essentially cover a wide range of user interface elements. It also gives a new pack of tools for Salesforce development. The major components are duly mentioned below. It is important to note that these features essentially require API version 41.0 or later.
First is lightning:datable. It will allow the developer to display the table. The table will have columns of data which is formatted as per the type.
Second is lightning:checkboxGroup. It will show a checkbox group. This will allow selection of single as well as multiple checkboxes.
On third, it is lightning:dualListbox. It will show two side-by-side list boxes. You can select one or more than one option in the list on the left. You can move selected options to the right side of the list.
The fourth one is lightning:fileUpload(Beta). It provides the user with the ability to upload many files to a record. This file uploader comes with drag-and-drop functionality along with filtering by file types.
The fifth one is lightning:flow. It allows you to add flows to custom components along with apps by using this component.
The last one is lightning: progressIndicator(Beta). It is now allowed to create a visual indication on particular process progress. It allows you to create two different types of indicators. They are base(default) or path.
Another salient feature is the ability to create Custom Page templates. It allows you to get beyond standard templates which are available for Lightning records, apps as well as Home pages. You can consider your present business requirement and create a custom template. This template can have its own structure and components which you can define. You are allowed to add many regions as per your requirement which includes custom styling.
Another major feature of this release is the introduction of Lightning Data Service. Many Salesforce implementation partners are implementing this feature in their development. This allows you to record operation without any requirement of Apex Code. You can utilize Lightning Data Service or LDS for many purposes. These are to load, create as well as edit or delete any record in your component without requiring the use of Apex code. The LDS is alternative to Visualforce standard controller. It provides access to the data which is displayed on a page. This improves the performance as well as data consistency across all of your components.
Without LDS, each component present within an app can make independent server calls. These calls are made to perform CRUD operations on a record. This action is done even if entire component apps collection pulls from the same record data. Each redundant server which calls reduces performance. It can also lead to inconsistencies. It can create situations where a server call refreshes one component while leaving other components outdated.
LSD also identifies and eliminates such requests. The request involves the same record data. It includes sending a single shared data request which updates all the essential components. This feature eliminates situations where components can provide inconsistent data. It also performs as a publisher hub which notifies the components of any data changes.
The last major feature that we include is translating Lightning Component Tabs. It is essential for marketing cloud. The Translation Workbench now provides support the translation of the names of tabs of the Lightning component. You can translate the names of these component tabs for all languages which it supports. This allows the user as well as customers to work in their favorite language. In case a translated version is available, this Lightning component tab names essentially display in the current user language.
In order to translate individual tabs, you can use Translation Workbench | Translate. First, you have to select the language. Now you have to choose the Web Tab for Setup Component. These tabs are duly available to translate which are displayed in a list.