Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6616 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I've started playing around with the data:URI trick shown off by "The Bridge", and SVG to allow the dynamic creation of graphics in the webviewer.

My examples are pretty lame so far, but there is clearly a lot of potential here. Take a look at the attached fp7 file.

The sample file is setup for Mac users, and you'll need to download the SVG plug-in from Adobe if you haven't yet (the link is in the fp7 sample file).

Hopefully this will motivate someone to do something cool, I'd like to see a custom function that constructs a pie-chart, for instance. :)

svgSample.zip

Posted

Try replacing the "data:" at the front of the webViewerInput field with "about:" for each of the records, I hear that works in other posts, but I don't have a win machine handy to test it out on.

Posted

I borrowed the technique StuartT was using to (hopefully) make a cross-platform version that uses "about:" for Windows.

Let me know if you can see it - but you'll still need the SVG plug-in from Adobe if you don't already have that.

svgSample.zip

Posted

Hello,

Hi I would like to know if the about: thing works myself...

I was very excited about the SGV demo and spent the day creating an SGV database with a customisable objects database and it works like a dream...

Its a wonderful tool especially when i spent all last week creating 1000 vector based images in illustrator to make a semi accurate pie chart maker...

PROBLEM IS:

[color:red]I CANT FIND ANY SUPPORT FOR PRINTING!!! on the Mac

Filemaker will not ... safari itself will not and neither will Firefox...

[color:green]Anyone had any luck printing???

or failing to print ... please say which platform/browser your using.

best,

Stuart

Posted (edited)

Ouch! ... Is this true of IE 7 beta too or Firefox on windows?

NOTE: Firefox 1.5.0.6 on my machine (os x 10.4.7) would not work until i [color:red]removed the spaces between the tags >< this may be the issue as the url should be in one string. Windows will probably require that.

If it works can you print?

Edited by Guest
Posted

Just to make sure we are on the same page...

Checklist:

• You have installed the Adobe SVG Plugin Y/N

• You have restarted your browser and filemaker (maybe your machine)

• You are running FileMaker 8.5 or 8.5 Advanced

• You have made the html one string...

eg: test<...

not

test

<...

• apart from the beginning and the end every instance of " is replaced with "

If yes:

• Try replacing every instance or "data:text/html," with "about:" ... I think i may have just replaced the "data:" bit not the "text/html," this maybe the issue.

hope this gets you sorted,

Could you tell me how you get on as i would love to deploy this on windows with a sense of confidence.

best

Stuart

  • 2 months later...
  • Newbies
Posted

Opera can print SVG images on a mac.

How do you print SVG images in the FileMaker's Web Viewer?

Thanks,

Jeremy

You can get Opera from here… http://www.opera.com/download/

Posted (edited)

If this is true I have just become your number one fan and will be in your gratitude for ever ... this will extend the functionality of filemaker wow.

In terms of printing ... i believe the safari framework in the os is used for the viewer itself.

This means that you would be required to export the contents of the field to say the desktop ... calling it "filename.htm" and then run a simple applescript

(this is off the top of my head, think it should work)

Tell application "Opera"

open "Harddrive:Users:Username:Desktop:filename.htm"

Print

End Tell

Best wishes,

Stuart

Edited by Guest
  • 2 weeks later...

This topic is 6616 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.