Showing posts with label Salesfore. Show all posts
Showing posts with label Salesfore. Show all posts

Thursday, 18 June 2020

[#Blogged] - Can In-App Guidance Replace Validation Rules?

As new features are released throughout the year, it’s natural to wonder if others will be retired in their place. Most of the time, features are continuing to be improved, however, some features are intended for basic functionality, and really don’t need any more pizza. One common mistake Salesforce users make is seeing similar functionality in two different features, and mistake them for being equal options at resolving a problem. As we all know, the tool you choose to resolve your issue can help contribute to smooth growth in a year’s time as your org matures a little, or it can be stifling due to a tangled mess that needs to be reworked. We’ve all been there!

Consider the issue of data entry for your Sales and Services teams. Many orgs have problems with making sure fields are not missing data, or displaying incorrect data. Data quality is a huge struggle with a lot of Salesforce orgs! How do you resolve this? How can you encourage your teams to fill out the appropriate information so your dashboards and reports, marketing teams, and users all see correct information every time? Many people would say Validation Rules, but with new features being released throughout the year, are there other options we should now consider?

Let’s consider a feature that came out in Winter ‘20 called In-App Guidance, for example. Some may wonder if it’s a replacement for Validation Rules. I’m going to explore that thought a little more in this post.

Example of a prompt created for the Account landing page.

What is In-App Guidance?  This is actually a nifty little tool that many have not had time to explore. In-App Guidance is a feature used to support User Engagement, and can be used to guide your users by displaying prompts at various points on the screen. For example, you can set it up to appear in the bottom right corner as a pop up on the Account page, so the user will be reminded about a new feature, or to follow best practices. 

When Should I use In-App Guidance? Have you ever been using a page somewhere, and due to the amount of pop ups, were ready to throw your phone or laptop out the nearest window? Yeah, let’s keep that in mind. You definitely don’t want to overuse In-App Guidance and have the tool lose its lustre. It’s great for reminding your users of information that could be overlooked, or may not fit in a banner, and anything that you’ve changed recently that they may have missed hearing about in your company wide email. Prompts are not the best for really complex procedures or that would generally take too long to read. Remember, you want them to see it, and act on it, but if they’re overwhelmed, they’re just going to close it out.

Is it easy to Use? Confession - I set up my prompts for this blog post in a matter of minutes. In-App Guidance is easy to use, and has a few options so that it’s not overwhelming you with decision points, but allows you to have some say in how it appears. You can choose a floating prompt, which appears in one of six places on the screen, and is great for very short messages that don’t require much action. You can also include a docked prompt which stays anchored, but contains more text, and can even hold an embedded video for your users to reference. You can also influence how frequently it appears with scheduling, so that if dismissed, it will reappear after the amount of days you set. Also, the real kicker here, is that you can view metrics to see who is interacting with the prompt and how frequently. This can help you improve your process over time, to maximize its impact.

In-App Guidance Setup - You can ensure how frequently the prompt appears for your users.

That’s a pretty cool feature, huh? But let’s not forget about our old pal, the Validation Rule! 

What are Validation Rules?  Validation rules are like a parent, letting you know when you’re not doing what is expected! They’re great guardrails for restricting missing or incorrect information from being saved on a record. Validation rules provide a red error message either by the field, or at the top of the page, letting users know what they need to correct before saving the record. And, the record can’t be saved until they correct the issue. 

Image: A Validation Rule Edit page, where Conditions and the Error Message are required to set up the validation rule.

When Should I use Validation Rules? Validation rules can be fairly easy to use, and a simple rule can be constructed in a matter of a few minutes. If you have a field that is really crucial for users to complete, a validation rule is your “tried and true”. You can use it to indicate required fields, or even to restrict the correct type of data, such as limiting numerical data in text fields.

So, Can In-App Guidance Replace Validation Rules?  This is the million dollar question, here - can it and, better yet, should it? Honestly, it depends on what you’re looking to do. The plus that In-App Guidance has on Validation Rules is that it can appear as the page loads, so the user can see what needs to be done without first entering the data incorrectly. However, validation rules can give a hard stop to the user progressing forward unless the data is corrected, thus ensuring the data is correct before the record is saved. While In-App guidance is considered a part of driving User Engagement, I would say validation rules lean more towards data quality. 

 

So, can In-App guidance be used instead of validation rules? Well, if all you are looking for is a gentle reminder instead of a hard stop, then yes. However, if you ask me whether it should, my answer would be no. Both of these tools have their own ideal scenario that allows them to shine as they are intended, and using tools to strive for peak performance is the best way to use Salesforce!

Monday, 10 December 2018

[#Blogged] My POV of #Ohana 2018 at a Glimpse!


As the Year-end approaches, it seems like every year is dubbed “a year like no other.” But 2018 truly has been more Productive than many other years in recent memory.  In the last 11 months, I have been part of amazing Dreamin Events/ Blogs/ Software Meetups/ Hackathons etc in an awe-inspiring journey with #SalesforceOhana.  Let's walk through the year gone by :
 
 January :
 
Your Virtual Experts (Salesforce Development and Consulting Firm).  
 
Your Virtual Experts is a leading expert when it comes to Salesforce CRM integration & customization. With Force.com and Apex, we can make SalesForce the platform for all your operations, human resources, claims management, resource management etc.
Read More:https://www.yourvirtualexperts.com/
 February :  
 
Trailblazer Voices: How Failure Can Point to the Right Path(Salesforce.com Blog)  
 
Think back to your 18-year-old self. You’re out of high school, expected to continue your education, and feeling excited about adult life. Now, imagine if you were faced with two choices: attend a four-year university with your friends, or get an internship in a technology you’ve never heard of. Which would you choose?           
Read More:https://sforce.co/2zEYagT
The year did start with a bang but it has iits cons like a month where I hadn't got any projects to work on.
 
But this quote by Lauren Conrad has kept me going.  “There is never just one thing that leads to success for anyone. I feel it always a combination of passion, dedication, hard work, and being in the right place at the right time.”
 
March:
 
 All About Lightning with Pritam Shekhawat (Salesforce Chandigarh Developer Group)  
 
Lightning includes the Lightning Component Framework and some exciting tools for developers. Lightning makes it easier to build responsive applications for any devices.           Read More:https://bit.ly/2E2HLqi
 13 Reasons Why You Need to Get Salesforce Certified. (Guest Blog).  
 
Are you looking to enhance your career, join a growing and vibrant community and travel the world? Then, it’s time to become Salesforce certified! And if you’re already certified, why not elevate your status to MVP? A Salesforce MVP is a valued thought leader recognized throughout the Salesforce community, always giving back by helping others.           
Read More:https://bit.ly/2FNr1Fb
April :
 
A month where I relaxed  and rejuvenating my brain cells for more focus and dedication towards work.
 
May:
 
Apexchamp 2018 ( Salesforce Virtual Hackathon)
 
ApexChamp is a community-led hackathon for professionals around Salesforce who love to code and challenge themselves. The aim is to revive the geek inside you by hosting an online contest in an upcoming month. Developers who get selected in this online contest would be invited for a programming challenge. Read More:http://www.apexchamp.com/
Trailhead Global Gathering with Naga Kiran(Salesforce Chandigarh Developer Group)
 
We feel privileged to welcome you to this very special meetup at Chandigarh Salesforce DUG along-with the Chandigarh Salesforce WIT & Chandigarh Salesforce UG where we are going to host our special guest Mr Naga Kiran Manyala (https://twitter.com/SfdcKiran) , Developer Advocate at Salesforce (India).
Read More:https://bit.ly/2mYj4Ry
Difficulty in getting sponsors for apexchamp.
 
June:
 
Special North India Joint Meetup with Erica Kuhl & Daniel Peter (Salesforce  Jaipur Developer Group)
 
Salesforce Jaipur Developer Group We're pleased to announce a very special meetup on June 19 featuring Erica Kuhl - Vice President, Community coming all the way from Salesforce HQ. Erica will be joined for this meetup by Kiran from Salesforce India Developer Relations team. AN EXCITING UPDATE - Daniel Peter, a Salesforce MVP & Organiser of Bay Area Developer User Group will also be joining us on this special occasion.
 
Sharing My #Trailblazer Story with  Audition in Hyderabad was amazing. I have spoken in many meetups but It was first Dreamin Event. I am more of a Setting up person so the Speaker can be comfortable and good with their presentation. Add-On was Sharing my Story Salesforce via Video Interview and Getting my trailblazer hoodie and picture :) Proud #Trailbalzer
Read More: http://hyderabadtrailblazin.com
Half a year is gone by till here and still, there is so much more to share with you guys.
 
July:
Service Cloud Consultant Certification (4X Salesforce Certified Professional after Force.com Got retired)
 
Candidates should be able to successfully design and implement maintainable and scalable Service Cloud solutions that meet customer business requirements and contribute to their long-term success.            Read More:https://sforce.co/2rbfTI8
Marc Benioff Follow Back.
 
Jaipur Dev Fest 2018(Attendee)
 
Salesforce events actually give you a chance to learn immense knowledge about the platform also meet people you usually interact via Twitter, Trailblazer Community or different Salesforce Question Forums etc. Attending the Jaipur events and Jumping from one technical session to another was best. Thanks to Salesforce Relations Team For Placing me in Top 10 Salesforce  Rockstars you should meet.           
 
Read More:https://bit.ly/2zuNpO6
It was a struggle to balance things when everyone was running in different directions to make Apexchamp happen.
 
August:
 
Equality in a Box (Salesforce Chandigarh Developer Group)
 
Salesforce wanted to provide an equal pathway for everyone to land a top job in the workforce of the future. Today, over 7 million badges have been earned, and people from all walks of life have been inspired to transform their careers. But there’s still a major equality gap in technology caused by many factors including the lack of accessible education. BAM! It’s time to bring education and opportunity to everyone. It’s time to Be A Multiplier.           
 
For every meetup, we work hard and yet sometimes people don't show up.
 
Salesforce Lightning Bolt Tattoo
 
Salesforce has been the turning point of my life. Now it's a part of me too! #Trailblazer #SalesforceOhana
 
September:
 
#Community Summit.
 
#ApexChamp Phase 1 Winners
 
Apexchamp Top 19 for Second Phase Apexchamp organised a Online Examination to select top 19 out of 800 participants to take part in Salesforce Hackathon.
 
Salesforce Saturday with Stephanie heerara ( Salesforce Learning Hours)
 
One time opportunity to meet virtually Stephanie Herrera (Director of Salesforce & Business Systems , Spredfast, Salesforce Saturday Founder, PepUp Tech Co-Founder, Salesforce MVP). She is inspiration, motivation to all of us, if you have any query regarding Salesforce as a Technology , Future this is the platform to get all you queries answered.          

 
A moment of disappointment came when my Visa got rejected for Salesforce DreamForce Event,San Francisco and I couldn't attend it irrespective of having all the information and documents.
 
October:
 
Apexchamp Winners Announcements

 
November:  
 
Dreamforce Global Gathering with Salesforce Amy(Salesforce Chandigarh Developer Group) Four days of inspiration, giving back, and having the time of your life with fellow Trailblazers — that only begins to describe the most innovative software conference in the world. With 2,700+ sessions to help every role in every industry succeed, opportunities to get hands-on with the latest product innovations, and thousands of Trailblazers to learn from, Dreamforce is not to be missed.

 
December:  
 
India Dreamin 2018.(Attendee)
 
India Dreamin, standing true to its name. The first day was just so inspirational whether the speakers talking or listening to different ideas over the community dinner This Year does seem to be full of aspirations. #IndiaDreamin18 was amazing Event full of knowledge along with amazing back-to-back Sessions of  #Speakers with interesting topics. Kudos to core team. See you next year :) 🐼 #PandaHugtoeveryone. #IndiaDreamin18 #Salesforce
 



This Year has made me learn, achieve, believe and understand a lot of things not just about Salesforce but also about me. So I, end this blog with this very determining quote by Pete Maravich - “There is nothing wrong with dedication and goals, but if you focus on yourself, all the lights fade away and you become a fleeting moment in life.”

Saturday, 26 August 2017

[#Blogged] Time To Upvote -Series (Part 2)

Here we have some idea's which need to be upvoted :
IDEA 1 - 
Enable drag & drop functionality for lightning Calendar
Salesforce classic calendar supports drag and  drop off events.
Lightning has a much more dynamic user interface, but it still lacks this basic functionality which keeps many customers from managing their calendars entirely in Salesforce.
Upvote

IDEA 2 -
Allow new chats to load in the background, without monopolizing agent focus
Current behavior: When a new chat is accepted, the new chat monopolizes the agent focus, and the agent is not able to continue chatting or performing after-chat work. It brings the agent to the new chat tab, even though it takes ~ 5 seconds to load all 3 chat sub-tabs (chat, contact, case). Even once the 3 chat sub-tabs load, the user often takes a while (sometimes up to a couple minutes), to type out their question, so staying on the new chat tab is not usually the best use of agent time.
Desired behavior: When a new chat is accepted, the new chat should load in the background, allowing the agent to continue working on the other chat(s) they have open. The new chat should *not* force the agent to sit there and watch the 3 chat sub-tabs load. After working a little more on the open chats, the agent can check back on the new chat, and see how far along the customer is in composing their question. This is less disrupting to the agent workflow and maximizes agent control and efficiency.
Note: We've been told by the Live Agent PM that this is desired/expected behavior of the product. However, having observed agents in the field using Live Agent over the course of 1 week, I am confident that this is not desired behavior, and it is much preferred that the new chat *not* monopolize focus, and force the agent to sit there and watch the 3 sub-tabs load.
IDEA 3 - 
Allow Direct link to a Process Builder Process
When working with clients and/or other admins I need to be able to reference the specific process builder that I would like them to look at.  Right now the link available to me is the link that displays all of the processes.
Ideally, we should be able to send a link that opens up to the specific process. This could be something similar to what is available in the Service 

IDEA 4 - 
Pardot Merge Prospects via API
Hi All,
I've gone through the pardot API documentation, but have not found anything related to merging/deduplicating pardot prospects through the pardot API. We have a scenario where we are getting a lot of duplicates in our pardot instance. And also we have defined criteria of considering which of these prospects are duplicates.Since this number is huge, we wouldn't want to spend hours manually merging all of these duplicate prospects. Would be glad if Pardot rolls out an additional method within its APIs.
Please vote up this idea if you're facing the same issue.

Saturday, 13 May 2017

[#Blogged]Time To Upvote -Series (Part 1)

Here we have some idea's which need to be upvoted :

Idea 1 
Make the Manage External User button available in lightning

Currently the Manage External User button and the nested buttons it hosts are not available in the lightning user interface, as a result users have to switch between lightning and salesforce classic to access the functionality, another drawback to lightning as having to toggle back and forth between two different interfaces undermines the value of lightning.  Please make the manage external user button and the nested buttons it hosts available in lightning


Upvote 

Idea 2

Choose Who To Send Flow Fault emails and Process Builder Error Emails to
The notifications currently go to the user who built the flow or process builder.
I am currently in a situation where the original user who created the flows in Sandbox and deployed them is no longer active. I therefore must change his email in order to receive the error messages on existing flows.


Idea 3 
Increase the limit on the number of reports a user can subscribe to
The new report subscription feature is really nice, but only being able to subscribe to 5 reports is not helpful.  Most users who want to subscribe to reports want to do this for at least 10 - 15 reports.  I'm not sure why the limit is hard-coded to be 5 but having a higher limit (like 25?) would be much appreciated.

Upvote 

Idea 4 
Process Builder: Error messages
Process Builder works great, but when there is a validation error or any other error, it doesn't provide the much information to user and user will never know how to resolve that issue.
Admin gets an email for this exception with the proper message, but if we can improve the error messages for the end user also, that would be great.

Tuesday, 28 February 2017

[#BloggedFormula field to add 1 month exact in close date)


Formula field to add 1 month exact to close date



DATE ( 
YEAR(CloseDate) + FLOOR((MONTH(CloseDate) + 1 - 1)/12), 
CASE(MOD(MONTH(CloseDate) + 1, 12 ), 0, 12, MOD(MONTH(CloseDate)+ 1, 12 )), 
MIN(DAY(CloseDate), 
CASE(MOD(MONTH(CloseDate) + 1,12), 9, 30, 4, 30, 6, 30, 11, 30, 2, 
IF(MOD(YEAR(CloseDate) + FLOOR((MONTH(CloseDate) + 1)/12), 400) = 0 || (MOD(YEAR(CloseDate) + FLOOR((MONTH(CloseDate) + 1)/12), 4) = 0 && MOD(YEAR(CloseDate) + FLOOR((MONTH(CloseDate) + 1)/12), 100) <> 0 
),
29,28),
31)) 
)









Monday, 27 February 2017

[#Blogged]Day, Month and Year from Date

Sample Code (Use this in apex class):

Date gettingdate;
Integer dy = gettingdate.day();
Integer monh = gettingdate.month();
Integer yer = gettingdate.year();

Monday, 20 February 2017

[#Blogged]Managed or Unmanaged Packages

MANAGED OR UNMANAGED PACKAGES
Packages come in two forms:
  • Unmanaged
  • Managed

UNMANAGED PACKAGES

Unmanaged packages are typically used to distribute open-source projects or application templates to provide developers with the rudimentary building blocks for an application.
Once the components are installed from an unmanaged the package, the components can be edited in the organization they are installed in.
The developer who engendered and uploaded the unmanaged package has no control over the installed components, and can't change or upgrade them.

MANAGED PACKAGES

Managed packages are typically utilized by salesforce.com partners to distribute and sell
applications to customers.
These packages must be engendered from a Developer Edition organization.
Utilizing the AppExchange and the License Management
Application (LMA), developers can sell and manage utilizer-predicated licenses to the app.
Manage packages are withal plenarily upgradeable. To ascertain seamless upgrades, certain
destructive changes like abstracting objects or fields may not be performed in a managed
package.
Managed packages additionally offer the following benefits:
  • Astute property auspice for Apex.
  • Built-in versioning support for API accessible components
  • Remote access support (OAuth)
  • The competency to branch and patch an antecedent version
  • The competency to seamlessly push patch updates to subscribers
  • Unique denominating of all components to ascertain conflict free installs

Wednesday, 8 February 2017

[#Blogged] Anonymous Block

An anonymous block is Apex code that does not get stored in the metadata, but that can be compiled and executed using one of the following:

• Developer Console

• Force.com IDE

• The executeAnonymous Web services API call:

ExecuteAnonymousResult executeAnonymous(String
code)
You can utilize incognito blocks to expeditiously evaluate Apex on the fly, such as in the Developer Console or the Force.com IDE, or to indite code that changes dynamically at runtime
Note the following about the content of an incognito block (for executeAnonymous(), the code String):
* Can include utilizer-defined methods and exceptions.
* Utilizer-defined methods cannot include the keyword static.
* You do not have to manually commit any database changes.
* If your Apex trigger consummates prosperously, any database changes are automatically committed. If your Apex trigger does not consummate prosperously, any vicissitudes made to the database are rolled back.
* Unlike classes and triggers, incognito blocks execute as the current utilizer and can fail to compile if the code breaches the utilizer's object- and field-level sanctions.
* Do not have a scope other than local. For example, though it is licit to utilize the ecumenical access modifier, it has no denotement. The scope of the method is inhibited to the innominate block. 
* When you define a class or interface (a custom type) in an incognito block, the class or interface is considered virtual by default when the innominate block executes. This is true even if your custom type wasn’t defined with the virtual modifier. Preserve your class or interface in Salesforce to eschew this from transpiring. Note that classes and interfaces defined in an incognito block aren’t preserved in your organization.