Showing posts with label App Launcher. Show all posts
Showing posts with label App Launcher. Show all posts

Tuesday, July 4, 2017

Salesforce Administrator Beginner - Lightning Experience

An app is a collection of items that work together to serve a particular function. In Lightning Experience, Lightning apps give your users access to sets of objects, tabs, and other items all in one convenient bundle in the navigation bar.
Lightning apps let you brand your apps with a custom color and logo. You can even include a utility bar and Lightning page tabs in your Lightning app. Members of your org can work more efficiently by easily switching between apps. What’s most important to sales reps? Accounts, events, and organizations. How about sales managers? Reports and dashboards make the top of the list.
So what things can you put in a Lightning app?
  • Most standard objects, including Home, the main Chatter feed, Groups, and People
  • Your org’s custom objects
  • Visualforce tabs
  • Lightning component tabs
  • Canvas apps via Visualforce tabs
  • Web tabs
You can even include Lightning page tabs and utilities like Lightning Voice. If your org uses utility features, you can enable a utility bar in your app that allows instant access to productivity tools, like integrated voice, in the Lightning Experience footer.
You can also build your own on-demand apps by grouping items into new custom apps.
To switch between apps, users can use the App Launcher. This makes it easy for users to switch contexts and still have access to the items, objects, and pages they need most.
The App Manager is your go-to place for managing apps for Lightning Experience. It shows all your connected apps and Salesforce apps.
Use the Lightning Experience App Manager to:
  • View all your Salesforce apps.
  • Create Lightning apps or connected apps (1).
  • See which apps are visible in Lightning Experience (2).
  • Easily manage apps (3).
Click a column header to sort the list based on that column.

You can see in the App Manager that there are two types of apps: Classic and Lightning. A checkmark in the Visible in Lightning column means that the app is accessible in Lightning Experience via the App Launcher and is fully functional. Classic apps marked as visible in Lightning Experience are fully usable in Lightning Experience, but they don’t take advantage of the app enhancements that Lightning Experience offers.

Did you know that app images for Lightning apps can be animated GIFs? Oh yes, they can. You're welcome.

It’s time for the fun part: deciding how to set up Lightning apps for your users. Here are some tips for planning Lightning apps for your org.
Talk to your users. Ask them what their priorities are. Customizing tabs in apps gives you a unique opportunity to engage with your users. Each group of users has its own priorities. Find out which objects and items represent their highest priorities.
  • Ask users to post feedback to a Chatter group.
  • Publish polls.
  • Schedule lunch sessions. Everyone likes a free lunch, and nearly everybody is happy to express their opinion.
Create a master list of objects that everyone in your org wants. Then trim down the list for each group—sales reps, sales managers, execs, and so on. The menus for every user group share some common objects, like Home, Tasks, and Feed. Keep the high-priority items for each group at the top. Put low-priority items at the bottom, or remove them altogether. Users can always go to the App Launcher to get the items they use less often.
List views are a way for you to browse a select set of records in Salesforce. When you click an object tab, you see a list of the records associated with that object. Every user can create their own custom list views for their own needs.
In list views you see only the data that you have access to. You see records that you own or have read or write access to, and records shared with you. List views also include records owned by or shared with users in roles below you in the role hierarchy.
You can collapse and expand the filter pane by clicking list view filters icon. You can change who can see the list view by clicking List View Controls and selecting Sharing Settings.
You can edit record fields directly from within a list view. Editable cells display a pencil icon (Editable Field) when you hover over the cell, while non-editable cells display a lock icon (Uneditable Field).
List view charts help you visualize your list view data. The aggregate type specifies how the field data is calculated: by sum, count, or average. The aggregate field specifies the type of data to calculate. The grouping field labels the chart segments.
When you create a list view chart for an object, such as Opportunities or Leads, the chart is associated with the object. The chart is available for any list view that you have permission to see for that object, except the Recently Viewed list.
Compact layouts control which fields your users see in the highlights panel at the top of a record. Compact layouts also control the fields that appear in the expanded lookup card you see when you hover over a link in record details.
Compact layouts help make your team more productive by presenting them with the key record information so they can easily manage their work. For example, show phone numbers and regions on an account. Or, show stages, amounts, and ownership fields on an opportunity. With compact layouts, you can highlight whatever your users need to see at a glance when they look at a record.
Compact layouts also control how records display in the Salesforce1 mobile app. If your company uses Salesforce1, you’ll also help your users see what they need on mobile screens, where space is limited and quick recognition of records is important.
There are two ways to customize a page in Lightning Experience. You can customize a page’s layout, or customize its contents. These are done with separate tools.
Lightning pages are a collection of Lightning components arranged in regions on the page. You can customize the layout of the page and the position of its components with the Lightning App Builder (learn more in the Lightning App Builder module right here on Trailhead).
You can customize a page’s contents, such as the fields and buttons that appear on the page, by using a different tool called the page layout editor. The page layout editor, also known as page layouts, helps you manage the content of pages in both our Classic UI and in Lightning Experience. The page layout editor is what we’ll be working with in this unit.
The page layout editor lets you:
  • Control which fields, lists of related records, and custom links users see
  • Customize the order that the fields appear in the page details
  • Determine whether fields are visible, read only, or required
  • Control which standard and custom buttons appear on records and related lists
  • Control which quick actions appear on the page


