To generate a DrawLoop document, I want to make a button that does this:
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?
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?