• Martha Vance 5
  • NEWBIE
  • 40 Points
  • Member since 2016
  • Volunteer / System Administrator
  • Daring Adventures

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 10
    Questions
  • 29
    Replies
Hi, my code has passed the step 4 check, but when I try the search by boat type no boats appear on the BoatSearchResults component. I have done some debugging and found that it is not entering into the aura:iteration and can't figure out why. Hopefully someone can help me.

The string "going to AuraIteration" appears on the screen, but nothing else. The variable v.boats contains the right amount of items (I am testing it with Sailboat type and it has 2 items. It also has the right values in each object.

Here is my code: 


BoatSearchResults.cmp
<aura:component controller="BoatSearchResults">
    <aura:attribute name="boatTypeId" type="String" />
    <aura:method name="search" description="gets the boatTypeId from BoatSearch component and runs the search"
                 action="{!c.doSearch}">
        <aura:attribute name="boatTypeId" type="String" />
    </aura:method >
    <aura:attribute name="boats" type="Boat__c[]" />
    <lightning:layout multipleRows="true" verticalAlign="center" horizontalAlign="center">
        <aura:if isTrue="{!v.boats.length &gt; 0}">
            going to AuraIteration
            <aura:iteration items="{!v.boats}" var="boatItem">
                <lightning:layoutItem flexibility="grow" class="slds-m-right_small">
                    <h3>calling BoatTile</h3>
                    <c:BoatTile boat="{!boatItem}"/>
                </lightning:layoutItem>
            </aura:iteration>
            <aura:set attribute="else">
                <lightning:layoutItem class="slds-align_absolute-center" flexibility="auto">
                    <h3>No boats found</h3>
                </lightning:layoutItem>
            </aura:set>
        </aura:if>
    </lightning:layout>
</aura:component>

Also, can someone tell me how to post code so it looks like code (lined and with the option to copy, etc)

Thanks!

 
Hi, I am testing a controller that sends emails to Campaign Members. My problem is that when I insert the Campaign Members, they get inserted with the wrong Status (not the one I set up in the test). I have even tried to retrieve the records inserted and change the status again and then do an update, but again the status during the test gets recorded with the wrong value.

I thought maybe it was a trigger of some sort (I am using the NSPS package), but when I add the campaign member through the UI it is not happening. It is only happening during the test.

Does anyone knows why this is happening?




Here is some of my test code, where I insert the records
        List<contact> contacts = new List<Contact>();
        for (Integer x = 1; x < 9; x++)
        {
            Contact cont = new Contact(FirstName = 'test'+x,
                                       LastName = 'test ' + x,
                                       email = 'marthacv@gmail.com');
            if (x==8) cont.email = '';
            contacts.add(cont);
        }
        insert contacts;
        List<Campaign> campaigns = new List<Campaign>();
        for (integer x = 0; x<4; x++)
        {
            Campaign camp = new Campaign(Name = 'Campaign ' + x,
                                         Type = campaignTypes[x],
                                         StartDate = campaignDates[x],
                                         IsActive = True,
                                         Status = 'Planned',
                                         EndDate = campaignDates[x],
                                         Description = 'testing emails',
                                         RecordTypeId = '012o0000000xwhO',
                                         Fee_for_Activity__c = fee.id);
            campaigns.add(camp);
        }
        Database.SaveResult[] srList = Database.insert(campaigns, false);
       participant = new CampaignMember(ContactId = contacts[1].id,
                                         Status = 'Signed Up',
                                         CampaignId = campaigns[4].id);
        participants.add(participant);        
        insert participants;

... after the inserts I run the test with several campaigns

        List<String> returnPages = new List<String>();
        List<PageReference> pgref = new List<PageReference>();        
        ApexPages.StandardController std1 =
            new ApexPages.StandardController(campaigns[0]);
        CMSendEmails firstTest = new CMSendEmails(std1);
        pgref.add(firstTest.SendTheEmails());
        returnPages.add(pgref[0].getUrl());

 
I want to use the information from a report in a visualforce page. Can that be done? I only see the instantiate class for asynchronous reports.
Any help is appreciated.
I am a new administrator to this org. I haven't used them in any of my implementations, but the email I got from SF says the org has some. How can I find where they are?
I have an apex extension for a visualforce page that sends emails using the SignleEmailMessaging method. It sends email using an email template with merge fields from a custom object called ParticipantEmail. However, I am getting an error on the WhatId method call.

here is that part of the code:
       //the class WrapTemp has two attributes, one of type ParticipantEmail__c named tempRec and the second one is a string named type_member
        for (WrapTemp wCM : pEmails){
            Messaging.SingleEmailMessage mess = new Messaging.SingleEmailMessage();
            List<String> bccAddys = new List<String>();
            bccAddys.add(UserInfo.getUserId());
            mess.setBccAddresses(bccAddys);
            system.debug('wCM.tempRec.ContactId = ' + wCM.tempRec.ContactId__c);
            system.debug('wCM.tempRec.Id = '+wCM.tempRec.Id);
            //set the contact to be emailed
            mess.setTargetObjectId(wCM.tempRec.ContactId__c);
            system.debug('wCM.tempRec.Id = '+wCM.tempRec.Id);
            id theRecId = wCM.tempRec.Id;
            system.debug('theRecId = '+ theRecId);            
            mess.setWhatId(theRecId);
            if (wCM.type_member == 'Participant') 
                mess.setTemplateId(temp.Id);
            else 
                mess.setTemplateId(volTemp.Id);                 
            messages.add(mess);            
        }
        messaging.sendEmail(messages);

Here is what I get from the debugger:
User-added image
It says the id is a284B0000007BOiQAM

but then the error I get says this 


System.EmailException: SendEmail failed. First exception on row 0; first error: INVALID_ID_FIELD, Invalid entity type for whatId.: [whatId, a284B0000007BPf]
Error is in expression '{!SendTheEmails}' in component <apex:commandButton> in page cmsendemailsvf: Class.CMSendEmails.SendTheEmails: line 129, column 1


Does anyone see what my problem is here?  I have no idea.
We need to have a button from the Campaign detail page that will send emails (using a template) to selected campaign members.


I made a visualforce page with an extension to help with the selection of the campaign members to be emailed. Once I had that all done however I found out that SendSingEmail using a template doesn’t work with CampaignMember as a whatid(). So now, I wonder if it can be done with a visualforce template. Am I thinking on the right direction or is there a better solution for this?
Hi, I wrote a class that has no static methods (due to some public variables that I needed to use accross different methods). I tested it by making an instance of the class. My question is once I get it in production how do I call it?

Here is my code
public class ImportAZGives {
        public List<AZGives_Donor__c> donors;
        public map<String, AZGives_Donor__c> map_donors;
        public List<Opportunity> oppys;
        public List<Task> taskList;
        public Campaign theCampaign;
        public List<Contact> newContacts;
        public List<AZGives_Donor__c> annon;        

    
    public ImportAZGives(){
        annon = new List<AZGives_Donor__c>();
        theCampaign = [SELECT id, Name FROM Campaign 
                       WHERE Name = 'AZGives Main Campaign' limit 1];
        oppys = new List<Opportunity>();
        taskList = new List<Task>();
        for (Integer x=0 ; x<30; x++)
        {
            boolean done = checkWithContacts();    
            if (done) x = 31;
        }
    }
    
    public Boolean checkWithContacts() 
    {
        donors = [SELECT id, Amount__c, Transaction_Date_Time__c, Anonymous__c,
                 FirstName__c, LastName__c, Email__c, Phone_Number__c,
                 Address_1__c, Address_2__c, City__c, State__c, Country__c,
                 Zip_Code__c, Cover_Fees__c, In_Memory__c, Comments__c, Get_Involved__c,
                 Campaign_Name__c, Processed__c, Matched_Email__c, Not_Found__c 
                 FROM AZGives_Donor__c WHERE 
                 (Not_Found__c = false AND Processed__c = false AND 
                  Matched_Email__c = false) Limit 200];
        system.debug('donors.size() = '+ donors.size());
        if (donors.size()>0)
        {
            map_donors = new map<String, AZGives_Donor__c>();
            system.debug('map_donors.size() = '+ map_donors.size());
            for (AZGives_Donor__c donor : donors)
            {
                system.debug('donor = ' + donor);
                if ( ! map_donors.containsKey(donor.Email__c))
                    if (donor.Anonymous__c.contains('Fully')) annon.add(donor); 
                    else
                        map_donors.put(donor.Email__c, donor);
                }
            system.debug('map_donors.size() = '+ map_donors.size());
            SearchContacts();
            return false;
        }
        else return true;
    }
    
    public void SearchContacts(){    
        system.debug('in SearchContacts');
        List<Contact> conts = [SELECT id, FirstName, LastName, Email from Contact
                              WHERE Email IN :map_donors.keySet()];
        system.debug('conts size = '+ conts.size());
        List<AZGives_Donor__c> updatedDonors = new List<AZGives_Donor__c>();
        for (Contact c : conts){
            AZGives_Donor__c donor = map_Donors.get(c.Email);
            system.debug('contact name '+ c.FirstName +' ' + c.LastName);
            system.debug('donor First Name '+ donor.FirstName__c +
                        ' donor Last Name ' + donor.LastName__c);
            if (c.FirstName == donor.FirstName__c && c.LastName == donor.LastName__c)
            {
                oppys.add(newOppy(c, donor));
                donor.Processed__c = true;
            }
            Else
            {
                donor.Processed__c = false;
                donor.Matched_Email__c = true;
            }
            updatedDonors.add(donor);
            map_Donors.put(c.Email, donor);
        }
        If (map_Donors.size() > conts.size())
        {
            addNewContacts();        
            if (newContacts.size() > 0){
                insert newContacts;
                for (Contact newC : newContacts){  
                    system.debug('newC.id = '+ newC.id);
                    AZGives_Donor__c donor = map_Donors.get(newC.Email);

                    oppys.add(newOppy(newC, donor));
                }
            }
        }
        if (annon.size()>0) ProcessAnnonymous();        
        donors = map_Donors.values();        
        for (AZGives_Donor__c d : donors)
            if (!d.Processed__c && d.Matched_Email__c)
                d.Not_Found__c = true;
        update donors;
        insert oppys;
        insert taskList;
        
    }
    
    public void addNewContacts()
    {
        List<AZGives_Donor__c> not_Found = map_Donors.values();
        newContacts = new List<Contact>();
        For (AZGives_Donor__c d : not_Found){
            if (!d.Processed__c && !d.Matched_Email__c) {
                Contact c = new Contact(FirstName = d.FirstName__c,
                                   LastName = d.LastName__c,
                                   Email = d.Email__c,
                                           MailingStreet = d.Address_1__c,
                                           MailingCity = d.City__c,
                                           MailingState = d.State__c,
                                           MailingPostalCode = d.Zip_Code__c,
                                           Phone = d.Phone_Number__c);
                newContacts.add(c);
                d.Processed__c = true;
                map_Donors.put(d.Email__c, d);
            }
        }
    }

    public Opportunity newOppy(Contact c, AZGives_Donor__c donor){
        String stName = 'Donation '+ c.FirstName + ' ' +
                                c.LastName + '4/3/17';
        String annon1 = '';
        If (donor.Anonymous__c.contains('Partially')) 
            annon1 = 'Donor wishes to remain annonymous'; 
        Opportunity oppy = new Opportunity (Name = stName,
                                        RecordTypeId = '012o0000000xvXl',
                                        npsp__Primary_Contact__c = c.id,
                                        Amount = donor.Amount__c,
                                        CloseDate = donor.Transaction_Date_Time__c.date(),
                                        StageName = 'Closed Won',
                                        Description = annon1,
                                        CampaignId = theCampaign.Id);
        if (donor.Get_Involved__c)
            taskList.add(makeTask(c));
        return oppy;
    }
    
    public Task makeTask (Contact c)
    {
        Task contTask = new Task(ActivityDate = Date.Today() + 3,
             Description = c.FirstName + ' ' + c.LastName + ' wants to be involved with DA.',
                     Priority = 'High', Status = 'Not Started', 
                    Subject = 'Need to make CONTACT',
                    WhatId = theCampaign.Id, 
                    WhoId = c.id);
        return contTask;
    }
    
    public void ProcessAnnonymous(){
        Account acc = [SELECT id FROM Account WHERE Name = 'Anonymous' limit 1];
        if (acc == null){
            acc = new Account(Name = 'Anonymous');
            insert acc;
        }
        integer x = 1;
        for(AZGives_Donor__c d : annon){
            String str = 'Donation AZGives Anonymous ' + x;
            Opportunity oppy = new Opportunity (Name = str,
                                   AccountId = acc.id,
                                   RecordTypeId = '012o0000000xvXl',
                                   Amount = d.Amount__c,
                                   CloseDate = d.Transaction_Date_Time__c.date(),
                                   StageName = 'Closed Won',
                                   Description = 'Anonymous Donation',
                                   CampaignId = theCampaign.Id); 
            x++;
            d.Processed__c = true;
            map_Donors.put(d.Email__c, d);
            oppys.add(oppy);
        }
    }  
}
I want to add a custom button in the CampaignMembers related list in the Campaign layout. I am adding it as a URL but it seems that I can't put in the Campaign Id as an argument.

User-added image

what do I need to do?
I want to make a VF page that shows members of a campaign as well as has a searchfield to find contacts to add to the campaign. So the action for the search field will find all contacts that match and display them on a list. Then the user can select a contact and click on the name and that contact would be added to the campaign. 

My problem is that I don't know how to implement that last bit. Since the list of contats is displayed with a pageBlockTable how does the controller know which contact was selected.

Here is my VF page markup

<apex:page standardController="Campaign" extensions="showCampaignMembers">
  <apex:form >
    <apex:pageBlock title="{!campaign.name}">
      <apex:pageBlockSection title="Criteria">
      <apex:outputLabel value="Enter Name Snippet"/>
      <apex:inputText value="{!nameQuery}"/>
      <apex:commandButton action="{!executeSearch}" value="Search"/>
   </apex:pageBlockSection>
    
   <apex:pageBlockTable value="{!contacts}" var="con">
      <apex:column headerValue="Name">
         <apex:outputLink value="/{!con.id}/e?retURL={!URLENCODE('/apex/RetUrlSearchPage?query='+nameQuery)}">{!con.Name}</apex:outputLink>
      </apex:column>
      <apex:column value="{!con.Participant__c}"/>
   </apex:pageBlockTable>
   <apex:pageBlockSection title="Participants in Campaign">
     <apex:pageBlockTable value="{!participants}" var="part">
       <apex:column value="{!part.FirstName}"/>
       <apex:column value="{!part.LastName}"/>
       <apex:column value="{!part.Email}"/>
       <apex:column value="{!part.Status}"/>
                 
     </apex:pageBlockTable>
   </apex:pageBlockSection>
 </apex:pageBlock>
  </apex:form>
</apex:page>

-----------
And the controller
-----------

public class showCampaignMembers 
{
 public String nameQuery {get; set;}
 public List<Contact> contacts {get; set;}
 Public List<CampaignMember> participants {get; set;}
 private ApexPages.StandardController std;
 
 public PageReference executeSearch()
 {
  String queryStr='%' + nameQuery + '%';
  contacts=[select id, Name, Participant__c 
            from Contact 
            where name like :queryStr];
            
  return null;
 }
  
 public showCampaignMembers(ApexPages.StandardController stdCtrl)
 {
   Std = stdCtrl;
    Participants = [SELECT id, FirstName, LastName, Email, Status FROM CampaignMember
        WHERE CampaignId = :std.getId() ORDER BY FirstName];
  }

}

I appreciate any help.
I have a delete trigger to stop deletion when certain conditions are true. The trigger is working fine. I've tested it in the sandbox. The test however is giving me some problems. I have looked in the community and used some of the suggestions given, however I haven't been able to make it work.

Here is my trigger & test

trigger whenCampaignDeleted on Campaign (before delete) {
    List<Campaign> delCampaign = trigger.old;
    Boolean dontDelete = False;
    Boolean relCampaign = False;
    for (Campaign eachCampaign : delCampaign)
    {
        //If the campaign is Adventure type check to see if there are campaign members
        //with status "Attended" and if there is a related campaign: volunteer campaign
        If (eachCampaign.RecordTypeId == '012o0000000xwhO')
        {
               If (eachCampaign.Related_Campaign__c != NULL)
                 relCampaign = True;     
            List<CampaignMember> cMs = [SELECT id, status FROM CampaignMember
                               WHERE CampaignId = :eachCampaign.Id];
 
            For (CampaignMember eachCM : cMS)
            {
                 If (eachCM.Status == 'Attended')
                {dontDelete = True;}
            }
            If (dontDelete)
                eachCampaign.adderror('Cannot delete a campaign that has members with status Attended. Their status must be changed first.');
            If (relCampaign)
                eachCampaign.adderror('Before deleting the campaign you must delete the volunteer campaign associated with it.');
        }
        Else 
        //If the campaign is a volunteer campaign then retreive the Adventure campaign related to it
        //and delete the related campaign from the Adventure record
        If (eachCampaign.RecordTypeId == '012o0000001AJaa')
        {
            if (eachCampaign.Related_Campaign__c != NULL)
            {
                Campaign relCampRecord = [SELECT ID, Related_Campaign__c FROM Campaign 
                                         WHERE Id = :eachCampaign.Related_Campaign__c];
                relCampRecord.Related_Campaign__c = NULL;
                Update relCampRecord;
            }
        }
    }
}



——————  Test
After inserting a few records to test the trigger the following code performs the test (here I am just testing it with one record to single out the error, but it is set up to test a list of records).


        try
        {
            delete myCampaigns[1];
            System.assert(false);
        }
        catch (DMLException e)
        {
            // Check that the trigger interrupts the deletion
            system.assertEquals('Before deleting the campaign you must delete the volunteer campaign associated with it.', e.getMessage());
        }





When I run the test I get the following error

System.AssertException: Assertion Failed: Expected: Before deleting the campaign you must delete the volunteer campaign associated with it., Actual: Delete failed. First exception on row 0 with id 701n0000000DlUDAA0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Before deleting the campaign you must delete the volunteer campaign associated with it.: []



Can any one help? I am not sure how to change the System.assert to verify that the deletion is not done.

Thanks in advance for any help
Hi, my code has passed the step 4 check, but when I try the search by boat type no boats appear on the BoatSearchResults component. I have done some debugging and found that it is not entering into the aura:iteration and can't figure out why. Hopefully someone can help me.

The string "going to AuraIteration" appears on the screen, but nothing else. The variable v.boats contains the right amount of items (I am testing it with Sailboat type and it has 2 items. It also has the right values in each object.

Here is my code: 


BoatSearchResults.cmp
<aura:component controller="BoatSearchResults">
    <aura:attribute name="boatTypeId" type="String" />
    <aura:method name="search" description="gets the boatTypeId from BoatSearch component and runs the search"
                 action="{!c.doSearch}">
        <aura:attribute name="boatTypeId" type="String" />
    </aura:method >
    <aura:attribute name="boats" type="Boat__c[]" />
    <lightning:layout multipleRows="true" verticalAlign="center" horizontalAlign="center">
        <aura:if isTrue="{!v.boats.length &gt; 0}">
            going to AuraIteration
            <aura:iteration items="{!v.boats}" var="boatItem">
                <lightning:layoutItem flexibility="grow" class="slds-m-right_small">
                    <h3>calling BoatTile</h3>
                    <c:BoatTile boat="{!boatItem}"/>
                </lightning:layoutItem>
            </aura:iteration>
            <aura:set attribute="else">
                <lightning:layoutItem class="slds-align_absolute-center" flexibility="auto">
                    <h3>No boats found</h3>
                </lightning:layoutItem>
            </aura:set>
        </aura:if>
    </lightning:layout>
</aura:component>

Also, can someone tell me how to post code so it looks like code (lined and with the option to copy, etc)

Thanks!

 
I tried to create a developer account, but after filling the form with passwords etc. that opened from the "confirmation" e-mail, submitting it hanged. Now if I try to log in with that account, the login won't accept the password I put in previously, and I can't change the password because that just brings up a "security question" which doesn't accept the answer I set for it previously. I got back to the "confirmation" form with browser history, but filling and submitting it again didn't work either.

I've set up a different account, but as far as I know this isn't a "developer" account, since there's a link saying "My Developer Account" which takes to the login (which doesn't work). I've tried contacting some support or some such, but a number of support and/or contact related links just doesn't work and what I've managed to send hasn't been answered.
Hi, 
I got the above error while trying to "Create an Indicator Badge Apex Service "
And the code of INDICATOR_Controller  shown as below 
public class INDICATOR_Controller {
    private static SObject sobj;
    @AuraEnabled
    public static String getSObjectLabel(String sObjName){
        String label = Schema.getGlobalDescribe().get(sObjName).getDescribe().getLabel();
        return label;
    }
    @AuraEnabled
    public static List<INDICATOR_Service.Indicator> getIndicators(String recId, String objectName){
        getSObject(recId, objectName);
        if(sobj != NULL){
            List<INDICATOR_Service.Indicator> indicators = INDICATOR_Service.getIndicatorBadgesForObject(sobj);
            return indicators;
        } else{
            return null;
        }
    }
    public static void getSObject(String recId, String objectName){
        List<String> fNames = INDICATOR_Service.getFieldsToQueryForObject(objectName);
        if(fNames.size() > 0){
            String query = 'SELECT Id,'+ String.join(fNames,',')+' FROM '+ objectName +' WHERE Id =\''+ recId +'\' LIMIT 1';
            List<SObject> results = Database.query(query);
            if(results.size() == 1){
                sobj = results[0];
            }
        }
    }
}

Please Help!

Thanks,
Sneha M.
I'm stuck on the last step: Try Out Your New Community. I don't know if the look of the Sample Console interface has been changed recently, but I'm not seeing where to click "Live Agent" and the provided screen grab doesn't fit my interface's look. I'm trying to switch my Live Agent from Offline to Online (as pictured) so the button changes to "Chat with an Expert." I've followed all the other steps in the project and gone over them multiple times.
I want to use the information from a report in a visualforce page. Can that be done? I only see the instantiate class for asynchronous reports.
Any help is appreciated.
Hi all,
I am working on a custom region field formula and getting Error: Syntax error. Missing ')'  for the formula below.  The formula works fine until I add the two IF Contains lines for Central America and South America (in bold below) The highlighted area for the error is on "Central America" and on "South America".  Really got me this one!
Thanks

IF(ISBLANK( BillingCountry ), "None",
IF(CONTAINS("Belize:Costa Rica:El Salvador:Guatemala:Honduras:Nicaragua:Panama”,BillingCountry), "Central America”,
IF(CONTAINS("Argentina:Boliva:Brazil:Chile:Colombia:Ecuador:Guyana:Paraguay:Peru:Suriname:Uruguay:Venezuela:Falkland Islands (malvinas)​:French Guiana:South Georgia and The South Sandwich Islands”, BillingCountry), "South America",

IF(CONTAINS("Bouvet Island:Comoros:Sao Tome and Principe:Algeria:Angola:Benin:Botswana:Burkina Faso:Burundi:Cameroon:Cape Verde:Central African Republic:Chad:Congo:Congo, The Democratic Republic of The:Côte D'ivoire:Djibouti:Egypt:Equatorial Guinea:Eritrea:Ethiopia:Gabon:Gambia:Ghana:Guinea:Guinea-bissau:Kenya:Lesotho:Liberia:Libya:Madagascar:Malawi:Mali:Mauritania:Mauritius:Mayotte:Mozambique:Namibia:Niger:Nigeria:Réunion:Rwanda:Senegal:Seychelles:Sierra Leone:Somalia:South Africa:South Sudan:Sudan:Swaziland:Tanzania, United Republic of:Togo:Tunisia:Uganda:Western Sahara:Zambia:Zimbabwe:Morocco:Bahrain:Iran, Islamic Republic of:Iraq:Israel:Jordan:Kuwait:Lebanon:Oman:Pakistan:Palestinian Territory, Occupied:Qatar:Saudi Arabia:Syrian Arab Republic:United Arab Emirates:Yemen ", BillingCountry ), "AfriME",
IF(CONTAINS("Faroe Islands:Svalbard and Jan Mayen:Malta:Åland Islands:Albania:Andorra:Armenia:Austria:Azerbaijan:Belarus:Belgium:Bosnia and Herzegovina:Bulgaria:Croatia:Cyprus:Czech Republic:Denmark:Estonia:Finland:France:French Southern Territories:Georgia:Germany:Gibraltar:Greece:Greenland:Guernsey:Holy See (vatican City State):Hungary:Iceland:Ireland:Isle of Man:Italy:Jersey:Kazakhstan:Kyrgyzstan:Latvia:Liechtenstein:Lithuania:Luxembourg:Macedonia, The Former Yugoslav Republic of:Moldova, Republic of:Monaco:Montenegro:Netherlands:Norway:Poland:Portugal:Romania:Russian Federation:San Marino:Serbia:Slovakia:Slovenia:Spain:Sweden:Switzerland:Tajikistan:Turkmenistan:Ukraine:United Kingdom:Uzbekistan:Turkey", BillingCountry ), "Europe", "Other")))

<apex:selectOptions value="{!generalActivityOptions}"/>

This is what our former developer said: So apparently the Time Entry page was written in Visualforce. The backend code builds those drop down lists in code and looks at a Custom Setting in Salesforce to build the options in the picklist. So editing the picklist does nothing towards changing the values you see in the Activity dropdown list on the Daily Time Entry page.  
Hi all,

I am currently are facing an urgent issue with displaying a picklist value in a visualforce page. The field that we are displaying is "website_Location__c" under "Advertisement__c" object and the field is a picklist.

The field is displayed using <apex:inputField> in a visualforce page "websitePost" as:
<apex:inputField value="{!Advertisement__c.website_Location__c}" />

The problem is that I could display this picklist field normally when I load websitePost.page directly. However, when I try to display this page using <apex:tab> in another visualforce page "jobBoards", no value will displayed for this picklist field. 

Also, I have tried this in several orgs, and only a few orgs have this problem. 

Does anyone knows the solution for this? Thank you.  
Hello,

As of yesterday, our users began seeing rich text fields on an embedded visualforce page appear with a incorrectly rendered toolbar:

Screenshot of incorrectly rendered rich text editor toolbar.

We have confirmed this is affecting all of our users who are using the Chrome browser. After testing in Safari, the editor renders correctly. Is this a known issue with any recent updates?

Thanks in advance,
George
Hello,
this is my first post, I am a beginner on apex data loader and I try to do an insert into salesforce.
At the map creation step between columns of my CSV file and fields salesforce, I have a problem, the columns of my CSV file are grouped in one field and therefore it is impossible for me to do the mapping.

Here's a screenshot of what I have.
User-added image

someone can help me?
thank you in advance.