Answers - Salesforce Trailblazer Community
Ask Search:
Blue MonsterBlue Monster 
Hi,
Whenever I add the survey lightning component on the community page it shows 'Surveys don't run on canvas'. Can we add surveys to the community Page?
Best Answer chosen by Blue Monster
Camille LenormandCamille Lenormand
Hello,

Yes you can. 'Surveys don't run on canvas' simply means you can't run the component directly in the app builder. 

You need to go back to the community page to see the component running.
Best Answer chosen by Indupal Singh
pratima shrivastavpratima shrivastav
Hi Indupal,
Looking at your error, can you please click the arrow on 'Show' and then select 'Hide Details'? 
Blake CarreraBlake Carrera 
I'm attempting to do the Trailhead about creating macros. It tells me to open macros from the utility bar while viewing a case, but no matter what I do, I don't see anything. This is in my own sandbox so I'm a system admin. Does anyone have any ideas? 

User-added image
Best Answer chosen by Blake Carrera
Dave RiesDave Ries
Hey Blake,
The "Utility Bar" is the bar at the very bottom of the screen.  In your screenshot, it currently shows "Notes".
It looks like "Macros" may be missing from the bar.
You can try adding it as follows:

- Setup
- App Manager
- Find "Service Console" in the list, and then hit the down arrown on the right hand side and "Edit"
- Then on the left hand side of the App Builder that opens, select "Utility Items"
- Click "Add Utility Item" button
- Select "Macros"
- Hit Save
- Once saved, hith the "<- Back" button on the top right of the screen.

Now go back to your Case record and see if a "Macros" button is at the bottom of the screen.  If so... give it a whirl!

I hope this helps!
Victoria SliwaVictoria Sliwa 
I completed the Community Rollout Strategy - Create Sharing Rules Challange as described in Trailhead:
1. Set OWD for cases to private
2. Create Edna Frank and associate cases with her account
3. Set up Communitites
4. Make Edna Frank a customer community user
5. Create a sharing set "Share cases with customers" where User:Account = Case:Account

However, after attempting the above I've been getting a strange error that reads "Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing:
System.QueryException: List has no rows for assignment to SObject"

Has anyone else been experiencing this problem? Any known solutions?
 
Best Answer chosen by Victoria Sliwa
Mayank SrivastavaMayank Srivastava
Hey Victoria, it is most likely an org issue. Did you try in a completely new Dev org? That has fixed a lot of problems for me in the past. Also, you sharing set should be configured like this:

User-added image


User-added image

(Right click and open in new tab to view a bigger image).
 
Lisa HooperLisa Hooper 
I just received this error for Challenge #5 (Process Automation Specialist): 

Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Any opportunities with amount greater than 100,000 must get approval from Sales Managers.: [Approved__c]

How do I resolve this?
Best Answer chosen by Lisa Hooper
Mohammadsohail PatelMohammadsohail Patel
Hi Lisa

This is the custom validation on opportunity that is causing the error. Make sure the all the data on the opportunity is valid.
Abhishek JainAbhishek Jain 
Hello All,

I need some information about outbound message. i have created the Outbound action in my org. but i am not able to test it means what is the end result of it. Or please let me know if there any setting essential for it.

Thanks & Regards,
Abhishek Jain
Best Answer chosen by Abhishek Jain
Naveen DhanarajNaveen Dhanaraj
1. Navigate to URL https://requestb.in/ and click on ‘Create a RequestBin’.
User-added image
2. This will give you a new Unique Bin URL. Copy the RequestBin Bin URL
User-added image
Now all you need to do is in your outbound message endpoint use this RequestBin URL
User-added image

And then execute a transaction that will cause the Workflow rule to fire and send the outbound message. One the outbound message is sent, switchback to the RequestBin browser window, refresh the page and you will see that the outbound message sent by Salesforce has landed here (the text highlighted in yellow below is the data that was sent from Salesforce based on the columns selected in outbound message definition)


User-added image

Now, since RequestBin cannot return an acknowledgement back to Salesforce on the receipt of the outbound message, Salesforce will keep resending the outbound message for next 24 hours. So if you keep refreshing the RequestBin browser window, you will notice that the same message is landing again and again. If you want to stop Salesforce from resending the message again, then just delete the message from Outbound Message Queue in Salesforce.

User-added image
Darshana PawarDarshana Pawar 
The sharing rule that shares Opportunities owned by Field Sales users with Inside Sales users does not appear to be setup correctly.
Best Answer chosen by Jayson (salesforce.com) 
Narender SinghNarender Singh
So first, you hadn't set the OWD of Opportunity object to Private. It was Public Read/Write.

Second, after changing OWD, when I ran the Apex tests, I got this:
System.AssertException: Assertion Failed: Inside Sales users should be able to read all Opportunities but the test did not find all records. #sadtrombone: Expected: 3, Actual: 2

Since the error was saying "should be able to read all Opportunities", so I checked the View All permission on the Inside Sales profile.

And done.

Strange thing - The SB asks you to NOT to check the View All permission, but the Apex Test error indicates otherwise. And marking the View All permission, passes the Apex Tests.
#JustSuperbadgeThings
Ashley FaggianelliAshley Faggianelli 
Our contact record uses the default mailing address but I am unable to edit it. We do holiday mailers and I would like to make the field required for new contacts because every year at this time I have to go back through and send requests for contact mailing addresses.

Is there a way for me to make this required without having to create custom fields? (We have a basic package for salesforce and I am a system Admin)

Thank you!
Ashley

P.S. Is this something I can request from salesforce? We should have the option to make a field required even when its not a custom one.
Best Answer chosen by Moderator (salesforce.com) 
Marco BMarco B
for the validation rule, go to:
Setup > Customize > Contacts > Validation Rule > New

give it any name you want

In the syntax , put :

OR(
 ISBLANK( MailingCity ) ,
 ISBLANK( MailingCountry ) ,
 ISBLANK( MailingState ) ,
 ISBLANK( MailingStreet ) ,
 ISBLANK( MailingPostalCode )
)


in the error message, put the error text that your users will see when they click on Save while the Mailing Address is not fully filled out
Sharon AylwardSharon Aylward 
A number of acquisitions mean that our company has multiple instances of Salesforce but wants one reporting output. Is there a way that this can be achieved?
Best Answer chosen by Sharon Aylward
Pruthvi RajPruthvi Raj
@SHARON: So each instance will have different reports which will view/return their own instance's data. So YES the results couldn't be viewed in one report.
Casey ShawCasey Shaw 
When i create a brand new visualforce page in the salesforce admin and attempt to view the page, i get the following error:
"This site can’t be reached. xxxxx--c.visualforce.com’s server IP address could not be found."

When i click on the security link next to the visualforce page, all profiles are enabled.

Here is the VF code:
<apex:page sidebar="false" showheader="false">
</apex:page>

Help?
Best Answer chosen by Casey Shaw
Casey ShawCasey Shaw
I discovered the root cause of the issue. An installed package (with a blank namespaceprefix) was uninstalled and caused the blank namespaceprefix URL (mydomain--c.visualforce.com) on visualforce pages to no longer work.
 
I resolved this by installing a new package with no namespaceprefix and a dummy file. This seemed to re-enable the blank namespaceprefix.