Customizing the fields on your record pages is easy, and you can do it with just a few clicks. The Enhanced Page Layout Editor is the go-to place for customizing a Lightning Experience record page’s fields and related lists. It’s called “enhanced” because there’s an earlier version of it. We’ll just refer to it as the page layout editor here.
The page layout editor has two basic parts: a palette on the upper portion of the screen (1) and the record’s page layout on the lower portion of the screen (2). The palette contains the basic elements—such as fields, actions, buttons, links, and related lists—that you can add and arrange on your page. 
The Highlights Panel section in the page layout editor controls the highlights panel on pages in our Classic UI. It’s of no use to us in Lightning Experience.
Wondering what the icons mean to the left of some of the field labels?
  • Missing Value in Field icon―The field must have a value to save the record, but isn’t required on the page layout itself.
  • Field Must be Included icon―The field must be included on the page layout because either an administrator configured the field as universally required or Salesforce automatically requires the field. Although you can’t remove such fields, you can move them to different locations.
  • Controlling Field icon―The field is a controlling field.
  • Dependent Field icon―The field is a dependent field.
  • Read-only icon―The field is read only.
You can assign page layouts to different user profiles. For example, you can create a customized page layout for managers and another page layout for standard users. To change page layout assignments, click Page Layout Assignment and then click Edit Assignment.
Custom links can link to an external URL, such as www.google.com, a Visualforce page, or your company’s intranet. Custom buttons can connect users to external applications, such as web pages, and launch custom links.
You can choose the display window properties that determine how the target of a link or button is displayed to your users. Custom links can include Salesforce fields as tokens within the URL. For example, you can include an account name in a URL that searches Yahoo: http://search.yahoo.com/bin/search?p={!Account_Name}.
If you want the button or link to launch a custom page or other code, consider a Visualforce page.
In Lightning Experience, custom buttons and links live on your page layouts and appear in different areas of a Lightning page.
There are three primary types of custom buttons and links that you can create.
  • List button—Appears on a related list on an object record page.
  • Detail page link—Appears in the Links section of the record details on an object record page.
  • Detail page button—Appears in the action menu in the highlights panel of a record page.
For each type, you must define the action that occurs when a user clicks it.
A custom list button is a button that you can add to a related list. When you create a list button for an object, you can add that button to that object’s related list when it appears on other objects.

Actions let your users quickly do tasks, such as create records, log calls, send emails, and more. With custom actions, you can make your users’ navigation and workflow as smooth as possible by giving them quick access to information that’s most important.

When thinking about what actions you might want to create, ask your users what they really wish they could do. For example, you might create an Emergency Order action for your food service company that allows delivery drivers to immediately order extra or missing food items. Creating actions that your users need can drive adoption in your organization and make you a hero to your users!
Quick actions come in two different flavors:

Object-specific actions


