• TTagg
  • NEWBIE
  • 25 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies
Hey everyone,

I am having an issue with the way a page is displaying with a hacked URL.

I have a new button that overrides the old new opportunity button to prepopulate look up fields. 

Here is my button:

 /006/e?
CF00NF000000CFJSi={!Loan__c.Name}
&CF00NF000000CFJSi_lkid={!Loan__c.Id}
&CF00NF000000CVahZ={!Loan__c.Borrower__c}
&CF00NF000000CVahZ_lkid={!Loan__c.BorrowerId__c}
&opp4={!Loan__c.Portfolio_Owner__c}
&opp4_lkid={!Loan__c.Portfolio_OwnerId__c}&
retURL=/{!Loan__c.Id}&saveURL=/{!Loan__c.Id}

The issue I am having is with the page, it displays another salesforce inside of the existing salesforce page. If anyone has any ideas or work arounds to this that would be awesome! Thank you so much in advance.

  
We use a custom object called Loan and Loans have opportunities.

Loans have custom fields like UPB, Term, Interest Rate, etc..

Opportunities have new UPB, Term, Interest Rate..

I need to write a trigger that would populate the custom fields on the loan with the custom fields on the opportunity when the stage of opportunity = Completed

Thank you for your help!