天阔阔雪漫漫共谁同航 这沙滚滚水皱皱笑着浪荡

Salesforce 2 -- Admin Beginner

|

Notes from: https://trailhead.salesforce.com/trails All content from: https://trailhead.salesforce.com/trails

3. TRY TRAIL: Admin Beginner

1. Salesforce Platform Basics
  1. CRM : a place to store your customer data, processes to nurture and convert prospective customers, and ways to collaborate and engage
  2. Salesforce is CRM, it also includes the platform, where customers and partners can use our suite of technologies to build amazing, connected apps.
  3. Terminology
    1. Record: an item you are tracking in your database – a row on the spreadsheet.
    2. Field: a place where you store a value, like a name or address – a column on the spreadsheet.
    3. Object: a table in the database – a tab on the spreadsheet
    4. 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.
    5. Force.com: The suite of configuration tools and programming languages, and APIs native to Salesforce, including Apex and Visualforce
    6. App: A set of fields, objects, permissions, and functionality to support a business process. Not a thing you download onto your phone.
      1. 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.
      2. 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
  4. An example using platform:
    1. scenario:
    2. 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.
  5. define declarative and programmatic development:
    1. Declarative refers to point-and-click functionality in Salesforce. It means that you can configure and customize Salesforce without writing code.
    2. 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.
  6. the golden rule is to always try to build with clicks before going to code, as it is more sustainable and maintainable moving forward.
  7. tips for identifying good processes to bring onto the platform
    1. reliance on spreadsheets
    2. Collaboration via email
    3. Documents shared on local file directories
    4. Time-intensive, manual steps
    5. 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)
  8. Architecture
    1. Trusted Multitenant Cloud:
      1. protecting your data
      2. 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.
      3. 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)
      4. 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.
    2. Scalable metadata platform: the structure of your Salesforce org
      1. 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.
      2. Salesforce’s SaaS model means we make the metadata immediately available for development, configuration
    3. 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.
    4. largest enterprise ecosystem
    5. complete CRM
    6. API (Application Programming Interface):
      1. 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.)
      2. he API name is a unique identifier that the platform uses to determine what data or metadata you are trying to access.
  9. Setup:
    1. Setup consists of a tab bar, a navigational sidebar, and a main window.
    2. Setup Search uses type-ahead functionality to help you jump quickly to the item you want. advanced search
    3. 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.
      1. Username
      2. Super secret password
      3. ?? Correct instance: You can connect to a sandbox environment for testing purposes, or a custom domain if configured for your org
    4. trust.salesforce : The Recent System Status section shows information from trust.salesforce.com about your instance’s system performance over the last 24 hours.
  10. develop your AppExchange strategy: all from- https://trailhead.salesforce.com/trails/force_com_admin_beginner/modules/starting_force_com/units/starting_developer_console
    1. Identify the departments using Salesforce (either now or in the future). These are your primary stakeholders for AppExchange app installations.
    2. 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.
      1. What business problem are you trying to solve?
      2. What are your main pain points at present?
      3. How many users?
      4. What is your budget?
      5. What is your timeline?
    3. 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.
      1. 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.
    4. 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.
    5. Execute and document. Prepare your users for the change in user experience (if any), including providing training or documentation as needed
  11. Install from AppExchange:
    1. In general, an AppExchange best practice is to install first in a sandbox or Developer Edition org. A few considerations:
      1. Some of the packages come bundled with custom fields, objects, Apex classes, and more.
      2. All of these customizations have names, which may conflict with existing names in your org.
    2. give permissions to admins only, all users, or specific profiles
    3. The AppExchange is a complete marketplace offering cloud-computing applications and consulting services
2. Data Modeling
  1. There are two types of objects.
    1. 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.
    2. 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.
  2. 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
  3. All attributes of an object are described with metadata, making it easy to create and modify records either through a visual interface or programmatically.
  4. Fields
    1. 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
    2. System Fields
      • All objects have a number of read-only system fields automatically associated with them. eg: CreatedDate, LastModifiedById
    3. 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.
    4. 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/
    5. Relationship Fields: stores the ID of the parent record in a relationship
      1. Lookup: Lookup relationships can be used to create one-to-one and one-to-many relationships.
      2. 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
    6. Other Features of Objects
      1. formulas (rich expression ) - set up validation rules,create workflow rule criteria
      2. validation
      3. triggers, written in the Apex language
      4. Labels—Every object and record has a label and can include a description, for help, which is automatically included in the user interface.
      5. Notes and attachments
      6. Track Field History
  5. When create a new object and customize fields
    1. unique naming
    2. thoughtful architecture: the cleanest and most efficient way to capture data
    3. Default field values: Don’t assign default values to fields that are both required and unique, as this can cause uniqueness errors.
    4. Careful renaming
    5. Global data updates:
    6. help for users: help text of field and help page for an object
  6. When create object relationships:
    1. With relationships, you can display data about other related object records on a particular record’s detail page.
    2. 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.
    3. 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.
    4. 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
    5. differences:…
    6. 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.
    7. 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.
    8. 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.
    9. 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.
  7. Schema Builder
    1. Click Auto-Layout to sort the layout of the objects in your schema. When you click Auto-Layout, you can’t undo it.
    2. 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.
    3. 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.
  1. two tools, data loader & data import wizard(less file)
  2. mapping
4. UI
  1. 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.
  2. Salesforce’s formula editor, and you use it to define the properties of the button or link.
  3. 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.
  4. Button overrides are global
5. Mobile salesforce1
  1. You can’t set different menu configurations for different types of users.
  2. 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.
  3. Salesforce1 Navigation:The first item in the Selected list becomes your users’ Salesforce1 landing page.
  4. 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.
  5. 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.
  6. object record pages have page layouts that can be customized, actions have action layouts that can be customized

?? mobile后两个纯粹瞎写a

6. Chatter Basics
  1. Feed tracking in Salesforce highlights changes to records by automatically announcing them in the record’s feed.
7. Reports & Dashboards
  1. 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
  2. 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.
    1. to view the dashboard components, you need access to the underlying reports as well.
    2. Like reports, dashboards are stored in folders,
    3. Each dashboard has a running user, whose security settings determine which data to display in a dashboard.
  3. A report type is like a template which makes reporting easier.
    1. 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.
    2. 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.
  4. report type: Each report type has a primary object and one or more related objects.
    1. 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.
    2. 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.
  5. Depending on how the report type is set up, the results can include one of the following.
    1. Primary object with related object—Records returned are only those where the primary object has at least one related object record.
    2. Primary object with or without related object—Records returned are those where the primary object may or may not have a related object
  6. 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.
  7. 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.
  8. Filters can’t be added to dashboards that contain Visualforce components.
  9. 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.
  10. You can’t filter data on a joined report in dashboard view or add a filter to a dashboard that only has joined reports.
  11. With dynamic dashboards, each user sees the data they have access to without needing to create separate dashboards for each user.
  12. An example of dynamic dashboard:
    1. 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
  13. 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.
  14. 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

  1. 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
  2. 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
  3. profile permission: permission is field of profile obj? or field of the obj we want to access?

Comments