Timeline for How to pass parameter in the new button to VF page in related list section
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 18, 2016 at 1:39 | comment | added | sfdcfox♦ | @AdrianLarson You'd only crash if (a) Id was provided to an existing record, and (b) the field was not referenced in the page. For new records, no query is generated, so this code works fine either way. For existing records, the field needs to be bound to the page if the page can be accessed with or without the parameter. | |
Jul 18, 2016 at 1:37 | comment | added | Lance Shi | @AdrianLarson Won't be an issue if you reference them in the page | |
Jul 18, 2016 at 1:28 | comment | added | Adrian Larson♦ |
Won't this code throw errors without addFields ?
|
|
Jul 18, 2016 at 1:08 | vote | accept | Lance Shi | ||
Jul 18, 2016 at 1:03 | history | answered | sfdcfox♦ | CC BY-SA 3.0 |