Lightning Connect in Salesforce not available

Lightning Connect in Salesforce not available, then contact Salesforce.com support to enable it.

If you are in a Developer Edition, then it will show up.

If you are in a sandbox or in a production instance, you will need to reach out to Salesforce.com support team and purchase lightning connect license in order to use it.

Cheers!!!

How to know Salesforce server instance

1. Go to "https://status.salesforce.com/status".

2. Click "My Domain" in the right top corner.

3. Enter the domain name and click "Search".


For more information, check the below link

https://help.salesforce.com/apex/HTViewSolution?id=000002889&language=en_US

Cheers!!!

How to query history object in Salesforce?

Sample Query:

SELECT Id, OldValue, NewValue FROM AccountHistory

Cheers!!!

Salesforce Interview Questions with Answers Part 38

1. How to avoid other fields that are made as required in the VF page stopping to call an action in the apex using apex:actionSupport?

Use apex:actionRegion tag.

2. How to get records which are modified in last 5 days in Salesforce?

http://www.infallibletechie.com/2016/09/how-to-get-records-which-are-modified.html

3. How to query data which was modified in specific time limit in Salesforce?

http://www.infallibletechie.com/2016/09/how-to-query-data-which-was-modified-in.html

4. Custom meta data types.

http://www.infallibletechie.com/2015/11/custom-metadata-types.html

5. Custom metadata type api name?

Example: Employee_Setting__mdt

6. How to relate one metadata type to another?

Use Metadata Relationship field.

7. Field Manageability in Custom Metadata type.

When it comes to protecting fields on custom metadata types, you have three options.

Upgradeable—The package developer can edit the field after release via package upgrades. Subscriber orgs can’t change the field.
Subscriber Editable—The subscriber org can edit the field after installing the package. Package upgrades don’t override the subscriber’s changes.
Locked After Release—The package developer nor the subscriber can edit the field after the package is released.

8. Lightning Design System

The Design System makes it easy for you to build applications that comply with the new Salesforce Lightning look and feel without reverse engineering the UI as custom CSS.

9. Lightning Out 

Lightning Out is a feature that extends Lightning Apps. It acts as a bridge to surface Lightning Components in any remote web container. This means you can use your Lightning Components inside of an external site (that is, Sharepoint or SAP), in a hybrid app built with the Mobile SDK, or even elsewhere in the App Cloud like on Heroku.

10. What is Expression in Salesforce lightning?

An expression is any set of literal values, variables, sub-expressions, or operators that can be resolved to a single value.

Examples:
{!v.varName}
{!Hello + v.attributeName}

You can’t use JavaScript in expressions in Lightning Components markup.

11. Value Providers in Salesforce lightning.

{!v.attributeName}

v is something called a value provider. Value providers are a way to group, encapsulate, and access related data.

12. Is Lightning Components built on the MVC pattern?

No. There are similarities, to be sure, but it would be more correct to say that Lightning Components is View-Controller-Controller-Model, or perhaps View-Controller-Controller-Database.

13. Why is “controller” doubled up in that pattern name in Lightning? 

Because when interacting with Salesforce, your components will have a server-side controller in addition to the client-side controller we’ve worked with in this unit. This dual controller design is the key difference between Lightning Components and MVC.

14. What’s the distinction between “model” and “database”? 

In traditional MVC, the model is a programmatic abstraction between the underlying data storage (usually a relational database) and the rest of the application. In Lightning Components, there’s no Apex class that directly stands in between @AuraEnabled controller methods and DML operations.

15. How to encode the special characters for correct URL String using apex in Salesforce?

http://www.infallibletechie.com/2016/10/how-to-encode-special-characters-for.html

Cheers!!!

How to report on article type changes in Salesforce?

1. Enable Track Field History for Knowledge Article Type.


2. Click "Set History Tracking".


3. Select the fields to track and click "Save" button.

4. Create a custom report type with Primary Object as "Article Version History".

5. Create a report with the report type created in the previous step.


Cheers!!!

How to encode the special characters for correct URL String using apex in Salesforce?

Sample Code:

