• Beer Nutthawan
  • NEWBIE
  • 120 Points
  • Member since 2014
  • CRM Specialist
  • Round 2 Solutions

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 4
    Likes Given
  • 5
    Questions
  • 37
    Replies
Hi Everyone 

Regarding the Winter 19 release, we are going to have an Even Series in Lighting Expereice (Recurring Events in Salesforce Classic) 
after testing the feature I got an error 
"You can’t use custom fields on an event series in Lightning Experience. Remove values or create a single event instead." 
So, what should be the best way to over come the issue if we want to use the feature and we need to maintain the custom fields(required fields)?
Please suggest,  

Thanks 
Nutthawan P.  
Hi Everyone 

We would like to add emails from Saleforce for example alert@mail.salesforce.comnoreply@salesforce.com , noreply@mail.salesforce.com in our Company whitelist because some of Salesforce emails go to spam box.
So can anyone get me a List of all email addresses from Salesforce Email Servers?  

Thanks
Nutthawan P. 
 
Hi All, 

Will it possible to prevent the secondary currency(value in parentthesis) field from updating when we change the exchange rate? here is example 
Amount: EUR 6,800.00 (USD 7,628.92), once we update exchange rate the 6,800 remains but the 7,628.92 gets changed. 

The reason why we need this is that we want to know the last year USD amount how much we had gained comparing with current year. 
And will it possible to prevent the update for specific Opportunity's Stage, let's say only "closed" we don't want the Amount to get updated? 

Thansk and Regards
Nutthawan P.  
 
Hi All 

I would like to backup the following : 
1. Saleforce data
2. Attachements 
3. Apex codes and Visualforce page 

Currently, I do Salesforce data backup and attachment in monthly, I use Schedule Data Export and some time I do it manually by using data load for each object. But the storage that I have now it keeps increasing. So, is there a way to make automated backup in monthly for this kind of back up and we can keep it in the cloud? 

And a part from this I would like to do versioning for Apex and Visualforce page, currently I use Eclipse for my version control but I can use on my pc only. I want the team to access this version control too. I am not sure if Eclipse can do something like sharing with team. So, it would be great if you guys can share me some ideas regarding this.

Thanks 
Nutthawan P


 
Hi All 

I got this Message from Salesforce when I tried to open one of my Home Component(Customize>> Home >> Home Components)
which its Type is HTML Area. Here is the messahe "This component contained unsupported elements that have been removed. Click continue editing the cleaned content".

User-added image

And once I opened it, there is nothig as it's totally cleaned. So, where can I get backup code?
Is it possible to find a backup of my code in Production or in any Sandbox. 
I googled it, and found this : http://docs.releasenotes.salesforce.com/en-us/summer14/release-notes/rn_forcecom_home_page_components.htm
Bug they don't mention about the backup code.

Best regards
Hi All 

I would like to backup the following : 
1. Saleforce data
2. Attachements 
3. Apex codes and Visualforce page 

Currently, I do Salesforce data backup and attachment in monthly, I use Schedule Data Export and some time I do it manually by using data load for each object. But the storage that I have now it keeps increasing. So, is there a way to make automated backup in monthly for this kind of back up and we can keep it in the cloud? 

And a part from this I would like to do versioning for Apex and Visualforce page, currently I use Eclipse for my version control but I can use on my pc only. I want the team to access this version control too. I am not sure if Eclipse can do something like sharing with team. So, it would be great if you guys can share me some ideas regarding this.

Thanks 
Nutthawan P


 
Hi Everyone 

We would like to add emails from Saleforce for example alert@mail.salesforce.comnoreply@salesforce.com , noreply@mail.salesforce.com in our Company whitelist because some of Salesforce emails go to spam box.
So can anyone get me a List of all email addresses from Salesforce Email Servers?  

Thanks
Nutthawan P. 
 
There is a critical update - View Setup permission now required to run tests synchronously using the POST method for runTestsSynchronous. How to enable this Permission. Please explain in steps
Hi All, 

Will it possible to prevent the secondary currency(value in parentthesis) field from updating when we change the exchange rate? here is example 
Amount: EUR 6,800.00 (USD 7,628.92), once we update exchange rate the 6,800 remains but the 7,628.92 gets changed. 

The reason why we need this is that we want to know the last year USD amount how much we had gained comparing with current year. 
And will it possible to prevent the update for specific Opportunity's Stage, let's say only "closed" we don't want the Amount to get updated? 

