Skip 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.

Help !!! (CDML and Web Publishing)

Featured Replies

  • Newbies

I'm using a very small database to learn how to use CDML to make my custom database-accessing pages and post them on the web. I created a simple homepage in CDML that had a button which if pressed would delete a record from my database. Before I started messing around with CDML pages, I was able to publish the database on the web using the built-in Web Companion home page. I tried the CDML home page that I had created. Whenever I clicked on the button to delete a record from the database an error would occur, which would make Web Companion display the error page I had specified in the homepage to be displayed whenever an error occured. I was not successful in using my CDML homepage so I tried going back to using the built-in homepage. I was able to get to the homepage through my web browser. Then I clicked on the database I wanted to display and the page corresponding to it would be displayed but none of the buttons or links on the page would work. The browser would display on the status bar "Error!" whenever I clicked on a link or button. I tried accessing another database through the web browser and the same thing happened. Does anybody have any idea of what's going on here? crazy.gif" border="0

I'm using windows 2000 Professional and FileMaker Pro 5.0

[ January 03, 2002: Message edited by: juds ]

When one accesses default.htm, there is no connectivity with any db file. Your button must establish that access.

  • Author
  • Newbies

This is the CDML code I'm using:

<HTML>

<HEAD>

<TITLE>Delete Request</TITLE>

</HEAD>

<BODY>

<FORM ACTION="FMPro" method="post">

<INPUT TYPE = "hidden" NAME = "-DB" VALUE = "YouthDirectory.fp5">

<INPUT TYPE = "hidden" NAME = "-Format" VALUE = "deletereply.htm">

<INPUT TYPE = "hidden" NAME = "-Error" VALUE = "error.htm">

<INPUT TYPE = "hidden" NAME = "-RecId" VALUE = "4">

<INPUT TYPE = "Submit" NAME = "-Del" VALUE = "Delete this record">

</FORM>

</BODY>

</HTML>

where deletereply.htm and error.htm only contain html code that tells the user that either the deletion was succesful or an error was encountered, respectively. I don't know if this might have been what caused my problem, but I did not disable Instant Web Publishing before using my custom CDML pages. I also tried using the link address generated by Web Companion when using Instant Web publishing in one of the homepages I created to access my test database. The problem really started at this point. frown.gif" border="0

You should check if there is really -RecId = 4.

The < input type="hidden" name="-RecID" value="[FMP-CurrentRecID]">

will be more flexible.

Why you are starting with delete? Do some another examples.

WC is usually blocking the records after accessed from web browser, so I cannot delete something even I have full rights.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.