To generate a DrawLoop document, I want to make a button that does this: window.open(“/apex/loop__looplus?eid={{Id}}&sessionId={{$Api.Session_Id}}&autorun=true”) Where “ID” is the SF record ID of a record currently in use by my model. When I tried to put this into a simple redirect button (without the “window.open”) it interpreted my curly braces as literals. Is there a different syntax I would use to it that way? Alternatively, I should be able to make this out of a snippet, but what is the syntax to retrieve specific field values of specific records in the models on my page (and the Session ID) in the javascript?
Question
Button to redirect to another page with parameters based on field values
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.