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.

Cannot Add New Record

Featured Replies

I am stumped on this one. A very simple solution. I just want to be able to add new records to a very simple database.

I have attached the XSL Templates. Why can I NOT add new records. Everything 'seems' to work, except no new records are added.

I have set the Accounts and Privileges for the Guest account to [Data Entry Only], which should allow Guest to Create New Records.

volunteers.zip

Any error messages?

Are the permissions of the database file set to rw-rw---- ?

  • Author

At first, there was an error message trying to go to browserecord.xsl (because there wasn't one, and I don't know why Filemaker Site Assistant created the xsl templates with that in there). I changed the line to go back to home.xsl, which it does now when Submitting the record.

Just that no record is created on the server.

Permissions are rw-rw----

I can create records using the FileMaker Pro Client logged in as Guest.

  • Author

Well, I just made a browserecord.xsl template, and had the Addrecord.xsl go to it on "action", and now the record is getting added. I don't know why, since I really don't understand this stuff (just know how to solve my problems).

Anyway, I then added a redirect on the browserecord.xsl page to go back to home.xsl after 5 seconds.

Wouldn't mind knowing what I would need to do with addrecord.xsl to get it to actually add a new record and go back to home.xsl without having to display the record with a browserecord.xsl though.

Now I see it! It's because you have this processing instruction in your home.xsl:

<?xslt-cwp-query params="-grammar=fmresultset&-encoding=UTF-8&-process"?>

It overrides all your previous form submission parameters.

See also there

Martin

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.