String strURL = 'www.test.com?name=#1solutions';
strURL = EncodingUtil.urlEncode(strURL, 'UTF-8');

EncodingUtil.urlEncode() encodes the special characters for correct URL String.

Cheers!!!

Post to This Record missing in Process builder

If "Post to This Record missing in Process builder", enable Feed Tracking for the object.

To know the step by step process for enabling Feed Tracking, check the below link

http://www.infallibletechie.com/2013/10/feed-tracking-in-salesforce.html

Cheers!!!

How to get current year using apex in Salesforce?

Sample Code:

Date dat = System.today();
Integer yr = dat.year();
System.debug('Year is ' + yr);

Cheers!!!

How to deploy Quick Action using ANT tool in Salesforce?

Sample Package.xml:

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">  
    <types>
<members>LogACall</members><!--Global Action --> <members>Task.TestingAction</members><!--Object Quick Action -->
<name>QuickAction</name>
    </types>
    <version>36.0</version>
</Package>

Cheers!!!

Salesforce Community Cloud Pricing

Salesforce Community Cloud Pricing depends upon the volume of usage.

Check the below link for Community Cloud Pricing in Salesforce

https://www.salesforce.com/products/community-cloud/pricing/

Cheers!!!

How to reset value for sObject variable in controller in Salesforce lightning component?

Sample Code:

component.set("v.newItem",{ 'sobjectType': 'Camping_Item__c',
                    'Name': '',
                    'Quantity__c': 0,
                    'Price__c': 0,
                    'Packed__c': false }/>);

Cheers!!!

How to set default values to variable in Salesforce lightning component?

Sample Code:

Component:

<aura:component >
    <aura:attribute name="newItem" type="Camping_Item__c"
    default="{ 'sobjectType': 'Camping_Item__c',
                    'Price__c': 0,
                    'Quantity__c': 0}"/>
</aura:component>

Cheers!!!

How to declare list of objects in Salesforce lightning Component?

Sample code:

Component:

<aura:component >
    <aura:attribute name="items" type="Account[]"/>
</aura:component>

Cheers!!!

How to use THIS operator in Style in Salesforce Lightning Component?

Sample Code:

Component:

<aura:component >
<H1>Testing Head Tag </H1>
</aura:component>

Style:

.THIS {    
}
H1.THIS {
font-size:18px;
}

Cheers!!!

Salesforce Winter ’17 Release

Send the Right Message with Salesforce Engage in Lightning

Be first, be relevant, be productive – with each and every prospect you speak to. Salesforce Engage provides the exact insights you need at the right moment, empowering you to:

effortlessly build tailored campaigns with marketing-curated content
deliver a phenomenal buyer experience
close deals faster

Sell Smarter with Quotes, Contracts, and Campaign Influence in Lightning Experience

When you enable Quotes in Lightning Experience, reps save time because they have the latest information right inside their quotes and their opportunities. They quickly create and edit quotes and quote line items, and then add the latest quote to an opportunity.

Freshen Up the Look of Leads, Campaigns, and Contracts with Kanban

Kanban in Lightning Experience is simple to access and use. When on a list view, select Kanban from the Display menu to get started. Advancing leads, campaigns, and contracts through the sales cycle is simple and fast. It’s also all drag-and-drop, which means fewer clicks.

Open CTI—Struck by Lightning

Open CTI has been struck by Lightning! Now your support agents can make and receive phone calls through Lightning Experience to close cases faster.

Picture Customer Service on Instagram

Picture this: Now your service team can support customers directly on Instagram. Respond to customers on the channels they prefer—including Instagram.

Boost Field Service into Communities

Show your customers and partners even more love by adding field service data to your web communities. Now customers can schedule appointments and partners can check on work orders right from a community.

Fire Up Customers with Journey Builder in Lightning

Journey Builder is a powerful tool that helps you design and automate marketing plans over multiple communication channels. You can use it to reach your customers at each stage of your campaign.

The new user interface is colorful, easy to read, and features a declarative builder. Drag-and-drop components to quickly place interactions, activities, and flows along your customer path.

Send Email on the Go with the Marketing Cloud Mobile App