Thansk and Regards
Nutthawan P.  
 
Hi Gurus,

I developed an APex class to return a list of opportunities in a particular stage and used this list to display in a visualforce page. 
My code:
public with sharing class mycurrentplanningopps {

   

   public list <Opportunity> Opp {get; set;}
   public String UserId {get; set;}
   
    public list <Opportunity> getmyincompleteopps()
     {
       
       UserId = UserInfo.getUserId();
     
     
     if(UserId == '00590000001CxIm')
     {
          Opp = [select name,contact_s_Fullname__c,CreatedDate,CloseDate,
                   First_3_stages_of_Audit_pack_up_complete__c, 
                   Cancel_any_existing_insurance_cover__c,
                   Complete_any_remaining_rollovers__c,
                   Confirm_if_revenue_has_been_received__c,
                   Ongoing_advice_to_be_implemented__c,
                   Email_the_clients_and_CC_the_planner_in__c,
                   Current_FSG_signed_and_on_file__c,
                   Client_consent_to_prepare_the_SOA__c,
                   Signed_option_to_quote_TFN__c,
                   ATP_Gearing_ATP_if_applicable__c,
                   Signed_Ongoing_advice_authority__c,
                   Copies_of_all_application_held_on_Serve__c,
                   Copy_of_SOA_on_server__c,
                   Copy_of_Fact_find_file_note_on_serve__c,
                   Confirmation_of_transaction_where_online__c,Id
               from Opportunity where StageName =:'Signed Financial Plan and Insurance'];
               
      
      }
      
      
      else
      { 
         Opp = [select name,contact_s_Fullname__c,CreatedDate,CloseDate,
                   First_3_stages_of_Audit_pack_up_complete__c, 
                   Cancel_any_existing_insurance_cover__c,
                   Complete_any_remaining_rollovers__c,
                   Confirm_if_revenue_has_been_received__c,
                   Ongoing_advice_to_be_implemented__c,
                   Email_the_clients_and_CC_the_planner_in__c,
                   Current_FSG_signed_and_on_file__c,
                   Client_consent_to_prepare_the_SOA__c,
                   Signed_option_to_quote_TFN__c,
                   ATP_Gearing_ATP_if_applicable__c,
                   Signed_Ongoing_advice_authority__c,
                   Copies_of_all_application_held_on_Serve__c,
                   Copy_of_SOA_on_server__c,
                   Copy_of_Fact_find_file_note_on_serve__c,
                   Confirmation_of_transaction_where_online__c,Id
               from Opportunity where Ownerid =:UserId and StageName =:'Signed Financial Plan and Insurance'];
       }        
        return Opp;
    

    }



 


}

It is working fine for other users which means else block is working. But it is not showing the list for the user I am checking here. I am using the visualforce page in a visualforce page area and placed it on home page layout for the users


Can any one please help me in this?

Thanks in advance.
 
  • September 26, 2016
  • Like
  • 0
Good Afternoon,

I am working with a client that has a trigger that converts leads to contacts whenever a new lead is created.  When the lead is converted and a contact is create a notification email is sent to the new contact owner.  We are going to be doing an import of over 300k new leads.  I am looking for a way to stop the notification from being sent from SFDC to the new contact owner.
Hi 

could you please give an example on Test Class. Based On apex class how to write test class 

Thanks & Regards 
SS
  • September 01, 2015
  • Like
  • 0
Hi,

I have executed "Run all test" to get code coverage of all apex classes. Is there way to get all apex classes code coverage with percentage copy to excel sheet. I am able to see all classes with percentage in Developer console. But not able to copy all those. Please provide some suggestion.
When an agent changes the lead status to Unqualified we need to identify the Name of the user who changed the status to Unqualified and date also in two dieffernt fields (Unqualified by , Unquliafied date)

1. Unqualified by : we need to disply the user name who unqulaified the Lead
2. Unqualified Date : We need to disply the date/time of the Unqualification 

Thanks in advance.
Bablu
  • August 31, 2015
  • Like
  • 0
I keep getting this message when i go to convert lead to account,,,,
Error: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Lead Source]: [Lead Source] (System Code)
Thanks everyone, guys i do have some workflow in place, when i am doing mass transfer of ownership from the Recyleopps which is the list of not used account for last 30 days to users. At that time some of the workflows which have to run whenever the ownerr got change it have to run and change the field update but its not getting update and its not changing the status as well and accordingly to workflow it should have to change. Btw it was working when you do it manually but not working in Mass Transfer.
Hello there!:

