Ask Search:
Deanne WaltersDeanne Walters 
I have two custom objects which are Shopping Cart Items and Payments. The Shopping Cart Items have a lookup to Payments.

So what I want to do is have a list of all of the Shopping Cart Items related to the Payment in a text field on the Payment using the Name field in Shopping Cart Item.

I can't seem to figure out how the loop should be set up. Any help?
Best Answer chosen by Deanne Walters
Narender SinghNarender Singh
I have used an example of Accounts and Contacts.
Video Link: https://screencast-o-matic.com/watch/cFQrDcqRpo
Abdul RaheemAbdul Raheem 
I am trying to import a set of recurring donations  into salesforce using data loader. But during the import salesforce creates recurring donation entry but not the corresponsing recurring oppurtunities for each.  When I try with single record import it creates both recurring donation and corresponsing oppurtunities but same does not happen when I do it in bulk. can any one help please.
Best Answer chosen by Moderator (salesforce.com) 
Judi SohnJudi Sohn
You'll need to import the opportunities that are related to the recurring gift separately and relate them to the recurring gift by putting the recurring gift ID in the field on the opportunity. The mechanism that creates the opportunities only works when you're in the browser and not when records are uploaded via the API. 
Pamela Callas Di RosaPamela Callas Di Rosa 
I need to hyperlink text in a form field.
Specifically, I need to insert a link in a custom checkbox filed I created for the Privacy Policy.
es. I accept the privacy policy (link to the privacy policy page)
How can I do it using Pardot form?
Thanks!
Best Answer chosen by Ed (salesforce.com) 
Mausam KumariMausam Kumari
Yes, you can add links to a form field aka label. It turned out to be very simple. I used this tag in the label to open the url in a new page. 

a href="url" target="_blank">text</a>

So my label read:

I agree to the <a href="url" target="_blank">Privacy Policy</a>.
Jody PupeckiJody Pupecki 
We are using the non-profit CRM and created a custom field in the household view for newsletter since we only want one newsletter going to the house even though there might be multiple contacts listed in the household.

When I create a custom report to pull the right information from the household for mailing labels we found that when running the report, if there were 3 contacts listed in the household then the report listed the household 3 times.  How do I hide the duplicates so when I run the report I am only seeing the household listed once?
Best Answer chosen by Moderator (salesforce.com) 
Judi SohnJudi Sohn
 Hi Jody, I believe you're using the wrong report type for your report.

You are starting with a report that begins with Contacts and including Households, right? That's your problem. The report is looking at each individual and giving you that data. So if you have 4 people in a Household you're getting each person in the Household on each row of the report. 

Instead, create a new custom report and select "Other Reports" from the box on the far left, then "Households" in the middle box.

Now you'll get a report which each Household in its own line. Mind you, this report won't have any contact-specific data unless you've added fields that pull data from household contacts. But for a postal mailing list, this is what you want. 
Christine MarshallChristine Marshall 
I do know how to link my Trailhead account with my success community profile!

BUT my Trailhead account is already linked to a previous community profile I had via a job. I now use my personal profile and would like to link it to Trailhead to display my badges. I know you cannot link your Trailhead to 2 community profiles but I do not have access to the old account to remove the link...

I have contacted Salesforce but they won't help me and keep telling me to post in the community/developer community. Does anyone have contact details for someone at Salesforce who can remove the Trailhead link on my old profile so I can re-link to my new profile?

Thanks! 
Best Answer chosen by Christine Marshall
Chris EmmettChris Emmett

Here are ALL the details I provided. Hope it get's you further :-)

Problem Type: General Salesforce Functionality
Product Topics: All Help or Online Training Questions
Case Subject: Linking Trailhead/Webassessor to Success Community
Severity Level: Level 4 - Medium
Instance Type: Production
Have you granted login access?: No
Steps to Reproduce: Click Connect Certification Account in the Success Community profile.

Andy AldisAndy Aldis 
I want to add my certification to my profile isn't there some official icon or logo I can add?
Best Answer chosen by Andy Aldis
Geoffrey FlynnGeoffrey Flynn
Hi Andy,

In the email you received when you passed, they provide a link for the official logo
User-added image

In the top right of the screen you are looking at now you can also access your profile and edit it.  The logos don't show up automatically.  A lot of people put them on their profile picture, to each their own, my profile picture is currently a golf ball.  

In the About Me section of your profile is where I find most people put their certifications, it's where I put mine.

If you want full visibility, add it to your profile picture.

If you want recruiters calling make sure you add it to your LinkedIn profile :)
Griffen HuelerGriffen Hueler 
I am trying to add comments as an available field when creating a new task under the opportunity object. Right now if you create a new task under a specific opportunity and then edit it you can add comments but not able to add comments when creating the opportunity. Thank you
Best Answer chosen by Griffen Hueler
Kris RyanKris Ryan
Hi Griffen,
Are you in Lightning or Classic? What type of activity are you trying to create, Log a Call, Event, etc?
Ramakrishnan AyyanarRamakrishnan Ayyanar 
force:hasRecordId interface doesn't get recordId attribute value of the record in lightning component in Winter 18?

code: 
comp code:

<aura:component implements="force:lightningQuickAction,force:hasRecordId" >
  
   <aura:attribute name="recordId" type="id" access="global"/> 
  <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
</aura:component>

comp controller js:
({
 doInit: function(cmp)
 {
 console.log("recordidjs: "+component.get("v.recordId"));
 }
})

Result: 
We have added the above component in record detail page
In Winter 18 - we get "recordidjs: undefined" in console

This same code displays record id in previose releases

 
Best Answer chosen by Ed (salesforce.com) 
Tim CaljeTim Calje
Ran into the same issue but calling the lightning component from a quick action instead the global action solved the issue.

Gentle reminder to also replace the global action on the record page with the quick action.
Adeline MooreAdeline Moore 
Here is the error message I keep getting:
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, A contact with a MailingPostalCode that has an account and does not match: []
Here is my screen shot of my validation rule:
User-added image
Best Answer chosen by Adeline Moore
Sandeep Kumar GaddamSandeep Kumar Gaddam
Hello Moore,

try below formula in validation this should fire when you try to save contact which has diffrent zipcode then the account it is belong to . 
 
ISBLANK(AccountId)||(MailingPostalCode<>Account.ShippingPostalCode)

Also when are you getting this error ? System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, A contact with a MailingPostalCode that has an account and does not match: []

Are you getting this at the time of inserting contact from dataloader ? if so please have the data which will sastify the validation rule.

Thanks
PS: Mark a best answer as well so that thread is closed and help us to keep community clean.
 
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).