Automation Champion

Automating Salesforce One Click at a Time
Automation Champion
  • Home
  • About Me
    • Testimonials
    • Resources
  • Process Builder
  • Salesforce Flow
  • Pardot
  • Apex
  • Training Details
    • Salesforce Administrator
    • Salesforce Advanced Administrator
    • Platform App Builder
    • Lightning Flow
    • Pardot
    • Sales Cloud
    • Service Cloud
    • Community Cloud
    • Hands-on Excercises
  • My Books
  • Contact Me
  • Tag: advance developer

    • Salesforce Summer17 release quick summary

      Posted at 5:31 AM by Rakesh Gupta, on April 23, 2017

      *Image credit – Daniel Peter

      Salesforce Summer’17 release notes preview are out. The Summer’17 release of Salesforce is now in available under the pre-release program. On 05th and 06th May Sandboxes will be upgraded so that your organization gets the look and feel of Summer’17 release. In this release, you can find lot of new features as well as new enhancements related to Lightning Experience, and Search functionalities.

      For example, Make the Lightning Experience the only experience, Navigate to a Record Directly from an Action Success Message, Lightning Console Split View, Access Field History related lists in Lightning Experience, and  See Results from External Search Engines with Federated Search are now available in Lightning Experience. 

      Also, check out these beta and pilot features:

      • Connect Your Content Management System to Your Community (Beta): – CMS Connect lets you bring your Adobe Experience Manager content, such as headers, footers, and banners, into your community. CMS Connect is available in communities that are based on Customer Service (Napili), Partner Central, and any Lightning Bolt solutions.
      • Encrypt Sensitive Lead Fields (Beta): -You can now encrypt 10 standard fields containing personally identifying information (PII) in Lead records.
      • Dynamically Update Flow Screen Fields (Pilot): -Use field rules to control when to show, or hide, particular screen fields. Turn your flows into guided UIs that respond to users’ inputs and selections. This feature is available in Lightning Experience, Salesforce Classic, and all versions of the Salesforce1 mobile app. However, it takes effect only for flows that use Lightning runtime.
      • Lightning Console JavaScript API (Pilot): – The Lightning Console JavaScript API provides JavaScript methods so that developers can programmatically control tabs, subtabs, and the utility bar in Lightning console apps. 
      • Lightning Data Service (Beta): – Use Lightning Data Service to load, create, edit, or delete a record in your component, without using Apex code. Lightning Data Service handles sharing rules and field-level security for you. Lightning Data Service also improves performance and user-interface consistency.
      • Use Advanced PDF to Render Visualforce Pages as PDF Files (Pilot): – Advanced PDF renders Visualforce pages as PDF files with broader support for modern HTML standards, such as CSS3, JavaScript, and HTML5. 

      You can now convert an existing object level picklist to a Global value Set. To promote a single picklist field into a global value set, edit your picklist field by clicking Promote to Global Value Set button.

      Promote Your Picklist Fields to Global Value Sets

      Promote Your Picklist Fields to Global Value Sets

      Lightning Experience is supported by Apple® Safari® version 10.x+ on Mac OS X and Microsoft® Edge for Windows® 10. The most recent stable versions of Mozilla® Firefox® and Google Chrome™ are also supported. Microsoft® Internet Explorer® version 11 is retiring starting in Summer ’16(EOL December 31, 2020). You can’t access Lightning Experience in a mobile browser.

      Salesforce Classic is supported with Microsoft® Internet Explorer® version 9, 10, and 11, Apple® Safari® version 8.x, 9.x, and 10.x on Mac OS X, and Microsoft® Edge for Windows® 10. The most recent stable versions of Mozilla® Firefox® and Google Chrome™ are also supported. Below is the quick summary of Summer’17 release from user’s /customer’s

      Customers/Users Point of view

      1. Use Your Classic Email Templates in Lightning Experience: – Now it is possible to use Salesforce Classic email templates in Lightning Experience. You can use your Text, Custom HTML, and Letterhead email templates in Lightning Experience. This change applies to Lightning Experience only.

      Reference – Salesforce release notes

      2. Filter Your Case Feed in Lightning Experience: – Support agents can find what they are looking for in a case faster by using filters in feed-based case page layouts. This change applies to Lightning Experience only. For support agents, Lightning Experience feed filters work just like Salesforce Classic filters. Lightning Experience users see any custom feed filters created in your instance of Salesforce. 

      Reference – Salesforce release notes

      Read the rest of this entry!

      Posted in Summer'17 Release | 0 Comments | Tagged @isTest(isParallel=true), Access Encrypted Data in Flow, Access Encrypted Data in Process Builder, Access Field History related lists in Lightning Experience, Access Visualforce Page Metrics Using the SOAP API, Add Dashboard Filters in Lightning Experience, Add Members to Campaigns from Reports, Add Validation Rules for Custom Metadata Type Field, Admin 201 exam salesforce, Admin exam dumps salesforce, Admin exam salesforce, Admin practice exam salesforce, advance developer, Advanced PDF to Render Visualforce Pages as PDF Files, and Delete Case Comments Lightning Experience, and Delete Case Comments Salesforce1, App builder exam dumps, App builder exam salesforce, App builder practice exam, aura:valueRender, bihar, Connect Your Content Management System to Your Community, convert an existing picklist to global picklist, Convert Attachments to Files, Create, Create Report and Dashboard Folders in Lightning Experience, Custom Metadata Type, Custom Metadata Type in Salesforce, Custom Metadata Types Support Long Text Areas, Define Default Values at the Field Level, dev 401, Dreamforce’17, Dynamically Update Flow Screen Fields, Edit, Embed Your Flows in Lightning Pages, Embedded Login Enables Users to Log In to Your Website, Encrypt Sensitive Lead Fields, Exclude Subscriber Orgs from a Push Upgrade, Filter Groups to Show Unread Posts, Filter Your Case Feed in Lightning Experience, Find Object Manager More Quickly, Get Answers on the Go With Knowledge Articles in Salesforce1, Get More Information About Records Before You Tap, Katihar, Keep Related Files and Records When Reps Convert Leads, Launch Flows in Lightning Runtime, Lightning Console JavaScript API, Lightning Console Split View, Lightning Data Service, Lightning Experience Salesforce, lightning:actionOverride, Make the Lightning Experience the only experience, Navigate to a Record Directly from an Action Success Message, New Lightning LockerService Critical Update Activation, Open More Tabs from Setup with Right-Click, opportunity Stage History related list is now available in Lightning Experience, Override Standard Actions with Lightning Components, Parallel Testing on the isTest() Annotation, Platform Dev I exam, Platform Dev I exam dumps, Platform Dev II exam, Platform Dev II exam dumps, Redirect Flows That Render in Lightning Runtime, release notes, Removed LockerService Restriction on instanceof in JavaScript, Render Visualforce Pages as PDF Files, Retrieve and Deploy Metadata, sales cloud consultant, Sales Path, salesforce, salesforce admins, Salesforce developers, Salesforce release exam, Salesforce Summer17 release, Salesforce summer17 release exam, Salesforce Summer17 release notes, Salesforce Summer17 release notes HTML, Salesforce Summer17 release notes PDF, Salesforce Summer17 release summary, See Results from External Search Engines with Federated Search, See the Assignment Checkbox in Salesforce1, See the Case Assignment Checkbox in Salesforce1, See the Lead Assignment Checkbox in Salesforce1, Separate Data in Your Import File, service cloud consultant, Session-Based Permission Sets, Spring'15 pre-release login url, Spring'15 pre-release org, Subscribe Other People to Report, Subscribe reports, Summer'17 Release, Summer17 Process builder enhancement, Summer17 release exam, Summer17 release exam admin, Summer17 release exam app builder, Summer17 release exam developer, Summer17 release exam Marketing Cloud, Summer17 release exam notes, Summer17 release exam Pardot, Summer17 release exam Platform Dev I, Summer17 release exam Salesforce, Summer17 release note PDF, Summer17 release notes, Summer17 release notes HTML, Summer17 release notes in PDF, Summer17 release quick summary, Summer17 release Rakesh Gupta, Summer17 release Salesforce MVP, Summer17 release videos, Summer17 Sales cloud enhancement, Summer17 Visual flow enhancement, Summer17 Visualforce page enhancement, TrailheaDX, Use the aura:valueRender Event Instead of a Custom Renderer, Use Your Classic Email Templates in Lightning Experience, View, Visual Workflow enhancement, VisualforceAccessMetrics object, Workflows & Approvals
    • Add Record to Multiple Chatter Groups – Parsing Multi-Select Picklist fields (Flow)

      Posted at 10:15 PM by Rakesh Gupta, on February 3, 2015

      In Spring’15 release Salesforce added a new feature on Chatter, that is Add records to Chatter Groups. In the last article Automatically add records to Chatter Group” I had discussed the way to automate this process. In this article, I am going to discuss how you can allow your users to add a record to multiple Chatter Groups and I am also going to discuss a way to parse Multi-Select choice Picklist fields.

      Business Use Case

      Higher Management in Universal container wants to expand new feature “Add records to Chatter Groups” for their users. Basically, they want a publisher action on Opportunity object that allows their users to add a record to multiple Chatter Groups (Only public Groups).

      A solution for the above business requirement

      Do you think we have to use Apex code to parse values selected for multi-select choice fields in flow? I think no, this article will help you to understand the way to assign multi-select choice picklist values to a collection variable in a flow or way to parse it.

      Design: – when a user clicks on publisher action on Opportunity object it will pop-up a screen, then the user can select multiple Chatter groups, after clicking on Next button it will add Opportunity record to Selected Chatter Groups.

      To solve this requirement we will use Visual Workflow, and then we will embed Flow to a Visualforce page to call it from Publisher action. Before proceeding you have to understand  CollaborationGroup and  CollaborationGroupRecord objects in Salesforce.

      A. CollaborationGroup:- This object represents a Chatter group.
      B. CollaborationGroupRecord:- This object represents the records associated with Chatter groups. CollaborationGroupId represents Id of Chatter Group and RecordId represents ID of the record associated with Chatter Group.

      1. Click on Name | Setup | App Setup | Create | Workflows & Approvals | Flows
      2. Click on New Flow, it will open flow canvas for you. Create two Text type variable VarTOpportunityID (To pass Opportunity ID from Publisher action) and VarTSelected_Chatter_GroupsID we will use it later on this flow.
      3. Next step is allowing users to select multiple Chatter Groups. To do that drag-and-drop a Screen Element ( Give the name Select Chatter Groups) onto the window and add a Dynamic choice Multi-Select Picklist field with below detail

      Name Data Type Required
      Active Chatter Group (Public) Multi-Select Picklist Yes

      It will look like the below screenshot

      Dynamic choice Multi-select picklist

      Dynamic choice Multi-select picklist

      Note:- Don’t save the selected Chatter group IDs, because if you assign the results to a variable here, that variable will only store the first value selected.

      4. Next step is to assign ID’s of Selected Chatter Group to Text variable {!VarTSelected_Chatter_GroupsID}, to do that Drag-and-drop Assignment Element ( Give the name Chatter Groups IDs to Variable) onto the window and map the field according to the following screenshot

      Assign Selected Chatter Group IDs

      Assign Selected Chatter Group IDs

      5. Next task is to create few Formula fields to calculate the number of chatter groups the user has selected, it’s length, Individual Chatter group ID and for Id’s that remaining to Parse. First, we will create a formula to calculate Lengths of ID’s of Selected Chatter Groups (Length) and Number of Chatter group selected (Counter) as shown in the following screenshot

      Formula Fields - Part 1

      Formula Fields – Part 1

      Now create two formula fields to calculate Parsed ID (Single_Chatter_Group_ID) and Chatter ID’s those are remaining to Parse (Remaining_Chatter_GroupID) as shown in the following screenshot

      Formula Fields - Part 2

      Formula Fields – Part 2

      6. Drag-and-drop a Record Create ( Give the name Add Record to First Chatter Group) onto the window to add a record into chatter groups, if the user has selected only one Chatter group. Please refer to the following screenshot for more details

      Add Record to First Chatter Group

      Add Record to First Chatter Group

      7. Now drag-and-drop Decision element to check counter size. If Counter size < = 1 then leave it as it is, else we have to collect the remaining Chatter groups IDs and then add it to a SObject Collection Variable with recordID (To add records to Chatter Groups, in our case it’s variable {!VarTOpportunityID}. Please refer to the following screenshot for more details

      Check the counter size

      To check the counter size

      8. As we have already added the record to one Chatter Group then we have to TRIM original length (it means remove selected Chatter group ID from variable {!VarTOpportunityID}. Please refer to the following screenshot for more details

      Screen Shot 2018-12-11 at 2.19.13 PM

      Assign remaining Chatter Groups IDs to Text Variable

      Assign remaining Chatter Groups IDs to Text Variable

      9. Next step is to add data into a SObject Variable after parsing it. Drag and Drop Assignment Logic (Give the name Add data for single Chatter Group Record) on the window, to assign {!VarTOpportunityID} and formula {!Single_Chatter_Group_ID} into the SObject Variable (CollaborationGroupRecord Object Type) {!Single_Record_Deatils} as shown in the below screenshot

      Add details into SObject Variable

      Add details into SObject Variable

      10. Drag-and-drop Assignment Logic (Give the name All in one) on the window and assign a value from SObject variable {!Single_Record_Deatils} to SObject Collection variable {!All_Record_In_One} (CollaborationGroupRecord Object Type) so at the end of the flow will use it inside the Fast Create to add a record to remaining Chatter Groups. Please refer to the following screenshot for more details

      Add SObject Variables into a SObject Collection

      Add SObject Variables into a SObject Collection

      11. Next step is to check Counter size >= 1.  If counter size is greater than 1 then repeat the process (8-10), else we will use Fast Create element add a record to remaining Chatter Groups. To do that drag-and-drop decision element and check the counter size, as shown in the following screenshot

      Check Counter size Greater than 1

      Check Counter Size Greater than 1

      12. Finally, drag-and-drop Fast Create (Give the name Add record to remaining Chatter Groups) on the window and map the field according to the below screenshot

      Add record to remaining Chatter Groups

      Add record to remaining Chatter Groups

      13. Finally, our Flow will look like the following screenshot

      Add Record to multiple Chatter Groups

      14. Save the flow with name Add Record to multiple Chatter Group and close the canvas.

      It’s time to test this flow

      In the next article Call a flow from publisher action I will show you how you can use this flow as Publisher action

      1. For time being to test this flow, we will hard code the Opportunity Id into flow variable {!VarTOpportunityID}

      Set Default Value to a Variable

      Set Default Value to a Variable

      2. Click on the Save, button and then click on Run button available on flow canvas. Select as many as Chatter Groups you want, as shown in the following screenshot I have selected 4 Chatter Groups

      Selected Chatter Groups

      Selected Chatter Groups

      Once done Click on Next button.

      3. To see the result, open the Opportunity Detail page and navigate to Groups related list

      Final Output

      Final Output

      Note:- In the next article Call a flow from publisher action I will show you how you can use this flow as Publisher action. I will suggest you Implement this first on your developer org test it and then move it to Production.

      Have feedback, suggestions for posts, or need more information about Salesforce online training offered by me? Say hello, and leave a message!

      Posted in Chatter, Sales cloud, Salesforce Flow, Spring'15 Release | 20 Comments | Tagged Add new record to Chatter Group, Add Record to Multiple Chatter Groups, Add Record to Multiple Chatter Groups flow, Add Records to Chatter Group, ADM 201, advance developer, Advance flow, Assignment element in Flow, Auto Add new record to Chatter Group, Auto Add Records to Chatter Group, Call flow from publisher action, Chatter and Flow, Chatter and Visual workflow, Chatter and Visual workflow example, Chatter Group, Cloud Flow Designer Workbook, CollaborationGroup, CollaborationGroupRecord, Decision element in Flow, dev 401, dev 501, Fast Create in Flow, flow, Flow basics, Flow Example, Flow varibale, Formula in flow, Opportunity, Parse, Parse MSP to a collection Flow, Parse MSP to collection variable flow, Parse multi-select Checkboxflow, Parse multi-select picklist flow, Parse multi-select picklist to Collection, Parsing in flow Salesforce, Parsing Multi-select checkboxin Flow, Parsing Multi-select picklist in Flow, Record Create in flow, Records to Chatter Group, salesforce, salesforce chatter, Spring'15 Release Salesforce, Universal container, Visual flow, Visual flow Rockstar, Visual Work Flow, Visual workflow, Visual workFlow examples, Visual Workflow Flow Cloud Flow Designer, Visual Workflow Implementation Guide
    ← Older posts
    • Search

    • Upcoming Trainings

      Salesforce Administrator Certification
      Salesforce Advanced Administrator Certification
      Salesforce Platform App Builder Certification
      Lightning Flow & Process Builder
      Advanced Lightning Flow
      Pardot Specialist & Consultant Certification
      Sales Cloud Consultant Certification
      Service Cloud Consultant Certification
      Community Cloud Consultant Certification
    • Sponsor #1

    • Sponsor #2

    • Sponsor #3

    • Sponsor #4

    • Order Now!

    • Buy My Book

    • Buy My Book

    • Recent Posts

      • Getting Started with Salesforce Flow – Part 58 (Customize Previous, Next, Finish, and Pause Button Label for Screen Flow!)
      • Streamline Data Collection with Salesforce-Connected Forms
      • Getting Started with Salesforce Flow – Part 56 (Merge Chatter Topics with the Help of Salesforce Flow)
      • Getting Started with Salesforce Flow – Part 57 (Adding Validation to Flow Screen Components)
      • Getting Started with Salesforce Flow – Part 55 (Add or Remove Followers to a Record with the Help of Salesforce Flow)
    • Salesforce ID Converter Build on Lightning Flow

      Converting 15 digit ID to 18 digit Salesforce ID
    • Blog Archives

    • Categories

  • Information

    • About Me
    • Affiliate Disclaimer
    • Contact Me
    • Privacy Policy
  • Top Posts

    • Learning Flow
    • Learning Process Builder
    • Getting Started with Salesforce Flow – Part 27 (Want to Send an HTML Email from Salesforce Flow? Oh, yes! It can be done!)
    • Salesforce Spring’21 Release Quick Summary
    • Getting Started with Salesforce Flow – Part 11 (Count Number of records in a Record Collection Variable)
    • Getting Started with Salesforce Flow – Part 58 (Customize Previous, Next, Finish, and Pause Button Label for Screen Flow!)
    • Learning Apex
    • Getting Started with Salesforce Flow – Part 42 (Running a Flow in System Mode)
    • Learning Pardot
    • Getting Started with Salesforce Flow – Part 4 (Need to Redirect a User to a New Record?)
  • Social Media

    • View Automationchampion’s profile on Facebook
    • View Automationchamp’s profile on Twitter
    • View Rakeshistom’s profile on GitHub