How to remove the default embossed border of the FileMaker webviewer in Windows?

I am using FileMaker 14. I need to remove the embossed border of the FileMaker webviewer in Windows and display a bcgen.com barcode from data within the database.

Within the webviewer, I can get the barcode to show up but there is the border:
"http://www.bcgen.com/demo/linear-dbgs.aspx?D=" & Table1::ProductGTIN

When I use HTML to remove the border, I cannot get the barcode to be dynamic.
"data:text/html,<body style='border=0;margin=0;overflow:hidden'><html><head><title>IDAutomation_Barcode</title></head><body>
<img src='http://www.bcgen.com/demo/linear-dbgs.aspx?D='Table1::ProductGTIN > </body></html>"

I know there is a simple solution. Please try the attached database and let me know what the correct code is please. Thanks so much!
barcode_database---Copy.fmp12
LVL 6
tncodeAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Julian HansenConnect With a Mentor Commented:
As this has not been picked up I am going to give it another go.
What happened when you tried the code below? I am interested to know why (how) this failed as it appears to be similar to the version you had with the border. In your version it simply loads the image the path to which is created dynamically by appending the Image ID to the end of the URL (as a parameter). In the code below we are theoretically doing the same thing - what happened with the code below?
"data:text/html,
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
html, body {
   margin: 0;
   padding: 0;
   border: 0;
}
</style>
</head>
<body>
<img src='http://www.bcgen.com/demo/linear-dbgs.aspx?D='" & Table1::ProductGTIN & "
</body>
</html>"

Open in new window

0
 
tncodeAuthor Commented:
Thanks! I got it to work with the following code. I had to combine " and '

"data:text/html,
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
html, body {
   margin: 0;
   padding: 0;
   border: 0;
}
</style>
</head>
<body>
<img src='http://www.bcgen.com/demo/linear-dbgs.aspx?D=" & Table1::ProductGTIN & "'>
</body>
</html>"
0
 
Julian HansenCommented:
Well done.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.