• Marco_____
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

I've created a VF page with a standardcontroller (User) and 1 extension

the extension is doing a pagereference after an action to move to another page.

            pagereference MyPage=  new PageReference('http://www.google.com');
            MyPage.setRedirect(true);
            return MyPage;

 

this VF page is inside the Page layout and it only works inside the iframe.

I would like to redirect the full frame to my page.

 

Any idea?

I've created a VF page with a standardcontroller (User) and 1 extension

the extension is doing a pagereference after an action to move to another page.

            pagereference MyPage=  new PageReference('http://www.google.com');
            MyPage.setRedirect(true);
            return MyPage;

 

this VF page is inside the Page layout and it only works inside the iframe.

I would like to redirect the full frame to my page.

 

Any idea?

I have 2 fields. One called contact.employee_type__c and a dependent picklist field called contact.employee_name__c.   The employee type is contain 2 picklist values "Internal" and "Consultant".  The employee name field is also a picklist that contains a list of all employee names which is dependent on what value is selected in the employee type field.

 

We want to create a trigger so that after a contact record is created with contact.contact_type__c = Internal or consultant, then it would update the picklist values with that record name. Is this a before insert using dynamic apex? any sample code would be helpful

Message Edited by bikla78 on 04-16-2009 11:03 AM
Message Edited by bikla78 on 04-16-2009 11:03 AM
Message Edited by bikla78 on 04-16-2009 01:54 PM