• open basketball guide
  • 0 Points
  • Member since 2021

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 2
How can i ignore the www. for not showing an error example (www.yahoo.com = yahoo.com; www.cs.org != www.cs.ph)
here is duplication method for my website. Thanks in advance

public static void checkDuplicateWebsite(List<Account> newRecord){
       for(Account a: newRecord){
           List<Account> account = [SELECT Id, Website FROM Account WHERE Website=:a.Website];
               a.adderror('You cannot create a duplicate Website');

I have one requirement in which i want to push data from wordpress page to salesforce object.

In Example,

I have one registration page in wordpress and when i hit save, the data of registration form needs to be save as salesforce custom object record.

Is it possible to achieve ?