Email Studio provides you with the latest and greatest tools for managing your email campaigns. You can schedule and manage your emails all in one nifty tool. Last release, we brought you Email Studio integration with Content Builder, our content management system.

And with Winter ’17, we’re bringing some of your favorite capabilities to your iOS-compatible mobile devices. Now the email send flow you’re accustomed to on your desktop is available on your phone or tablet.

Expand Your Reach with Facebook Advanced Match

Facebook Advanced Match is easy to use. The drag-nd-drop configuration interface lets quickly map source attributes to the corresponding Facebook attributes.

Rebrand with Theme Layouts in Lightning Communities

Rebrand your communities in a flash with theme layouts. Now you can create and apply a custom community theme to match the look and feel of your brand in less time than it takes to say, “Lightning community custom theme layouts.”

Live It Up with Chatter Live Feeds

Chatter has now gone live in Lightning Experience! That means you and your teams can have real-time conversations to accelerate productivity—without having to refresh a browser.

Enjoy Customized Data Views with Wave for Sales 2.0

When it comes to dashboards that help you make important decisions, one-size-fits-all just doesn’t cut it. That’s why we’ve redesigned Sales Wave Analytics to include customized, intuitive, and fast-to-navigate dashboards for every sales user.

Rev Up Your Analytics Engines with the New Wave Dashboard Designer

The generally available version of the Wave dashboard designer, previously known as “flex dashboard designer,” contains significant enhancements that help even novice users quickly and easily build responsive dashboards for different devices.

Uncover Hidden Insights with Trending in Wave

Unearthing data insight shouldn’t be a treasure hunt. And you shouldn’t have to leave Salesforce to do it. That’s why Salesforce Wave now includes trending in wave, the fast and easy way to visualize and share insights into trends hidden in your Salesforce data. No treasure map required.

Reach New Heights with Enhanced Lightning Navigation and Customization

In addition to moving the nav bar, we’ve also added dropdown menus to tabs so you can access recent records and lists with a single click.

We’ve also updated the look and feel of the App Launcher. You no longer need eyes like a hawk to figure out which app you’re working in because the app’s name is right in the nav bar. You can access and swiftly switch between apps by clicking on the active app in the nav bar to open the App Launcher. You can also see all the objects and other items associated with that app.

Another fly feature of the updated app launcher is the AppExchange button up top. Not only does it make it easier to get to AppExchange from anywhere in your org, but watch what happens when you click it.

List views are a foundational part of working in Salesforce. We’re very excited to introduce two big improvements to list views in Winter ’17.

Let’s start with the first enhancement: Lightning Mass Actions. Mass actions are for those of us who don’t have time to perform the same action over and over again for every item in a list view. In other words, mass actions are for all of us.

This release, we’re bringing you two mass actions:
Add members to a campaign
Accept leads from a queue

Speed It Up with Lightning Developer Experience

A productive developer is a happy developer, and productivity is all the rage this winter. With this release you can expect more speed, beauty, and simplicity in your Lightning development.

Cheers!!!

Salesforce CPQ

A native Salesforce app that helps you and your team close deals even faster.

With Salesforce CPQ, you and your sales team can create quotes quickly, with minimal effort and minimal error.

Using Salesforce CPQ, you and your sales team can go from creating a new opportunity to handing the customer a quote in a matter of minutes. A faster, more controlled process means fewer errors, speedier closed deals, more accurate data, and more deals moving through the pipeline.

Salesforce CPQ can help turn your sales team into a lean, mean selling machine.

Salesforce CPQ simplifies product selection so you create quotes correctly the first time. As you’ll see, it does this in a variety of ways.

The business world is ever changing, and dynamic pricing in Salesforce CPQ gives you the flexibility you need to respond to that change.

Cheers!!!

What is the difference between Desk.com and Service Cloud console in Salesforce?

Desk.com is Case-Centric. Solving cases from different channels like Facebook, Twitter, etc. It is an all-in-one platform for responding to customer inquiries across multiple channels and providing online self-service content. Used for solving issues which are not connected to any.

Service Cloud console is Account-Centric. It needs full view of the customer. Used for solving issues which are connected.

Cheers!!!