Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Filemaker > Re: SVG from/wi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 36 of 37 Topic 8024 of 8328
Post > Topic >>

Re: SVG from/within FMP9

by d-42 <db.porsche@[EMAIL PROTECTED] > May 9, 2008 at 10:17 AM

On May 9, 4:45 am, Martin Trautmann <t-...@[EMAIL PROTECTED]
> wrote:
> On Fri, 9 May 2008 11:48:26 +0200, Ursus wrote:
> >  Martin, SVG is not directly sup****ted within filemaker. The newer
versions
> >  sup****t a WebObject, where you are able to show webpages on a layout.
Since
> >  svg is a htm sup****ted format I don't see any reason why that
wouldn't work.
>
> Could FMP serve the html code directly or would I have to ex****t from
> FMP to an external, static page in order to see this self-generated page
> within the Web Viewer again?

> Or is there any option in order to build a web page not from the layout
> data, but from a single text field which will be used as souce code
> (such as html, css, php, svg)?

For small 'do***ents' you can url encode the entire page in the URI
which accomplishes exactly what you describe. For more information,
see the 'data:' uri scheme. (You know how http:// loads
from web
server... ftp:// loads from a ftp server... well data: loads data
inline from the URI.)

Safari sup****ts the data: uri scheme. Internet Explorer 6/7 do not.
(IE8 apparently does). However, on Windows Filemaker handles the data:
uri for you, by behind the scenes creating a tem****ary file, and then
loading that via a file: uri.

For example you could set a field to be:

data:text/html,<h1>Hello World!</h1>

And set the web viewer to load that URI.

For larger do***ents, yes, you will need to ex****t to a file and then
load it. Filemaker 9 provides the function 'Get(TempoaryPath)' that
will return a convenient and appropriate place to save these ex****ts.
So building the do***ent in a text field is easy. Ex****ting a single
text field is easy. (simply ex****t the current record
as ...tempoarypath/somefilename.html in csv format -- because its one
field of one record, there won't be any commas etc) and then set the
webviewer object to load file://tem****arypath/somefilename.html

Voila.

PS  regarding the maximum size a data: uri before you have to switch
to an ex****t. I do know that its based on the browsers limit. So for
Mac it will be Safari's limit. For windows, because Filemaker creates
a tem****ary file behind the scenes anyway, you aren't really limited.

Internet Explorer 5/6/7 is 2kb. IE8 will be at least 32kb (but, per
above, it isn't relevant in FM)
Safari is known to sup****t at least 80kb

So you can create definitely create some pretty sophisticated
do***ents before you're out of bounds with the data: uri.

-regards,
Dave
 




 37 Posts in Topic:
sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-05 15:16:10 
Re: sorting/printing speed FMP9 vs. FMP6
d-42 <db.porsche@[EMAI  2008-05-05 14:46:44 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-05 22:09:07 
Re: sorting/printing speed FMP9 vs. FMP6
Jens Teich <spamtrap@[  2008-05-06 00:24:25 
Re: sorting/printing speed FMP9 vs. FMP6
d-42 <db.porsche@[EMAI  2008-05-05 16:02:57 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-05 23:21:32 
Re: sorting/printing speed FMP9 vs. FMP6
Jens Teich <spamtrap@[  2008-05-06 01:40:43 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-05 23:33:07 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-05 23:43:54 
Re: sorting/printing speed FMP9 vs. FMP6
Jens Teich <spamtrap@[  2008-05-06 02:00:27 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-06 06:32:12 
Re: sorting/printing speed FMP9 vs. FMP6
d-42 <db.porsche@[EMAI  2008-05-06 03:22:11 
Re: sorting/printing speed FMP9 vs. FMP6
d-42 <db.porsche@[EMAI  2008-05-06 03:48:00 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-06 11:40:57 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-06 11:50:00 
Re: sorting/printing speed FMP9 vs. FMP6
d-42 <db.porsche@[EMAI  2008-05-06 12:27:24 
Re: sorting/printing speed FMP9 vs. FMP6
d-42 <db.porsche@[EMAI  2008-05-06 13:32:48 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-06 20:32:39 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-06 21:04:13 
Re: sorting/printing speed FMP9 vs. FMP6
Lynn Allen <lynn@[EMAI  2008-05-06 16:30:59 
Re: sorting/printing speed FMP9 vs. FMP6
d-42 <db.porsche@[EMAI  2008-05-06 14:13:12 
Re: sorting/printing speed FMP9 vs. FMP6
d-42 <db.porsche@[EMAI  2008-05-06 14:35:21 
Re: sorting/printing speed FMP9 vs. FMP6
d-42 <db.porsche@[EMAI  2008-05-06 15:05:16 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-07 07:50:39 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-07 07:57:30 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-07 09:19:09 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-07 09:22:47 
Re: sorting/printing speed FMP9 vs. FMP6
d-42 <db.porsche@[EMAI  2008-05-07 10:17:10 
Re: sorting/printing speed FMP9 vs. FMP6
d-42 <db.porsche@[EMAI  2008-05-07 11:21:17 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-07 22:42:07 
Re: sorting/printing speed FMP9 vs. FMP6
Martin Trautmann <t-us  2008-05-08 10:20:24 
Re: sorting/printing speed FMP9 vs. FMP6
d-42 <db.porsche@[EMAI  2008-05-08 12:27:15 
SVG from/within FMP9
Martin Trautmann <t-us  2008-05-09 06:11:55 
Re: SVG from/within FMP9
"Ursus" <urs  2008-05-09 11:48:26 
Re: SVG from/within FMP9
Martin Trautmann <t-us  2008-05-09 11:45:17 
Re: SVG from/within FMP9
d-42 <db.porsche@[EMAI  2008-05-09 10:17:41 
Re: SVG from/within FMP9
Martin Trautmann <t-us  2008-05-09 20:35:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 8:40:20 CDT 2008.