Skip to main content

Hi,

 

I have an X-Author presto app that is launched from Salesforce. The goal is to query the record and display the data fields from a single Salesforce record, then run a macro and produce a PDF that is then attached to the Salesforce record.

 

Everything is working when I use a static record id value in the Query. How can I pull in the record id based on which record is leveraging the button? Am I able to pass it into the button as a parameter that can be leveraged?

 

Thanks!

1 comentario
  1. 22 ene 2023, 15:32

    One way to do this is to create a custom button on the Salesforce object that launches the X-Author presto app and pass the record ID as a parameter. You can use the {!URLFOR($Action.ObjectName.ButtonName, Id)} merge field to pass the record ID as a parameter in the URL of the custom button.

0/9000