0 comments on “Salesforce World Tour Sydney 6 March 2018”

Salesforce World Tour Sydney 6 March 2018

salesforce world tour
What is Salesforce World Tour

Most Salesforce World Tour Sydney 2018 events focus on creating buzz around the high-level ideas that the technology company is working on and World Tours are no different. This year there was a lot of discussion around the new Lightning interface, artificial intelligence, and the customer journey.There were many options to learn how to better use Salesforce. There was even a smartphone app to help you plan your day. This was really helpful as sessions overlapped and you could find yourself bouncing around to different sessions all day.

0 comments on “Salesforce Platform Developer II Certification”

Salesforce Platform Developer II Certification

Salesforce Platform Developer II

If you are taking up the Salesforce Platform Developer II certification, then you should be aware of the new system under which you will be getting this credential.

  1. You need to complete the below 4 Superbadges in Salesforce Trailhead
    1. Apex Specialist
    2. Data Integration Specialist
    3. Lightning Component Framework Specialist
    4. Advanced Apex Specialist
  2. You have to register for the Platform Developer II Multiple choices exams in Webassessor and pass the exam
  3. Once you have completed all the 4 super badges, you will receive an email from Salesforce Trailhead team with the instructions to link your Trailhead and Webassessor accounts (Note – it might take up to a week for you to get this email after you completed all the 4 super badges)
  4. Following the instructions, You have to Link your Trailhead and Webassessor profiles and verify your profiles.
  5. After you have completed
    1. all 4 super badges thru Trailhead,
    2. passed the exam thru Webassessor and
    3. linked your Trailhead and Webassessor profiles,
  6. Salesforce will then award you the Platform Developer II credential. Note again – this might take up to a week once you have completed both 1 and 2 and linked and verified both your Trailhead and Webassessor profiles
  7. Here’s the reference from Salesforce Certification Knowledge Base about the overall process and a quick screenshot of the instructions
3 comments on “Salesforce Advanced Apex Specialist – Trailhead Superbadge”

Salesforce Advanced Apex Specialist – Trailhead Superbadge

Salesforce Advanced Apex Specialist - Trailhead Superbadge

Continuing my quest with trailhead #SeizetheTrail , the last one in my list is the Advanced Apex Specialist Superbadge ..  I started working on this superbadge and this post is to document some of the findings / tips / gotchas as I progress thru this one..

Step 1

  • make sure you create the Custom metadata records with the exact same names given (that matches the product families)
  • in the constants apex class, declare all the properties as public static

Step 2

  • OrderTrigger needs to handle only after update event
  • OrderTrigger should use the Orderhelper internally for the rollup
  • Don’t forget to remove the “with sharing” from the orderHelper class

Step 3

  • Override the Add and New button under Product object to use the visualforce page
  • Product2New visualforce page
    • in the pageblock table columns, use the field labels as headers using $ObjectType
    • update the column values to use the productRecord fields inside the productwrapper
    • use apex:chart to display the horizantal bar chart in a separate pageblock above the table
    • reRender the required components from the Save and Add buttons
  • Product2Extension apex class
    • Make the Controller class “Without Sharing”
    • add the inner class ProductWrapper
    • replace the list of products with list of productwrapper
    • use Savepoint in the Save method
    • iterate thru the productWrapper and extract the products and pricebookentries and insert them separately
    • use try catch block and do a rollback if there are any errors
  • ChartHelper apex class
    • Make the ContChartHelperroller class “Without Sharing
    • move the chart data initialisation logic to Chart Helper class
    • make the GetInventory method @AuraEnabled

Step 4

This is probably the simplest of all the steps.. update theTestDataFactory class to handle the key requirements given..

  • Make sure all the methods in the TestDataFactory class are Public Static and the class is marked “with sharing”
  • all the construct methods should create the mentioned objects with the required fields and unique names and return the records without inserting them
  • use the Insert method to call all the construct methods and then insert the records returned from those methods.

Step 5

  • Update the VerifyQuantityOrdered method in TestDataFactory with a System.Assert to compare the Quantity Ordered between the Updated product and the original product plus the incoming quantity
  • run both OrderTests and Product2Extension_UnitTest and make sure both the test classes are passing  and the classes they are intended to cover has more than 75% coverage

