September 23, 200322 yr I should preface this by telling you that I am a genuine newbie! With that said... I have FMPro 6 installed on my Mac (G4 - OS X). The Local Data Access Companion, Remote Data Access Companion and the Web Companion have all been enabled under the Application Preferences (I've also got these options checked under File > Sharing). The WebCompanion plug-in config for the application has IWP enabled. I have a small html form (test.html -- this is appended to the end of my post) set as the Home Page and my TCP/IP port is set to 591. Apparently I am wrong to assume that if I type 'http://localhost:591/' into the location bar of my browser that it will replace the FM tags with their expected values (i.e. [FM-CurrentDate: Long] would be replaced with the current date). Also, I have a text input form element whose value is supposed to be set to Employee but it is not showing up with an employee's name, just the FM tag (I don't really believe it would stick in an employee's name. After all, how would it know which record to display -- right?). Can someone straighten out my thinking on this? One last thing. When I click on the 'New Record' button, I get an error message from the browser: Not Implemented. The server does not support the functionality required to fulfill this request. What else am I doing wrong? Thanks for your help! Jason ----> test.html <HTML> <HEAD> <TITLE>New Record Template</TITLE> </HEAD> <BODY> <H2>Sample New Record Form</H2> <FORM ACTION="http://192.168.4.129:591/" METHOD="post"> <INPUT TYPE="hidden" NAME="-DB" VALUE="WebWorkRequest.fp6"> <INPUT TYPE="hidden" NAME="-LAY" VALUE="Web Work Request Form"> <INPUT TYPE="hidden" NAME="-FORMAT" VALUE="http://192.168.4.129:591/workRequestSuccess.html"> <INPUT TYPE="text" name="Employee" value="[FMP-Field: Employee]" size="30"><br> [FMP-CurrentDate: Long] [FMP-CurrentTime: Short]<br> <INPUT TYPE="submit" NAME="-NEW" VALUE="New Record"> <INPUT TYPE="reset" VALUE="Clear Form"> </FORM> </BODY> </HTML>
September 23, 200322 yr "The WebCompanion plug-in config for the application has IWP enabled." The form you have created is CWP. I would suggest a disparity exists.
September 23, 200322 yr Author I switched off the Enable Instant Web Publishing checkbox and attempted to access the form but submitting it still results in the same error message: Not Implemented. The server does not support the functionality required to fulfill this request. Is there a problem with my action URL? What would generate this error? Thanks!
September 23, 200322 yr Change this: <FORM ACTION="http://192.168.4.129:591/" METHOD="post"> to this: <FORM ACTION="http://192.168.4.129:591/FMPro" METHOD="post"> Good Luck. Garry
September 23, 200322 yr Author Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!!!! Yeah! It works! -- Thanks! If I have this page set as the home page in the application preferences, is there a way to get FileMaker to translate the FMP tags (like [FMP-CurrentDate: Long] [FMP-CurrentTime: Short]) when displaying? Thanks again!
September 23, 200322 yr Maybe a "META Refresh", or an "onload" in the <body> tag. Use either of these in conjunction with a "-view". Alternativey, some Javascript will display Date and Time in the browser. All the best. Garry
Create an account or sign in to comment