Is there a URL for a specific record in a file?

26 views
Skip to first unread message

Kim Sokil

unread,
Jul 21, 2016, 5:39:37 PM7/21/16
to ParaSQL Support
I want to be able to use the HTML button snippet to send an email to a specific email address that tells them to go and open up and read a specific record.

i.e. - send to john.smith a URL link to the the quote record of 1008 (this would be the ID number of the record in the Quote file)

Kim


Robert Dyas

unread,
Jul 22, 2016, 1:52:11 PM7/22/16
to ParaSQL Support
You can send an email with the HTML snippet shown below, and include a URL to open the app. You can also include the record ID and whatever text you want in the email, but it cannot automatically open to that record for security reasons.


<div class='BasicButton' onclick="
var emailAddress = @value(Customers.Email_Address);
var subject = 'my subject';
var body = 'The customer ID is: ' + @value(Customers.Customer_ID) + ' open app: https://www.parasql.com/run?appId=830f4d52-0987-470b-abe6-92b3f6c6bf89';
var a = document.createElement('a');
a
.href = 'mailto:' + emailAddress + '?subject=' + encodeURIComponent(subject) + '&body=' + encodeURIComponent(body);
a
.target = 'emailtab';
a
.click();
">&#9993;</div>


Reply all
Reply to author
Forward
0 new messages