• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

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
0
tncode
Asked:
tncode
  • 2
1 Solution
 
Julian HansenCommented:
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now