• imma
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 9
    Questions
  • 22
    Replies
hello all 
I have tow objects Campaign and Prospect ( campaign is the master and prospect the detail)
and I want to create a work flow rule to update a Master-Detail Relationship field " Campaing " in the object prospect ( if the name of prospect = "aaa" then affect the prospect to the campaign with the name : "campaignaaaa"
when I try to create a work flow rule to update a Master-Detail Relationship field " Campaing " , the field Campaing doesn't appear in the section : " Field to Update" !!! is this beacause "Campaing"  is Master-Detail Relationship field ????
What can I do ? and why the master detail relationship is a required field ??? 
  • April 28, 2015
  • Like
  • 0
Hi, 
I want to update the values of field" number of leads " when Lead is created 
I need to write a trigger on lead object to update the value.
could you help me , because I'm a beginner with apex and trigger
many thanks
  • April 22, 2015
  • Like
  • 0
Hello everyone 
I have a custom field named "number of leads" associate to a campaign object and I want to calculate a number of leads associate to this company 
when a lead was registred , the value of  "number of leads " became number of leads +1
what can I do ?? 
thank you for your time
  • April 21, 2015
  • Like
  • 0
Hello everyone 
I have a custom field named "number of leads" associate to a campaign object and I want to calculate a number of leads associate to this company 
when a lead was registred , the value of  "number of leads " became number of leads +1
what can I do ?? 
thank you for your time
  • April 21, 2015
  • Like
  • 0
Hello everybody
Is there any Appexchange that could integrate Google Apps with salesforce for ANDROID , because I want to installe salesforce in my tablette?
  • April 06, 2015
  • Like
  • 0
Hello everybody,
I have a custom object 'Stagiaire__c' having few fields:Name,CNE,e-mail,date_de_naissance,Téléphone
 
I want to create a PDF documents whish display just the fields are not NULL
if for exemple,"CNE == null" , <p> CNE: </p> will not display in my PDF
 
Here is my code:

<apex:page standardController="Stagiaire__c" renderas="pdf" showheader="false" applyhtmltag="false" >
  <apex:pageBlock title="Fiche Stagiaire">
       <apex:pageblockTable value="{!Stagiaire__c}" var="s">
            <apex:outputpanel rendered="{!IF(ISBLANK(s.Name),false,true)}">
              <p>Nom & Prénom: </p>   <apex:column value="{!s.Name}"/>
              </apex:outputpanel>
          <apex:outputpanel rendered="{!IF(ISBLANK(s.CNE__c),false,true)}">
             <p>CNE:</p>                  <apex:column value="{!s.CNE__c}"/>
             </apex:outputpanel>
             <apex:outputpanel rendered="{!IF(ISBLANK(s.Téléphone__c),false,true)}">
                <p>Téléphone! </p>          <apex:column value="{!s.Téléphone__c}"/>
            </apex:outputpanel>
             <apex:outputpanel rendered="{!IF(ISBLANK(s.e-mail__c),false,true)}">
               <p>E-mail: </p>               <apex:column value="{!s.e-mail__c}"/>
              </apex:outputpanel>
           </apex:pageblockTable>
   </apex:pageblock>
  </apex:page>

But I get this error : syntax error !!!! please help meeee !!!!
  • March 18, 2015
  • Like
  • 0
Hello everybody , hope you are doing fine
I tried to do the some of this tutorial : https://blog.internetcreations.com/2012/09/creating-a-geolocation-trigger-in-salesforce-winter-13/
but I get an error :  Erreur de compilation : Invalid field Location__Latitude__s for SObject Account à la ligne 4 colonne 15
here is my code :
// Trigger runs getLocation() on Accounts with no Geolocation
  trigger SetGeolocation on Account (after insert, after update) {
         for (Account a : trigger.new)
          if (a.Location__Latitude__s == null)
               LocationCallouts.getLocation(a.id);
   }
I have already created a field name loacation in account
Thank you for your help
best regards
  • March 06, 2015
  • Like
  • 0

Hello everybody,
 
I want to know the way of using condition in visualforce page. I have a custom object 'Stagiaire__c' having few fields:Name,CNE,e-mail,date_de_naissance,Téléphone
 
I want to create a PDF documents whish display just the fields are not NULL
if for exemple,"CNE == null" , <p> CNE: </p> will not display in my PDF
 
Here is my code:
<apex:page standardController="Stagiaire__c" renderas="pdf" showheader="false" applyhtmltag="false" >
    <apex:pageBlock title="Fiche Stagiaire">
           <apex:pageblockTable value="{!Stagiaire__c}" var="s">
              <p>Nom & Prénom: </p>   <apex:column value="{!s.Name}"/>
              <p>CNE:</p>                  <apex:column value="{!s.CNE__c}"/>
              <p>Téléphone! </p>          <apex:column value="{!s.Téléphone__c}"/>
              <p>E-mail: </p>               <apex:column value="{!s.e-mail__c}"/>
     </apex:pageblockTable>
   </apex:pageblock>
  </apex:page>

should I create an apex Class ? if yes , how I will relate it to my page Visualforce?
 
  • March 04, 2015
  • Like
  • 0
I have problem when I insert file .csv via data loader

after mapping I get : the operation has fully completed there were 0 successful inserts and 2 errors

User-added image
User-added image
I don't know what's the problem exactly.
  • February 25, 2015
  • Like
  • 0
hello all 
I have tow objects Campaign and Prospect ( campaign is the master and prospect the detail)
and I want to create a work flow rule to update a Master-Detail Relationship field " Campaing " in the object prospect ( if the name of prospect = "aaa" then affect the prospect to the campaign with the name : "campaignaaaa"
when I try to create a work flow rule to update a Master-Detail Relationship field " Campaing " , the field Campaing doesn't appear in the section : " Field to Update" !!! is this beacause "Campaing"  is Master-Detail Relationship field ????
What can I do ? and why the master detail relationship is a required field ??? 
  • April 28, 2015
  • Like
  • 0
Hello everyone 
I have a custom field named "number of leads" associate to a campaign object and I want to calculate a number of leads associate to this company 
when a lead was registred , the value of  "number of leads " became number of leads +1
what can I do ?? 
thank you for your time
  • April 21, 2015
  • Like
  • 0
Hello everyone 
I have a custom field named "number of leads" associate to a campaign object and I want to calculate a number of leads associate to this company 
when a lead was registred , the value of  "number of leads " became number of leads +1
what can I do ?? 
thank you for your time
  • April 21, 2015
  • Like
  • 0
Hello everybody
Is there any Appexchange that could integrate Google Apps with salesforce for ANDROID , because I want to installe salesforce in my tablette?
  • April 06, 2015
  • Like
  • 0
Hello everybody,
I have a custom object 'Stagiaire__c' having few fields:Name,CNE,e-mail,date_de_naissance,Téléphone
 
I want to create a PDF documents whish display just the fields are not NULL
if for exemple,"CNE == null" , <p> CNE: </p> will not display in my PDF
 
Here is my code:

<apex:page standardController="Stagiaire__c" renderas="pdf" showheader="false" applyhtmltag="false" >
  <apex:pageBlock title="Fiche Stagiaire">
       <apex:pageblockTable value="{!Stagiaire__c}" var="s">
            <apex:outputpanel rendered="{!IF(ISBLANK(s.Name),false,true)}">
              <p>Nom & Prénom: </p>   <apex:column value="{!s.Name}"/>
              </apex:outputpanel>
          <apex:outputpanel rendered="{!IF(ISBLANK(s.CNE__c),false,true)}">
             <p>CNE:</p>                  <apex:column value="{!s.CNE__c}"/>
             </apex:outputpanel>
             <apex:outputpanel rendered="{!IF(ISBLANK(s.Téléphone__c),false,true)}">
                <p>Téléphone! </p>          <apex:column value="{!s.Téléphone__c}"/>
            </apex:outputpanel>
             <apex:outputpanel rendered="{!IF(ISBLANK(s.e-mail__c),false,true)}">
               <p>E-mail: </p>               <apex:column value="{!s.e-mail__c}"/>
              </apex:outputpanel>
           </apex:pageblockTable>
   </apex:pageblock>
  </apex:page>

But I get this error : syntax error !!!! please help meeee !!!!
  • March 18, 2015
  • Like
  • 0
Hello everybody , hope you are doing fine
I tried to do the some of this tutorial : https://blog.internetcreations.com/2012/09/creating-a-geolocation-trigger-in-salesforce-winter-13/
but I get an error :  Erreur de compilation : Invalid field Location__Latitude__s for SObject Account à la ligne 4 colonne 15
here is my code :
// Trigger runs getLocation() on Accounts with no Geolocation
  trigger SetGeolocation on Account (after insert, after update) {
         for (Account a : trigger.new)
          if (a.Location__Latitude__s == null)
               LocationCallouts.getLocation(a.id);
   }
I have already created a field name loacation in account
Thank you for your help
best regards
  • March 06, 2015
  • Like
  • 0

Hello everybody,
 
I want to know the way of using condition in visualforce page. I have a custom object 'Stagiaire__c' having few fields:Name,CNE,e-mail,date_de_naissance,Téléphone
 
I want to create a PDF documents whish display just the fields are not NULL
if for exemple,"CNE == null" , <p> CNE: </p> will not display in my PDF
 
Here is my code:
<apex:page standardController="Stagiaire__c" renderas="pdf" showheader="false" applyhtmltag="false" >
    <apex:pageBlock title="Fiche Stagiaire">
           <apex:pageblockTable value="{!Stagiaire__c}" var="s">
              <p>Nom & Prénom: </p>   <apex:column value="{!s.Name}"/>
              <p>CNE:</p>                  <apex:column value="{!s.CNE__c}"/>
              <p>Téléphone! </p>          <apex:column value="{!s.Téléphone__c}"/>
              <p>E-mail: </p>               <apex:column value="{!s.e-mail__c}"/>
     </apex:pageblockTable>
   </apex:pageblock>
  </apex:page>

should I create an apex Class ? if yes , how I will relate it to my page Visualforce?
 
  • March 04, 2015
  • Like
  • 0
I have problem when I insert file .csv via data loader

after mapping I get : the operation has fully completed there were 0 successful inserts and 2 errors

User-added image
User-added image
I don't know what's the problem exactly.
  • February 25, 2015
  • Like
  • 0