Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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

Posted

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.

Posted

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.

Posted

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

This topic is 7124 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.