Step 6

  • Don’t forget to create the chatter group “Inventory Announcements” .. mark it public and tick the disable auto archive checkbox and use the description text given
  • update the product trigger to handle only after update and use the product helper class to handle the after update logic
  • update the product helper class AfterUpdate method to use the postAlerts method which in turn will be using the AnnouncementQueueable class to process the chatter group notification
  • AnnouncementQueueable is a Queueable class and uses ConnectApi to post the announcement

Step 7

  • Override the New and Edit buttons under the Order object to use the OrderEdit visualforce page

Step 8

 

This was my last superbadge and by completing this Advanced Apex Specialist Superbadge , I’m now eligible for Platform Developer II certificate provided I clear the multiple choice exam.. 🙂

Good luck to you all if you are working on this superbadge or preparing for the Salesforce Platform Developer II certification.

 

2 comments on “Salesforce Lightning Component Framework Specialist – Trailhead Superbadge”

Salesforce Lightning Component Framework Specialist – Trailhead Superbadge

Salesforce Platform Developer II

I’ve successfully completed the Lightning Component Framework Specialist superbadge & this post documents some of the tips & tricks/gotchas that I noticed as I progressed thru this superbadge..
Overall it took me close to 7 hrs (split across 3 days) to complete this with the below breakdown of steps..

  • Day 1 – Step 1, Step 2, Step 3
  • Day 2 – Step 4, Step 5, Step 6
  • Day 3 – Step 7, Step 8, Step 9, Step 10

Note: This superbadge is both a direct part of the Salesforce Platform Developer II certification and also required to unlock the Advanced Apex specialist superbadge which is again part of the Salesforce Platform Developer II certification
below is the list of points I noted down (categorized by Steps).. hope this helps you if you are working on the superbadge.
Step 1
make sure you read the prerequisite steps and complete all of them.

  • use a New Trailhead Playground environment,
  • disable the component cache in the setup
  • install the unmanaged package, 
  • understand the naming conventions to be used in the javascript controller & helper methods
  • review the data model of the objects introduced by the unmanaged package and check if the data has been imported into those new objects.

Step 2
Read & Understand the use case and visualise the layout of the entire page and how the individual components are fitting in and communicating between them.

  • this step entirely focuses on the BoatSearchForm component so make sure the UI of this component is fully ready
  • make sure the “New” button visibility is controlled by checking the support for the createRecord event
  • create both the Lightning page and the Lightning app containing all the 3 components we created before.

Step 3

  • This step focuses on the BoatSearchResults component
  • you will be creating a component to handle the display of each boat tile

Step 4

  • This step focuses on the communication between the search form & the search results component and how the search results refresh based on the selected boat type
  • make sure the FormSubmit lightning event is of type Component and not Application

Step 5

  • The BoatSelectedEvent is of type Application

Step 6

  • make sure the BoatReviewAdded lightning event is of type Component and not Application
  • In the AddBoatReview component, create both the controller and helper methods and make sure from the helper method and set the response back to the boat review attribute or log the error back to the browser console

Step 7
Step 8
Step 9
Step 10
References
Use the Salesforce Developer Forum and Stack Exchange discussions when you have exhausted all the options you can think of while solving a Step.. without trying your own attempts, referring these discussion threads will not help..
Good luck with the Super Badge and also with the Platform Developer II Certification.
“We @ Techforce Services are specialized in Salesforce Development – Apex, Visualforce and Lightning, API Integrations. We also cover Salesforce Setup, Implementation & Customization”.

Talk to us to know how we can Simplify your Salesforce journey.

0 comments on “Salesforce Certifications and Trailhead”

Salesforce Certifications and Trailhead

Salesforce Certifications

We are proud to share that our team at Techforce Services Team collectively has covered 500+ Trailhead Badges, 15+ Salesforce Certifications covering across Consultant, Administrator, Developer and Domain Architect Tracks.

Below is the list of Certifications we at Techforce Services has scored so far

Administrator Track

As a Salesforce-certified administrator,your expertise puts you in a unique position to work with stakeholders to define requirements, customize the platform, and enable users to get the most out of Salesforce.  Below are the Salesforce certifications in Administrator Track

  • Salesforce Certified Administrator
  • Salesforce Certified Advanced Administrator

Developer Track

Salesforce-certified developers are able to utilize a powerful mix of programmatic and declarative skills to extend and customize applications on the Force.com platform. our team of developers are fully certified and well experienced in Apex, Visualforce and Lightning. Below are the Salesforce certifications in Developer Track.

  • Salesforce Certified Platform Developer I
  • Salesforce Certified Platform Developer II
  • Salesforce Certified Platform App Builder