Object-specific actions have automatic relationships to other records and let users quickly create or update records, log calls, send emails, and more, in the context of a particular object. For example, you add an object-specific action on the Account object that creates contacts. If a user creates a contact with that action on the detail page for the Acme account, that new contact is automatically associated with Acme. Object-specific actions live on the page layout for the object.
There are several types of object-specific actions.
  • Object-specific create actions create records that are automatically associated with related records.
  • Object-specific update actions make it easy for users to edit records. You can define the fields that are available for update.
  • Object-specific Log a Call actions let users enter notes about calls, meetings, or other interactions that are related to a specific record.
  • Object-specific custom actions invoke Lightning components, Visualforce pages, or canvas apps that let users interact with or create records that have a relationship to an object record. If you’re new to Visualforce, don’t worry. You can learn all about it in another module. For now, remember that Visualforce pages allow you to do really cool customizations in your actions.
  • Send email actions, available only on cases, give users access to a simplified version of the Case Feed Email action on Salesforce1.
Global actions
You create global actions in a different place in Setup than you create object-specific actions. They’re called global actions because they can be put anywhere actions are supported. Use global actions to let users log call details, create or update records, or send email, all without leaving the page they’re on.
Global actions live on a special layout of their own, known as the global publisher layout. It isn’t associated with an object, and it populates the global actions menu in Lightning Experience. Users can access the global actions menu by clicking Global Actions menu icon in the Salesforce header.
If an object page layout isn’t customized with actions, then the actions on those object record pages are inherited from the global publisher layout.
There are more types of actions than just these two, but some of them aren’t customizable. We’re going to explore only object-specific and global actions in this unit.
You might see actions referred to as “quick actions” in Salesforce. It’s true, they’re quick and your users will love them. The quick part is just a category and means that the action is either object-specific or global and not some other kind of Salesforce action.
After you create the action, you can customize its layout using the action layout editor. It’s like the page layout editor but for actions. With the action layout editor, you can customize the fields the users must populate to complete the action.
Just like the page layout editor, the upper part of the action layout editor contains a palette, and below it is the action layout. The palette contains fields from the action’s target object that you can add to the action layout.
Each field on this action layout has a red asterisk, indicating that it’s a required field. Required fields are added to an action layout by default when you create the action. If you remove a required field from an action layout, then users can’t successfully complete the action. 
There are two actions sections on a page layout. The Quick Actions in the Salesforce Classic Publisher section controls which actions appear on record pages in the Salesforce Classic UI. The Salesforce1 and Lightning Experience Actions section controls which actions appear on record pages in both Lightning Experience and in Salesforce1.
If you don’t customize the action sections of a page layout, then the actions you see in Salesforce1 and Lightning Experience come from a set of default actions defined by Salesforce.
Global actions live on a special layout of their own, known as the global publisher layout. The global publisher layout populates the global actions menu. Click global actions menu icon to check out the global actions menu.

Saturday, July 1, 2017

Salesforce Admin Beginner - Salesforce Platform Basics

  1. An app in Salesforce is a set of objects, fields, and other functionality that supports a business process. You can see which app you’re using and switch between apps using the App Launcher.
  2. Objects are tables in the Salesforce database that store a particular kind of information. There are standard objects like Accounts and Contacts and custom objects like the Property object you see in the graphic.
  3. Records are rows in object database tables. Records are the actual data associated with an object. Here, the 211 Charles Street property is a record.
  4. Fields are columns in object database tables. Both standard and custom objects have fields. On our Property object, we have fields like Address and Price.
Another important term that’s hard to capture in a picture is org. Org is short for organization, and it refers to a specific instance of Salesforce. The image here is taken from DreamHouse’s org. Your company can have one or multiple orgs.

Developing without code is known as declarative development. With declarative development, you use forms and drag-and-drop tools to perform powerful customization tasks. The platform also offers programmatic development, which uses things like Lightning components, Apex code, and Visualforce pages. But if you’re not a programmer, you can still build some amazing things on the platform.

By creating a single custom object, you can totally change how your organization collaborates. High impact, low effort. As you start building with the platform, keep your eye out for processes with:
  • Heavy email collaboration
  • Reliance on spreadsheets
  • Shared local documents
  • Time-intensive, repetitive manual steps
  • Impact on only a few departments (you want to minimize the number of stakeholders while you’re still learning)
