Timeline for Need some help with a custom button or button override
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 23, 2013 at 5:49 | comment | added | eyescream | Sadly I don't plan to go to US anytime soon ;) But you're more than welcome to jump over the pond for Cloudforce/Cloudstock London, approx. June I believe! | |
Jan 23, 2013 at 3:47 | comment | added | Aaron P. | Eyescream you are a life saver. Can I buy you a beer somehow? | |
Jan 19, 2013 at 9:06 | history | edited | eyescream | CC BY-SA 3.0 |
added answer to something that emerged in comments
|
Jan 19, 2013 at 0:32 | comment | added | Aaron P. | Sure. The URL that the standard 'New' button generates looks like this: Original URL. Looking through those links, it looks like my button URL has all the same parameters, but is shorter for some reason. URL generated by my button | |
Jan 19, 2013 at 0:08 | comment | added | eyescream |
Would help if you can show us sample link (there might be some stuff specific to this package I'm not familiar with, especially since it's VF page and can take any kind of params). Standard stuff: retUrl is target if you'll hit cancel but most likely what you see there is the form prepopulation trick to set Opportunity lookup and other Payment fields. Start with salesforce.stackexchange.com/questions/937/… and experiment? Also comments in salesforce.stackexchange.com/a/4582/799 ;)
|
|
Jan 18, 2013 at 23:57 | vote | accept | Aaron P. | ||
Jan 18, 2013 at 23:56 | comment | added | Aaron P. | Thank you very much! I am having a little trouble implementing your solution, and I was wondering if you could help with one more aspect: I used the URLFOR function as advised. I used: location.href = '{!URLFOR($Action.pymt__PaymentX__c.New)}'; However there are more parameters being passed in the URL generated by the original button than the one I created. How do I determine what those parameters are so I can include them in my button as well? Do I decode it from the URL or is there a better way? | |
Jan 18, 2013 at 23:03 | history | edited | eyescream | CC BY-SA 3.0 |
added 436 characters in body
|
Jan 18, 2013 at 22:58 | history | answered | eyescream | CC BY-SA 3.0 |