Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

exporting and html coding

Featured Replies

I want to be able to export a single document with the formatting I designed.

Can I use HTML codes to keep the formatting the same? Can I add HTML into

a script? How do I this? My goal is to export a single record and turn it into

an e-mail with HTML formatting.

Can I do this? Would I need Filemaker Pro Web Companion?

The email set-up that is with the filemaker script does not have all the bells

and whistles I need to create the necessary formmatting. Can anyone Help?

Thanks

Paul

I know that FM version 6 has a lot of XML capabilities, but I haven't looked into it. A very simple way to do it with any version of FM is to create a global text field that contains a template of the HTML (which you can create in another application), with dummy text markers where you want to insert the actual data. Then use a series of substitute functions to create the actual output. Suppose your template field is gTemplate and contains something like:

<Htmlblah> MyDummyMarker1

<blah>

<blah>

<Html tag> MyDummyMarker2

<blah>

<blah>

<Html tag> MyDummyMarker3

<blah>

<blah>

Then make a calculated field cOutputHTML with this formula:

Substitute(Substitute(Substitute(gTemplate,

"MyDummyMarker1",DataField1),

"MyDummyMarker2",DataField2),

"MyDummyMarker3",DataField3)

This will then be the actual HTML that you want to export.

  • Author

I will try this thanks for the help.

  • Author

This has worked quite well. It even gave me some ideas for doing other things.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.