• Srinath Terampattil
  • 5 Points
  • Member since 2015

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 3
I am having an error with 'IsException' field while syncing Outlook to SF. The solution suggested from success community posts is to enable Advanced Calendaring in Salesforce. I think developer community is the right place and hence posting this here.

I would really appreciate if someone could tell me what is this 'Advanced Calendaring' - it's features and impact. It would be great if someone could point me to any documentation.


I am trying to write the visualforce to display a related list.  I have a custom object User_Stories__c and a child object Votes__c. The master detail field is called User_Story__c.
 am trying to display all the votes__c records per User Story (the same as a normal related list without the del and edit actions)
I have managed to get the code for the page but the controller logic linking the record together I am struggling with

controller code: -

public class Voters {

    public List<User_Stories__c> story{get;set;}
    public Voters(ApexPages.StandardController standardController)
      string story= [SELECT Name, Voted__c FROM Votes__c WHERE id=:Apexpages.currentpage().getparameters().get('id')].User_Story__c      


Hi friends
I am using a child relationship query to update contact description fields whenever an account record is created or updated.

Apex class code & trigger code is workign fine but I am having an issue in test class. The code coverage is showing 72% .  

Apex class code;
public class Account_ContactDescription
    public void Update_Description(Set<Id> accountIds)
           list<Account> accountsWithContacts =[select Id,Name, (select Id,FirstName,LastName from Contacts) from Account 
                                                                           where Id IN : accountIds];
           list<Contact> contactsToUpdate=new list<Contact>();
           for(Account a:accountsWithContacts)   //loop through all queries 
                 for(Contact convals:a.Contacts)
                        convals.Description=convals.FirstName+' '+convals.LastName;
           update contactsToUpdate;

Apex Trigger code:
trigger trg_UpdateContactDescription on Account (before Update)
    Account_ContactDescription c=new Account_ContactDescription();
    Map<Id,Account> amap = new Map<Id,Account>([select Id from Account]);
    Set<Id> accountIds = amap.KeySet();

Test class code:
private class AccountContactDescription_Test
    private static testmethod void validatetest()
         Profile p = [SELECT Id FROM Profile WHERE Name='System Administrator']; 
         User u = new User(Alias = 'sample', Email='standarduser@testorg.com', 
         EmailEncodingKey='UTF-8', LastName='sampleLname', LanguageLocaleKey='en_US', 
         LocaleSidKey='en_US', ProfileId = p.Id, 
         TimeZoneSidKey='America/Los_Angeles', UserName='testnamesss@testorg.com');
              Account  acn = new Account();
              Contact con = new Contact();

How to update the  description field but not sure how to go about it.
Can anyone pls le tme know:?

sonali verma

Hi all.


As noted in this post that talks about notifications in Salesforce1, is there any document about the universal notification framework? I find nothing concerning “send push notifications to individuals and groups using Apex”.