• sheraz
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 9
    Questions
  • 10
    Replies

Hi,

I have requirment that in visualforce page, i have to create lookup feld that reference to 2 object(User, custom object). I am new to saleforce so i dont know how to add this functionalty in visualforce page. 

please help me

thanks

 

 

 

Hi,

I am new to salesforce and i have to create controller for vf page that i will update the multiple field based on user input(custom object).

example:

custom object = product

fields:

app recieve by = text field

app receive to = text field

date field 

owner = text field

here is the scenario: 

if 

app recieve by = john

thne 

update 

owner = john

and 

date = 12/5/12

please guiode me that how to create this kind of controller.

thanks

 

hi,

I am new to salesforce and i need help for the following in visualforce page:

  1. how to Add a ‘Cancel’ button in vf page
  2. how to align fields in vf page.
  3. I create this page on opportunites object and i want the header should be displayed on the product selected by user. Ex:  Ret should say ‘Ret process’ name

please help me for this.

thanks

 

I create a VF page that has 3 table in it and these three table showing as vertical instead of horizontal.i want to display table in the following format:

 Application   
TypeDateByToComments/Notes
App rec    
Com App    
App Assing    
App routed   

 

 

Hi,
I am working on creating a visualforce page on custom object. I want to include table with multiple rows and column and that has to be display as table format. as i am new to salesforce and dont know that how to include in the visualforce page and table should have following format:

 Application   
TypeDateByToComments/Notes
App rec    
Com App    
App Assing    
App routed    

please help me
thanks

Hey all,

 

I'm having a problem with what is probably a very simple solution, but I just can't wrap my head around it.  

I'm trying to update an Account.Type field with a set value when an Opportunity hits a certain Stage, but only if an Account is a specific type already. 

 

Here's the code:

trigger SetAccountToP on Opportunity (before insert, before update) {
    
   for(Opportunity o : Trigger.New){
        if((o.StageName == 'Proposal/Price Quote' || o.StageName == 'Negotiation/Review' || o.StageName == 'Closed Won') && o.Account.Type == 'User')
        {   Account a = o.account;
            a.Type = 'Prospect';
            update a;  
         }   
    }
}

 

 

I know this code is pretty bad, but I've tried many things and this is the easiest to read through to illustrate my point.


Any help would be appreciated.