Processes with these traits are great candidates for early projects on the Salesforce platform.
Using the Salesforce platform, We can create a custom app that helps company’s HR employees streamline and automate the hiring and onboarding process. Here are some things the custom app can do.
  • List job openings.
  • Store applicants for each job opening.
  • Send automated reminders to hiring managers.
  • Store orientation and training plans.
  • Manage equipment orders.
  • Track employee time off.
Like any app built on the platform, the HR app we create is available for the Salesforce1 mobile app.
When you build your IT ticketing system in the same place as your CRM, you get a lot of benefits. All your users and their information are already there. You can track cases per user and promote collaboration between IT and employees. Here are some other ways to streamline IT using the Salesforce platform:
  • Create reports and dashboard to aggregate and analyze requests.
  • Send confirmation emails when requests are received, completed, or updated.
  • Queue incoming requests.
  • Create custom forms for employee requests and create a knowledge base for common issues.
  • Track employee hardware assets.
Here are a few use cases for different departments.
Finance
  • Budget management
  • Contract management
  • Pricing
Product
  • Warranty management
  • Preproduction testing
  • Product ideas and innovation
Supply Chain
  • Procurement
  • Vendor management
  • Logistics
Ops
  • Asset and facilities management
  • Merger and acquisition enablement
  • Business agility
When you think about the Salesforce architecture, imagine a series of layers that sit on top of each other. Sometimes it helps to think of it as a cake because cake is delicious, and it makes everything better.
There’s a lot to unpack here, but let’s focus on the most important points.
  • Salesforce is a cloud company. Everything we offer resides in the trusted, multitenant cloud.
  • The Salesforce platform is the foundation of our services. It’s powered by metadata and made up of different parts, like data services, artificial intelligence, and robust APIs for development.
  • All our apps sit on top of the platform. Our prebuilt offerings like Sales Cloud and Marketing Cloud, along with apps you build using the platform, have consistent, powerful functionality.
  • Everything is integrated. Our platform technologies like Einstein predictive intelligence and the Lightning framework for development are built into everything we offer and everything you build.
There are few terms in here that are extra important for you to understand: trust, multitenancy, metadata, and the API.
At Salesforce, trust is our top priority. Not only are you keeping your sensitive data in your org, you’re also building functionality vital to your company’s success on our platform. Our responsibility to keep your data and functionality safe is not something we take lightly, which is why we’re always transparent about our services.
Our trust site, trust.salesforce.com, is a vital resource. You can use it to view performance data and get more information about how we secure your data. It also shows you any planned maintenance we’ll be performing that might impact your access to Salesforce.
Salesforce is set up more like an apartment building. Your company has its own space in the cloud, but you have all kinds of neighbors, from mom-and-pop shops to multinational corporations.
This idea is multitenancy. Salesforce provides a core set of services to all our customers in the multitenant cloud. No matter the size of your business, you get access to the same computing power, data storage, and core features.
Trust and multitenancy go hand in hand. Despite the fact that you’re sharing space with other companies, you can trust Salesforce to keep your data secure. You can also trust that you’re getting the latest and greatest features with automatic, seamless upgrades three times a year. Since Salesforce is a cloud service, you never have to install new features or worry about your hardware. All this is possible because of multitenancy.
Metadata is data about data.  When we say data about data, we’re really talking about the structure of your Salesforce org.
Let’s think about an object like Property. When our friends at DreamHouse use Salesforce, they input and view data about properties. For example, a property can be located in Boston, cost $500,000, and have 3 bedrooms.
Now, imagine you stripped away all that specific data. What are you left with? You are left with the Property object along with all its fields, like address, price, and number of bedrooms. You can also have page layouts, security settings, and any other customizations you’ve made.
All of these standard and custom configurations, functionality, and code in your org are metadata. Part of the reason you can move so fast on the platform is that Salesforce knows how to store and serve you that metadata immediately after you create it.
APIs allow different pieces of software to connect to each other and exchange information.
If that sounds kind of abstract, take a quick look at the computer you’re working on right now. You can probably find a series of ports of various shapes and sizes that support different kinds of connections. These are like the hardware version of APIs. You don’t have to know how the USB port works. All you have to understand is that when you plug your phone into a USB port, it passes information to your computer.
APIs are similar. Without knowing the details, you can connect your apps with other apps or software systems. The underlying technology takes care of the specifics of how information passes throughout the system.
When you add a custom object or field, the platform automatically creates an API name that serves as an access point between your org and the database. Salesforce uses that API name to retrieve the metadata and data you’re looking for.
For example, we can use a contact’s Name field in a bunch of places, like the Salesforce1 mobile app, a custom page, or even an email template. That’s all possible because of the API name.
The core of the API’s power is that all of your data and metadata is API enabled. This might not seem like a big deal right now, but the API gives Salesforce insane flexibility. And we mean insane.
While it’s truly amazing that you can integrate your Salesforce data with Minecraft, there are also many practical applications for the API. Every time you use Salesforce, whether you’re using standard functionality or building a custom app, you’re interacting with the API.

