• Facebook
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 13
    Questions
  • 6
    Replies

Hey..

         Has any one done the Facebook Integration within the Social Enterprise feature???The thing is like on the contacts page we get to connect to Linkedin,Twitter and Facebook..So when the FB icon is clicked will be connecting to FB.We need to know that when the changes are done in FB are they automatically populated in Salesforce(SF).????

 

 

Regards,

Facebook

Hi 

Can we call a web service class using a trigger?please provide me with some examples as i am new to apex and just trying to explore it..

 

Any help in this regard is kindly appreciated.

 

 

regards,

Facebook

How can we sort the option  checkboxes in which the options are given statically in the controller and displayed using select checkboxes attribute in the page?

 

Any help in this regard is kindly appreciated.

 

regards,

Facebook

 

 

 

 

 

Hi,

How can i keep Required mark for an input text  value in a visual force page?Setting required="true" is not working..

 

 Name : <apex:inputtext value="{!ContactName}" id="name"  required="true"/>

 

 

regards,

Abhi

Hi,

Can anyone help me in resetting a visualforce page or form by using java script...

i have three textboxes in a form and when the reset button is clicked the values in the boxes should be cleared...

 

 

 

regards,

Abhi

Hi,

 

     I am trying to render a visual force page as PDF that displays Photos related to certain product.When the photos are being displayed in the PDFif there are more than 12 photos the page breaks and some space is appearing and the remaining photos are displayed in the next page.What i need now is to display Header and footer for the second page and then display the remaining photos..I am using a repeater in my page in order to display the photos.

 

Any suggestions are higly appreciated.

 

 

Regards,

Abhi

Hi

 

I need some suggestions to write a trigger for the following criteria

 

     When a Product is created or edited, create a Price Book Entry in the Standard Price Book with the Advertised Price from the input record.

 

Any suggestions are highly appreciated.

 

Regards,

Facebook

Hi,

 Need help for writing a trigger for the following criteria

 

When a Product is added to an Opportunity, copy the Attributes field from the Product to the Line Item Description field of the Opportunity Line Item. This should carry over to the Quote Line Item when a quote is created

 

Any help in this regard is highly appreciated

 

 

 

Regards,

Abhi

HI,

 

 When a Product is created or edited, create a Price Book Entry in the Standard Price Book with the Advertised Price from the input record.

 

For this i wrote the following Trigger

 

trigger TrgPricebookEntry on Product2 (before insert,before update) {
list<Product2> lstproduct=new list<Product2>();
list<PricebookEntry> lstPbe=new list<PricebookEntry>();
PricebookEntry PB;
 if(trigger.isinsert){
   for(Product2 objProduct:trigger.new)
      {
    PB=new PricebookEntry();
    PB.UnitPrice=objProduct.Advertised_Price__c;
    PB.UseStandardPrice=true;
    PB.IsActive=true;
    PB.Pricebook2Id=objProduct.id;
    lstPbe.add(PB);
    }
    insert lstPbe;
 }
 if(trigger.isUpdate){
   for(Product2 objProduct:trigger.new)
      {
    PB=new PricebookEntry();
    PB.UnitPrice=objProduct.Advertised_Price__c;
    PB.UseStandardPrice=true;
    PB.IsActive=true;
    PB.Pricebook2Id=objProduct.id;
    lstPbe.add(PB);
    }
    insert lstPbe;
 }
}

 

 

But it is not working.Any Help regarding this is highly appreciated.

 

 

Regards,

Abhi

When a Product is created or edited, create a Price Book Entry in the Standard Price Book with the Advertised Price from the input record.

 

How can i write a trigger for the above mentioned one.Any suggestions are always welcomed.....

 

Regards,

Subha

 

Hi,

    How can we view the Search Filter FIelds in the list views?By default we get to view the SEARCH RESULTS.But instead of SEARCH RESULTS in the list View i need to view the "Search Filter Fileds".......Is there Any possibilty to do that?

