Salesforce 2 -- Admin Beginner
14 Apr 2017 | SalesforceNotes from: https://trailhead.salesforce.com/trails All content from: https://trailhead.salesforce.com/trails
3. TRY TRAIL: Admin Beginner
1. Salesforce Platform Basics
- CRM : a place to store your customer data, processes to nurture and convert prospective customers, and ways to collaborate and engage
- Salesforce is CRM, it also includes the platform, where customers and partners can use our suite of technologies to build amazing, connected apps.
- Terminology
- Record: an item you are tracking in your database – a row on the spreadsheet.
- Field: a place where you store a value, like a name or address – a column on the spreadsheet.
- Object: a table in the database – a tab on the spreadsheet
- Org: short for “Organization”, the place where all your data, configuration, and customization lives – your instance of Salesforce. you and your user log in to access it.
- Force.com: The suite of configuration tools and programming languages, and APIs native to Salesforce, including Apex and Visualforce
- App: A set of fields, objects, permissions, and functionality to support a business process. Not a thing you download onto your phone.
- example: if you’re having an event and you want people to sign in, you could create an Event app in Salesforce. The process/entity becomes an object (‘Event’), and those columns become fields (‘Attendee Name’, ‘Title’, ‘Company’, ‘Email’) on the object.
- benefits:
- Get real-time access to data as it’s entered, via mobile or desktop.
- Create reports and dashboards to analyze attendees.
- Send follow up emails to attendees after the event.
- Relate attendees to marketing campaigns and sales information including order and purchase information.
- Engage with attendees in a community.
- Create automated processes to engage with the attendees over time.
- Take advantage of instant scalability, instant mobile access, secure data storage and backups.
- And much, much more
- An example using platform:
- scenario:
- solution: create a custom field for preferred phone number, and add a new section on the page layout [1] just for phone numbers and your new custom field.
- define declarative and programmatic development:
- Declarative refers to point-and-click functionality in Salesforce. It means that you can configure and customize Salesforce without writing code.
- Programmatic refers to code-driven functionality in Salesforce. It means that you can customize Salesforce using programmatic tools like Apex, Visualforce, and Lightning, and standard web technologies like JavaScript, CSS, and more.
- the golden rule is to always try to build with clicks before going to code, as it is more sustainable and maintainable moving forward.
- tips for identifying good processes to bring onto the platform
- reliance on spreadsheets
- Collaboration via email
- Documents shared on local file directories
- Time-intensive, manual steps
- Impact to a few departments maximum (just as you’re getting started; keeping your number of stakeholders to a minimum will help you make progress)
- Architecture
- Trusted Multitenant Cloud:
- protecting your data
- Using standard functionality in Salesforce, you get a fine degree of security control over everything from user and client authentication, through administrative permissions to the data access and sharing model.
- advantage of a multitenant cloud: all of our customers, from small businesses to enterprise companies, are on the same code-base and all get the benefits of the same features, functionality, and automatic upgrades 3 times a year. (Salesforce’s upgrades are automatic and seamless)
- The cloud also means we can deliver Software as a Service (SaaS), which is important because it means you don’t have to install a program to use Salesforce. You just need an internet connection to log in.
- Scalable metadata platform: the structure of your Salesforce org
- imagine all of that data has just been exported. The structure is still there, but the data itself is gone. What you’d have left, that underlying structure, that is the metadata. It’s all of your standard and custom functionality, and all of your configuration and code.
- Salesforce’s SaaS model means we make the metadata immediately available for development, configuration
- fast app dev and customization: There is no installation of hardware and software, and there are standard options for defining security and user access, creating reports, and making the app social and mobile.
- largest enterprise ecosystem
- complete CRM
- API (Application Programming Interface):
- it’s essentially a contract between two pieces of software, allowing them to connect to each other and exchange information (without knowing any of the inner details of how they work.)
- he API name is a unique identifier that the platform uses to determine what data or metadata you are trying to access.
- Trusted Multitenant Cloud:
- Setup:
- Setup consists of a tab bar, a navigational sidebar, and a main window.
- Setup Search uses type-ahead functionality to help you jump quickly to the item you want. advanced search
- If you’re not at your desk and you need to get your admin duties on, you can take Setup on the go with the SalesforceA mobile app.
- Username
- Super secret password
- ?? Correct instance: You can connect to a sandbox environment for testing purposes, or a custom domain if configured for your org
- trust.salesforce : The Recent System Status section shows information from trust.salesforce.com about your instance’s system performance over the last 24 hours.
- develop your AppExchange strategy: all from- https://trailhead.salesforce.com/trails/force_com_admin_beginner/modules/starting_force_com/units/starting_developer_console
- Identify the departments using Salesforce (either now or in the future). These are your primary stakeholders for AppExchange app installations.
- Research AppExchange apps for the business cases provided by your stakeholders. Interview your stakeholders thoroughly to gather the requirements needed to select and evaluate the apps.
- What business problem are you trying to solve?
- What are your main pain points at present?
- How many users?
- What is your budget?
- What is your timeline?
- Download apps into a sandbox or Developer Edition org for preview and testing. An important step is to ensure that the app you’re installing doesn’t interfere with any customizations you’ve done or other apps you’ve already installed.
- Sandboxes are copies of your organization in a separate environment. They are used for development and testing: https://help.salesforce.com/articleView?id=create_test_instance.htm&language=en_US&type=0 4 types: developer sandbox, dev pro sandbox(lager tata sets), partial copy sandbox(includes a sample of your production org’s data as defined by a sandbox template), full sandbox(support performance testing, load testing, and staging, a replica of your production org, including all data, But the length of the refresh interval makes it difficult to use Full sandboxes for development.) We recommend that you apply a sandbox template so that your sandbox contains only the records that you need for testing or other tasks.
- Evaluate your choices. Consider budget, app functionality, and any feature gaps. Consider inviting your stakeholders into the sandbox or Developer Edition org to preview the app functionality, or invite your stakeholders to a demo of the app.
- Execute and document. Prepare your users for the change in user experience (if any), including providing training or documentation as needed
- Install from AppExchange:
- In general, an AppExchange best practice is to install first in a sandbox or Developer Edition org. A few considerations:
- Some of the packages come bundled with custom fields, objects, Apex classes, and more.
- All of these customizations have names, which may conflict with existing names in your org.
- give permissions to admins only, all users, or specific profiles
- The AppExchange is a complete marketplace offering cloud-computing applications and consulting services
- In general, an AppExchange best practice is to install first in a sandbox or Developer Edition org. A few considerations:
2. Data Modeling
- There are two types of objects.
- Standard Objects—These are objects included with Salesforce, by default, for example the objects used to store data in standard tabs such as accounts, contacts, or opportunities.
- Custom Objects—These are new objects you create to store information unique to your organization. Custom objects extend the functionality that standard objects provide. For example, if you’re building an app to track product inventory, you can create custom objects called Merchandise and Invoices, as shown in the figure below.
- Objects can have relationship fields that define how records in one object relate to records in another object. These fields play the same role as primary and foreign keys in a database
- All attributes of an object are described with metadata, making it easy to create and modify records either through a visual interface or programmatically.
- Fields
- Identity Field:
- called ID
- manages the identity data in every record
- as a result you can view every record (across all objects) by simply using a URL of the above form
- eg: https://yourInstance.salesforce.com/0015000000Gv7qJ
- System Fields
- All objects have a number of read-only system fields automatically associated with them. eg: CreatedDate, LastModifiedById
- Name Fields:
- required field that has a special place in the life of the object
- It’s not required to be a unique identifier, but it is supposed to be the primary way users distinguish one record from another
- A name can be one of two types: a text string or an auto-number field.
- auto-number field, you must specify the format for the field and the starting number. Auto number fields increment by one each time a record is created.
- Custom Fields: . All fields in an object must be defined as a particular data type. more here: https://www.adminhero.com/a-primer-on-salesforce-fields-and-relationships/
- Relationship Fields: stores the ID of the parent record in a relationship
- Lookup: Lookup relationships can be used to create one-to-one and one-to-many relationships.
- Master-Detail:
- Master-detail relationships can be used whenever there is a tight binding between two objects.
- They can also be used to create many-many relationships.
- The master object in a master-detail relationship can also contain rollup summary fields : store values aggregated from the child records in the relationship
- Other Features of Objects
- formulas (rich expression ) - set up validation rules,create workflow rule criteria
- validation
- triggers, written in the Apex language
- Labels—Every object and record has a label and can include a description, for help, which is automatically included in the user interface.
- Notes and attachments
- Track Field History
- Identity Field:
- When create a new object and customize fields
- unique naming
- thoughtful architecture: the cleanest and most efficient way to capture data
- Default field values: Don’t assign default values to fields that are both required and unique, as this can cause uniqueness errors.
- Careful renaming
- Global data updates:
- help for users: help text of field and help page for an object
- When create object relationships:
- With relationships, you can display data about other related object records on a particular record’s detail page.
- A relationship field stores the ID of the parent record in a relationship, as well as optionally providing user interface representations in both the parent and child records.
- lookup – an example:
- a lookup relationship field on a job application object, reference position records.
- this will be reflected both with a new Position field on the job application record and with a new Job Applications related list on the position record
- You can also put multiple lookup relationship fields on a single object, which means that the Job Application object can also point to a Candidate object.
- master-detail: (created on obj-child/detail, related to obj-parent/master)the master record controls certain behaviors of the detail and subdetail record.
- the ownership and sharing of detail records are determined by the master record, and when you delete the master record, all of its detail records are automatically deleted along with it. Master-detail relationship fields are always required on detail records.
- For example, say your recruiting app has a Review custom object that contains an interviewer’s feedback on a job application. If you delete a job application record, you will probably want all of its review records deleted as well. In this case, you would create a master-detail relationship on the Review custom object with the Job Application object as the master object.
- rollup summary fields. These fields store values aggregated from the child records in the relationship
- differences:…
- convert: You can convert a master-detail relationship to a lookup relationship as long as no roll-up summary fields exist on the master object. You can convert a lookup relationship to a master-detail relationship, but only if the lookup field in all records contains a value.
- User is a standard object that comes with all organizations on the platform. It contains information about everyone who uses the app in your organization.
- You can also create a hierarchical relationship between objects. A hierarchical lookup relationship is available only for the user object.
- For example, create a custom hierarchical relationship field to store each user’s direct manager.
- many-to-many
- For example, suppose your recruiting app has a custom object called Website that stores information about various employment websites. You want to track which open positions are posted to those sites. Use a many-to-many relationship because:
- One position could be posted on many employment websites.
- One employment website could list many positions.
- Instead of creating a relationship field on the Position object that directly links to the Website object, we can link them using a junction object. A junction object is a custom object with two master-detail relationships, and is the key to making a many-to-many relationship.
- For example, suppose your recruiting app has a custom object called Website that stores information about various employment websites. You want to track which open positions are posted to those sites. Use a many-to-many relationship because:
- Schema Builder
- Click Auto-Layout to sort the layout of the objects in your schema. When you click Auto-Layout, you can’t undo it.
- Objects created outside of Schema Builder, such as through an app or the API, don’t automatically display on the canvas. Select the checkbox for the object created outside Schema Builder to display it on the canvas.
- Any field you add through Schema Builder isn’t automatically added to the page layout. You will need to edit the page layout to specify where the field should be displayed.
3. Data – Salesforce Classic.
- two tools, data loader & data import wizard(less file)
- mapping
4. UI
- If a tab style is already in use, a number enclosed in brackets [] appears next to the tab style name. Hover your mouse over the style name to view the tabs that use the style. Click Hide styles which are used on other tabs to filter this list.
- Salesforce’s formula editor, and you use it to define the properties of the button or link.
- You can override the behavior of standard buttons on record detail pages. You can also override the tab home page that displays when a user clicks a standard, custom, or external object tab.
- Button overrides are global
5. Mobile salesforce1
- You can’t set different menu configurations for different types of users.
- if a user is assigned to a profile that has the Groups tab set to Tab Hidden, the user won’t see the Groups menu item in Salesforce1, even though an administrator has included it in the menu.
- Salesforce1 Navigation:The first item in the Selected list becomes your users’ Salesforce1 landing page.
- Tabs: The navigation menu in a community isn’t controlled via the Navigation Menu settings page. Instead, the tabs that are specified in Tabs & Pages in the community’s administration settings determine the contents of the community’s navigation menu.
- using compact layouts to put important fields into object record headers. Create a new compact layout and give it a label. Add up to 10 fields.
- object record pages have page layouts that can be customized, actions have action layouts that can be customized
?? mobile后两个纯粹瞎写a
6. Chatter Basics
- Feed tracking in Salesforce highlights changes to records by automatically announcing them in the record’s feed.
7. Reports & Dashboards
- A report is a list of records that meet the criteria you define. Every report is stored in a folder. You control who has access to the contents of the folder based on roles, permissions, public groups, and license types
- A dashboard is a visual display of key metrics and trends for records in your org. The relationship between a dashboard component and report is 1:1; for each dashboard component, there is a single underlying report.
- to view the dashboard components, you need access to the underlying reports as well.
- Like reports, dashboards are stored in folders,
- Each dashboard has a running user, whose security settings determine which data to display in a dashboard.
- A report type is like a template which makes reporting easier.
- The report type determines which fields and records are available for use when creating a report. This is based on the relationships between a primary object and its related objects. For example, with the ‘Contacts and Accounts’ report type, ‘Contacts’ is the primary object and ‘Accounts’ is the related object.
- Reports display only records that meet the criteria defined in the report type. Out of the box, Salesforce provides a set of predefined standard report types. Don’t see all the fields you want? You might need to create a custom report type.
- report type: Each report type has a primary object and one or more related objects.
- For standard report types, you will typically see this represented in the report type name. For example, with the ‘Contacts & Accounts’ report type, ‘Contacts’ is the primary object and ‘Accounts’ is the related object.
- or custom report types, from Setup, enter Report Types in the Quick Find box, then select Report Types to see the primary and related objects.
- Depending on how the report type is set up, the results can include one of the following.
- Primary object with related object—Records returned are only those where the primary object has at least one related object record.
- Primary object with or without related object—Records returned are those where the primary object may or may not have a related object
- When set the criteria, you may need to create a new custom report type, or adjust an existing custom report type to add or hide fields.
- Salesforce dashboards allow you to present multiple reports side-by-side using dashboard components on a single dashboard page layout. Dashboard components come in a variety of chart types, and you can customize how data is grouped, summarized, and displayed for each component.
- Filters can’t be added to dashboards that contain Visualforce components.
- It’s not possible to filter on bucket fields. However, it is possible to use a report filtered on a bucket field on the dashboard page.
- You can’t filter data on a joined report in dashboard view or add a filter to a dashboard that only has joined reports.
- With dynamic dashboards, each user sees the data they have access to without needing to create separate dashboards for each user.
- An example of dynamic dashboard:
- settings: Say that your opportunity team consists of one vice president, four sales managers, and 40 sales reps—ten reps per manager. You’ve been asked to create dashboards that display the following metrics, restricted by role and hierarchy. Sales reps should only see their own data; managers should only see data for the reps they manage; and the VP should see data across the entire team
- Folder Sharing in Salesforce allows you to restrict access to reports and dashboards by users, roles, roles and their subordinates, and public and private groups.
- wt?? folder sharing
- If a folder existed before analytics folder sharing was enabled, its properties and sharing settings are rolled back to their previous state.
- If a folder was created while enhanced analytics folder sharing was in effect, it is hidden from the folder list and all its sharing settings are removed. Administrative user permissions are still in effect.
Question list
- data model, create object relationships, resulting API name: trail_c, all custom fields API name: fields1_c…(why? I have not set it):https://trailhead.salesforce.com/trails/force_com_admin_beginner/modules/data_modeling/units/creating_custom_objects_fields
- relationship between position and job application. a new Position field ((means the lookup relationship field)) on the job application record : https://trailhead.salesforce.com/trails/force_com_admin_beginner/modules/data_modeling/units/object_relationships
- profile permission: permission is field of profile obj? or field of the obj we want to access?
Comments