Is there a way to have a validation rule on an approve?...
I mean... I have a register created from a VF. This register will be sent to approve automatically... But i don't want the approver to approve this before he/she fills some fields.
In other words, i need this register sent to approve to make the approver notice that has a new register to validate. But i want the approver to fill some fields that only the approver will know. As a validation, i don't want the approver to approve if he/she doesn't fill those fields. Like an alert or something... "you can't approve this register if you haven't fill the required fields X, Y and Z" 

I thought on change the register type from the VF, send to approve but hide the approve section on the page format, then make this fields mandatory and when saved with the changes, return to another register type with the approve section visible...
But thought it could be a easier way to do this with validation rules or a functionality i don't know yet. 

Any thoughts? 
Hello all,

I'm tring to complete the step "Creating a Visualforce Page"  on project "Build a Conference Management App" and when I hit the verify button I get the following error :

"There was an unhandled exception. Please reference ID: VQLWBWHN. Error: Faraday::Error::ResourceNotFound. Message: NOT_FOUND: The requested resource does not exist
Note: you may run into errors if you've skipped previous steps."

Could someone please help me ?

Thanks a ton.
In SalesForce, we would like to add a field (or multiple) for all of our accounts that designates them to a certain route. The format of this field would look something like : RouteName-#, 
where # denotes the position of the account for that RouteName. For example, if there are 50 accounts in 5CHA route, the field (let's call this Route Position) for all those accounts will start off as 5CHA, but will all have a unique position from 5CHA-1 to 5CHA-50. 

What we are hoping to achieve is to this field automatically increase or reduce for all affected accounts when we add or remove accounts, respectively, from the same route. The overall route order will most likely not change. For example, we have decided a new account will be in Route Position 5CHA-23, after the current 5CHA-22 but before the current 5CHA-23. This will place the new account at 5CHA-23, while all the subsequent account starting 5CHA-23 to 5CHA-50 will be updated by a +1 in their position. Similar trend will apply for when we are removing an account with a -1 to their Route Position. 

With that said, there will be no duplicates in Route Position for any accounts. There might be cases where an account might have up to 3 route positions if they belong in 3 different routes.
I have a field called "Call_Count__c" which is a number field in Contact. I want that when some one logs a call and if the Subject Category is "Call" or "Update" the Call Count field should increase by 1. for eg if value in call count field is 3 it should become 1. Please help me with a trigger for this.
Hi Guys,
  1. Until the Spring 15 release, Maps and Sets are Unordered Collections. So the returned order will be random.
  2. But beginning from Summer 15 release onwards, Maps and Set order is predictable. The order will be same that what you put from the beginning to end.
Example:
Map<String, String> orderedMap = new Map<String, String>();
orderedMap.put('Good', 'This is so good');
orderedMap.put('Bad', 'This is so bad');
System.debug(orderedMap);

If you run the above code snippet in Developer console you will get the returned order as below,

Until Spring 15 Release:

{Bad=This is so bad, Good=This is so good}

From Summer 15 Release:

{Good=This is so good, Bad=This is so bad}

This changes is not the API level, this is Schema level change. If anyone relying on the Map or Set order in your codes, change it as soon. 

Thanks.

Hi,

I am new to salesforce.pl anyone can help me how to implement trigger for the following

        When a number is inserted, how to find that number is even/odd or prime number or armstrong or a palindrome.

Thanks in advance

can I export data from salesforce into tab delimited text file using Salesforce?

  • July 18, 2012
  • Like
  • 0

I don't have much credit finding this weird thing but I wanted to know if it's a bug or if it's really intended, which I cannot imagine. 

copy paste from this blog: http://blog.tquila.com/2012/06/25/grokking-force-dot-com-apex/

 

"Unit Tests increment your Objects unique Id

This is not covered in the documentation, or atleast I haven’t found it in the Apex docs. When you run unit tests that insert/create records for a particular object(standard or otherwise), it increments the value of the Name field(of type Auto Number) outside of the test context.

Let’s say you have a custom object “Invoice Statement” (Invoice_Statement__c) that has a Name field called “Invoice Number”, and is of type “Auto Number”. The format of the field is: INV-{0000}, and let’s assume that the latest record number is INV-2058.