Consultant Track

Salesforce-certified consultants are invaluable contributors to the success of Salesforce customers.Our consultants has worked on several successful projects  with a wide variety of customers across different industries .  Below are the Salesforce certifications in Consultant Track.

  • Salesforce Certified Sales Cloud Consultant

Architect Track

The Salesforce Certified Architecture Designer credentials validate knowledge and expertise in particular specializations. The Salesforce Certified Application Architect and System Architect certifications recognize professionals who possess expertise in a domain area. Below are the Salesforce certifications in Architect track from our Team

  • Salesforce Certified Data Architecture and Management Designer
  • Salesforce Certified Development Lifecycle and Deployment Designer
  • Salesforce Certified Integration Architecture Designer
  • Salesforce Certified Sharing and Visibility Designer
  • Salesforce Certified Application Architect

Trailhead

Trailhead is the fun way to learn Salesforce. Test your knowledge
while earning points and badges to celebrate your achievements.
Content in Trailhead is organized into units, modules, and trails to help guide you through everything you need to know about Salesforce.
A unit takes you through several learning objectives for features, tools, or best practices related to Salesforce. Most units conclude with a challenge that reinforces the learning objectives.
A module is a series of units for a particular subject area. Once you’ve completed all the units in a module, you will earn a badge that will be displayed on your Trailhead profile.
Trailhead provides developers and administrators a guided, learning path through the key features of Salesforce, using a set of interactive,online tutorials.

"We @ Techforce Services are specialized in Salesforce Development - Apex, Visualforce and Lightning, API Integrations. We also cover Salesforce Setup, Implementation & Customization".
0 comments on “Lightning Components Tip: Don’t mess with Method names”

Lightning Components Tip: Don’t mess with Method names

Lightning Components
In 2014, Salesforce introduced the front-end platform called Lightning, the next generation of CRM is based on front-end web technologies, providing much functionality to help customers close deals faster and smarter. Sales teams now can see and present data to their customers and potential customers in visualized ways. Lightning is a component-based framework allowing components to be reused in different places within organisation and admins to quickly customize pages for different needs from various users. When it comes to lightning component development, lightning makes it easier and faster for developers to build and debug applications using frontend tools. Three basic elements of lightning components are Aura component, frontend controller (JavaScript) and backend controller (Apex). JavaScript controller acts as main controller to process business logic and Apex controller is more like database interpreter to query data from Salesforce Database. However, when many methods have same actions, naming problems come in. In apex, the action methods to return some data are normally are declared in the format getVariableName. Similarly, in lightning, JavaScript methods in JS controller usually are declared in the same way, getVariableName to get data from Apex controller. Inside JS methods, an action variable is declared to retrieve data from Apex controller, which often is named getVariableName. This action will be put into a queued action list. Here is a screenshot how it looks. In JS controller, JS controller In Apex controller, apex controller As a result, it creates an infinite loop which keeps firing getStrings function. The reason is that the queued action list has taken the method name, not the action variable. The queued action list fires getStrings function, inside the function, a statement puts function again into the list, and so on. To avoid this problem, JS functions in JS controller can be named as getVariableNameFunction and inside the functions, query action variables can be named as getVaribleNameAction. By doing this, normal naming convention remains the same and can avoid confusion for Lightning framework when picking the actions up. JS Controller: fixed js controller
"We @ Techforce Services are specialized in Salesforce Development - Apex, Visualforce and Lightning, API Integrations. We also cover Salesforce Setup, Implementation & Customization".
0 comments on “World Wide Web”

World Wide Web

It’s interesting that the greatest advance in software development isn’t development-specific.  The Web has transformed nearly every aspect of a software development company, greatly simplifying many tasks andmaking it possible for small companies to thrive in the global marketplace.  For just a few dollars a month, a software entrepreneur can market, sell and support his products and services from anywhere to anywhere the Web will go.  This improves productivity, spurs innovation, and raises the overall global economy.
"We @ Techforce Services are specialized in Salesforce Development - Apex, Visualforce and Lightning, API Integrations. We also cover Salesforce Setup, Implementation & Customization".

Salesforce Developers

We are a team of salesforce development experts - working on Apex, Visualforce and Lightning components and app development. If you are looking for salesforce developers to help your salesforce rollout, talk to us.
"We @ Techforce Services are specialized in Salesforce Development - Apex, Visualforce and Lightning, API Integrations. We also cover Salesforce Setup, Implementation & Customization".