
I have a junction object that links opportunities to a custom object called Programs. I very creatively called the junction donation programs (we are a non-profit). The standard new button that shows up on the related list only pre-populates the opportunity name into the junction object, but it would be great if it could go a step further and populate the amount of the opportunity as well.
I've created a new button on the junction object and have gotten far enough to pre-populate the amount, but I cannot for the life of me get the opportunity to populate now.
The button's url follows:
/a0V/e?00NG000000BzGRM={!Opportunity.Amount}&00NG000000BzGM7={!Opportunity.Id}&saveURL=%2F{!Opportunity.Id}&retURL=%2F{!Opportunity.Id}
I used the field's ID as the reference in the URL, which I found by navigating to the field in the setup menu. Anyone have any ideas on what I am doing wrong?
3 respuestas
Shot in the dark! Can you try this: /a0V/e?00NG000000BzGRM={!Opportunity.Amount}&CF00NG000000BzGM7_lkid={!Opportunity.Id}&CF00NG000000BzGM7={!Opportunity.Name}&saveURL=%2F{!Opportunity.Id}&retURL=%2F{!Opportunity.Id}