Any Suggestion is always welcomed........

 

 

Regards,

Nandana

Hi 

I am working on Quotes standard functionality in Sales force.i want to Override the Standard Template with my Visual force page.Is there any possibility to do it?

 

Is there any possibility to override these two standard buttons in the standard Quote Template?

 

Save To Quote 

Save and Email To Quote

 

 

Regards,


Nandana

 

public with sharing class SampleTest {
 
 list<Contact>lstContact=new list<contact>();
 Map<string,Contact> mapContact=new Map<string,Contact>();
 list<WrapperSample>lstWrappersample=new list<WrapperSample>();
 public  list<WrapperSample> getEmployeeDetails(){
 lstContact=[select id,LastName,Email from contact];
 system.debug('*********lstContact********'+lstContact.size());
 WrapperSample objwrapper;
 for(integer i=0;i<lstContact.size();i++){
    objwrapper= new WrapperSample();
 objwrapper.sName=lstContact[i].LastName ; 
 objwrapper.sEmail=lstContact[i].Email;
mapContact.put(lstContact[i].LastName,lstContact[i]);
//lstWrappersample.add(objwrapper);
}
for(string sInMsp : mapContact.keyset()){
Contact objCont = new Contact();
objCont= mapContact.get(sInMsp);
objwrapper= new WrapperSample();
 
objwrapper.sName=objCont.LastName ; 
objwrapper.sEmail=objCont.Email;
lstWrappersample.add(objwrapper);
system.debug('********lstWrappersample*******' + lstWrappersample.size());
}
return lstWrappersample; } public with sharing class WrapperSample{ public string sName {get;set;} public string sEmail {get;set;} } }
Hi 
how can i sort the list name lstWrappersample?Can anyone help me in this regard..

 

Hey..

         Has any one done the Facebook Integration within the Social Enterprise feature???The thing is like on the contacts page we get to connect to Linkedin,Twitter and Facebook..So when the FB icon is clicked will be connecting to FB.We need to know that when the changes are done in FB are they automatically populated in Salesforce(SF).????

 

 

Regards,

Facebook

Hi

 

I need some suggestions to write a trigger for the following criteria

 

     When a Product is created or edited, create a Price Book Entry in the Standard Price Book with the Advertised Price from the input record.

 

Any suggestions are highly appreciated.

 

Regards,

Facebook

HI,

 

 When a Product is created or edited, create a Price Book Entry in the Standard Price Book with the Advertised Price from the input record.

 

For this i wrote the following Trigger

 

trigger TrgPricebookEntry on Product2 (before insert,before update) {
list<Product2> lstproduct=new list<Product2>();
list<PricebookEntry> lstPbe=new list<PricebookEntry>();
PricebookEntry PB;
 if(trigger.isinsert){
   for(Product2 objProduct:trigger.new)
      {
    PB=new PricebookEntry();
    PB.UnitPrice=objProduct.Advertised_Price__c;
    PB.UseStandardPrice=true;
    PB.IsActive=true;
    PB.Pricebook2Id=objProduct.id;
    lstPbe.add(PB);
    }
    insert lstPbe;
 }
 if(trigger.isUpdate){
   for(Product2 objProduct:trigger.new)
      {
    PB=new PricebookEntry();
    PB.UnitPrice=objProduct.Advertised_Price__c;
    PB.UseStandardPrice=true;
    PB.IsActive=true;
    PB.Pricebook2Id=objProduct.id;
    lstPbe.add(PB);
    }
    insert lstPbe;
 }
}

 

 

But it is not working.Any Help regarding this is highly appreciated.

 

 

Regards,

Abhi

When a Product is created or edited, create a Price Book Entry in the Standard Price Book with the Advertised Price from the input record.

 

How can i write a trigger for the above mentioned one.Any suggestions are always welcomed.....

 

Regards,

Subha