There are three main categories in the Setup menu: Administration, Platform Tools, and Settings. Let’s take a look at what’s available.


  • Administration: The Administration category is where you manage your users and data. You can do things like add users, change permissions, import and export data, and create email templates.
  • Platform Tools: You do most of your customization in Platform Tools. You can view and manage your data model, create apps, modify the user interface, and deploy new features to your users. If you decide to try your hand at programmatic development, Platform Tools is where you manage your code as well.
  • Settings: Finally, Settings is where you manage your company information and org security. You can do things like add business hours, change your locale, and view your org’s history.
1   Company Information
  • At-a-glance view of your org
  • Find your org ID
  • See your licensing information
  • Monitor important limits like data and file usage
2 Users
  • Reset passwords
  • Create new users and deactivate or freeze existing users
  • View information about your users
3 Profiles
  • Manage who can see what with user profiles
  • Create custom profiles
4 View Setup Audit Trail
  • See 6 months of change history in your org
  • Find out who made changes and when
  • Tool for troubleshooting org configuration issues
5 Login History
  • See 6 months of login history for your org
  • View date, time, user, IP address, and more login data
  • Use for security tracking and adoption monitoring
Salesforce has a community of partners that use the flexibility of the Salesforce platform to build amazing apps that anyone can use. These apps are available (some for free, some at a cost) for installation on AppExchange.

Follow these steps to develop a good AppExchange strategy.
  1. Identify departments that use or plan to use Salesforce. These are your primary stakeholders.
  2. Research what’s available on AppExchange that best meets your stakeholder requirements. Discuss business cases with department heads to determine exact needs. Here are some good questions to ask:
    1. What business problem are you trying to solve?
    2. What are your main pain points right now?
    3. How many users need this app?
    4. What’s your budget?
    5. What’s your time line?
    These questions help you identify apps that are the best fit for each department or business case.
  3. When you find an app that you think meets your needs, download the app in a test environment (like a free Developer Edition or sandbox). Ensure that the app you’re installing doesn’t interfere with any other apps you’ve installed or customizations you’ve made.
  4. If you’re choosing between multiple apps, take some time to evaluate what you’ve tested. Determine whether there are feature gaps or unwanted functionality. If necessary, invite your stakeholders to demo the apps and provide feedback.
  5. You’re ready to go! You’ll install and deploy your app in your production environment. Make sure you keep your users in the loop about what’s changing, and provide training and documentation as necessary.
Sandboxes are copies of your organization in a separate environment. They’re used for development and testing. See Sandbox Overview.
Apps are installed using something called a package. To find the package:
  1. From Setup, search and select Installed Packages in the Quick Find box.
  2. Click the name of the package you installed. It will be the same name from the AppExchange download page.
  3. Click View Components to see more information about the package. The Package Details page shows you all the components, including custom fields, custom objects, and Apex classes in the package. This information helps you determine whether you have any conflicts in your own customizations.
As you start to explore AppExchange, be sure to check out free apps provided by Salesforce Labs. The great thing about Salesforce Labs apps, other than that they’re free, is that they’re open source. You can customize them as needed and peek under the hood to see how they work. It’s a great way to learn more about how the platform works.

Lightning Inter-Component Communication Patterns

Lightning Inter-Component Communication Patterns If you’re comfortable with how a Lightning Component works and want to build producti...