• Ajay_SF
  • NEWBIE
  • 0 Points
  • Member since 2015
  • Consultant
  • Salesforce

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 1
    Questions
  • 3
    Replies
Hi! What's the best way to parse the following text email body? Email body-
This is a detailed summary of your live recurring billing transactions for the 24 hours prior to the time of this e-mail.


Successful Recurring Billing Transactions:

Credit Card transactions
The following profiles have successfully charged customer credit cards:

Profile ID: 12
Profile Name: DONOR_1
Payment Number: 5
Retry Number: 0
PNRef: BL001YY
Transaction Time: 29-Apr-21  06:26 AM
Amount: 50.00

Profile ID: 13
Profile Name: DONOR_2
Payment Number: 5
Retry Number: 0
PNRef: BL001XX
Transaction Time: 29-Apr-21  06:26 AM
Amount: 50.00


Total Number of Approved Transactions: 2
Total Approved Amount: 100.00


Declined Recurring Billing Transactions

Credit Card transactions
The following profiles have failed to charge customer credit cards for the current payment period:

Total Number of Declined Transactions: 0
Total Declined Amount: 0.00



We thank you for your business.

Sincerely,

PayPal Merchant Services

I'm looking to build a List<TransactionInformation>, something like this-​​
public class TransactionInformation {
    public String ProfileID;
    public String ProfileName;
    public Integer PaymentNumber;
    public String RetryNumber;
    public String PNRef;
    public String TransactionTime;
    public Decimal Amount;
}

 
Wrong data is being shown and it's making people sad :(


We have a VF page that we embedded in the Account page layout. 
The VF page just has a few <div>'s with a few fields from the account. They are shown using apex:outputText tags.

What people are finding is that when looking at different account pages, sometimes the VF will show values from a previously viewed account! Like the VF page has cached the values, and is not refreshing.

A few things:
This only happens on Salesforce1, desktop is fine.
We have tried turning off cacheing in both the header and the app, but no avail. 
We tried putting a refresh call in the VF page, but no good. 

Anyone else experienced this issue? 
Many thanks,
Daniel
 
I have added a custom HTML header to my community. I have the html coding from Salesforce to add the 'search function' back in, but I was after something a little more fancy, like what the Napili template uses. I have no real experience with Visualforce/HTML so am treading blindly. 

Can anyone provide help with coding or how I would go about this? Thanks in advance!

Napili Global Search
We just upgraded/migrated our Customer Portal to the new Customer Communities platform (but kept the Customer Portal licenses and did not migrate to new Communities licenses) and now when we create a new Community User the Welcome email is not sending at all - regardless of whether or not you check "Generate new password and notify user immediately" or not - have tried both ways on initial creation and either way it does not send the welcome email.

In the Manage Communities Setup option we do have "Send welcome email" checked and created a new email template to be used with it. The template is active and Available for Use. All of the Portal Profiles and permissions have been given access to the new Community. 

When I first Published the new Community I did not have the Manage Communities Setup option "Send welcome email" checked because I didn't want to blow up all the existing Users' inbox. We were already sending an email to customers announcing the upgraded Community. But then once it was Published and the new email template was created the setting was checked back to "Send welcome email".

What does work is after you create the new user and leave "Send welcome email" unchecked, Save it. Then go back and click 'Edit' and now check "Send welcome email". That will then send the email template set for the 'Forgot Password' and 'Change Password' options in the Manage Communities Setup options.

And apparently, SFDC changed how they treat these emails from Portal to Communities, but does not mention this in any documentation. In Portals an auto-generated password used to be contained directly in the email template, inserted at the bottom.

Now, in the new Communities, that auto-generated password is no longer included, but they changed how they do this for security reasons (winter 14 release update apparently) and instead of sending a username and password in the email they now send a special link that allows people to click and change their password.

The trick is that your forgot your password email template needs to include this special merge field (undocumented anywhere by SFDC from what I found):

{!Community_Url}

If you include that it will be replaced with a special url that allows the user to change their password and logs them in. Thread where I first found this out: http://salesforce.stackexchange.com/questions/17887/communities-forgot-password-emails

This is being successfully included in the 'Forgot Password' and 'Change Password' email templates that were created. So when I go back to the newly created User and click 'Edit' and now check "Send welcome email", it does send the email template set for the 'Forgot Password' and 'Change Password' options to the new user and they are able to get in after setting their password.

Any ideas or help you can provide??

Thanks,
Alex
I have added a custom HTML header to my community. I have the html coding from Salesforce to add the 'search function' back in, but I was after something a little more fancy, like what the Napili template uses. I have no real experience with Visualforce/HTML so am treading blindly. 

Can anyone provide help with coding or how I would go about this? Thanks in advance!

Napili Global Search