If you insert 10 records in the test class as follows:

 

1// Let's assume that this runs inside of a test method
2List<Invoice_Statement__c> invStatementList = new List<Invoice_Statement__c>();
3for(Integer i = 0; i < 10; i++) {
4  invStatementList.add(new Invoice_Statement__c(company='acme ltd');
5}
6insert invStatementList;

 

Now, when you insert a new Invoice Statement record outside of the test method via a trigger, or batch, or the User Interface, the next inserted record will have the id INV-2069. So don’t rely on the unique name field if you have strict rules around the auto-increment feature in your application. Instead add a custom field which is auto-incremented in a workflow or trigger to have more granular control over how the value is incremented."

 

I verified that by myself, and this indeed happen. I remember having used these numbers for customer who want to have exactly one unique number per record (especially for bills), so this could be a huge issue.

 

Anyone aware of that? I didn't find it in the Salesforce known bug ....

There is a critical update - View Setup permission now required to run tests synchronously using the POST method for runTestsSynchronous. How to enable this Permission. Please explain in steps
About SUMO Scheduler
SUMO Scheduler is a fast growing technology startup company (salesforce.com AppExchange Partner) headquartered in Oakland, California.  Our solution is a cloud & mobile based application that companies use to automate scheduling of people.  For example:

-Call Centers use SUMO to schedule installers with customers.

-The Superior Court uses SUMO to schedule interpreters into court rooms.

-Healthcare organizations use SUMO to schedule physicians with patients.

Position Overview
We are seeking a very hands-on VP of Engineering, who will be directly responsible for leading the Development & QA Team (india-based) to deliver 2-3 solid releases annually according to the Product Roadmap.
Position Requirements

-You have at least 2 years experience managing a team of developers (offshore) and QA staff to deliver a fully functional, bug-free, easy-to-use product release on-time.

-You are a tough deadline-driven leader and capable in keeping your team on track to meet hard release deadlines, even if that requires mandating nights or weekends at times.

-You must be a salesforce.com expert with 3+ years setup & apex/vf experience.

-You are very hands-on and will even conduct some QA yourself to assure your team is getting constant feedback, necessary to deliver a good product.

-You may have experience administering JIRA, Subversion, Time-Logging, and more.

-You are very dependable (do what you say you are going to do), a team player, easy to work with, and super customer friendly.

-We would strongly prefer you work out of our Oakland Office (photos here).
Position Duties

-You will be responsible for managing our dev team (india-based) to deliver 2-3 releases per year to-spec, on-time, and on-budget.

-Your team will deliver patches monthly for the current and last previous release.

-Through delegation and owning part yourself, you will assure each release includes all necessary documentation & training materials, including Release Notes, Video Tutorials, KnowledgeBase Articles, and Installation / Implementation Guides.

-You will host a daily Scrum Meeting with the SUMO Engineering Team.

-You will diligently follow our Discovery, Design, Agile Build, QA, Packaging, and Release process.
SEND YOUR RESUME TO JOBS@SUMOSCHEDULER.COM AND COMPLETE THIS FORM

https://docs.google.com/a/sumoscheduler.com/forms/d/1p-G75lOYZf7ino3DdkYvwUEXw4d_KPWg3UlEP9me3zA/viewform?c=0&w=1
(Job Posting) https://docs.google.com/document/d/1l_J9YnIMuPOmDU8D1y_9n0ocuK8vEwfYF0KRF8wUuSc/edit#
 
Hot new company exploding with growth needs a self motivated, client facing Senior Developer!!  Full benefits and more!  Contact me at nancy@tech2resources.com
Hi Guys,
  1. Until the Spring 15 release, Maps and Sets are Unordered Collections. So the returned order will be random.
  2. But beginning from Summer 15 release onwards, Maps and Set order is predictable. The order will be same that what you put from the beginning to end.
Example:
Map<String, String> orderedMap = new Map<String, String>();
orderedMap.put('Good', 'This is so good');
orderedMap.put('Bad', 'This is so bad');
System.debug(orderedMap);

If you run the above code snippet in Developer console you will get the returned order as below,

Until Spring 15 Release:

{Bad=This is so bad, Good=This is so good}

From Summer 15 Release:

{Good=This is so good, Bad=This is so bad}

This changes is not the API level, this is Schema level change. If anyone relying on the Map or Set order in your codes, change it as soon. 

Thanks.