October 24, 201312 yr I was hoping to have my iwp file (Hosted on FMSA) open to a different layout or run a particular script by the url link I supply I have tried <TheIPaddress>/fmi/iwp/cgi?-db=<TheDatabaseName>&-loadframes?script=<TheScriptName> and <TheIPaddress>/fmi/iwp/cgi?-db=<TheDatabaseName>&-loadframes?layout=<TheLayoutName> But all I get is either an error message saying "Bad request - The server could not process your request due to an illegal parameter:"-loadframes?script"". Sometimes I just get a blank page but no error message. Is it because I already have an opening script and an opening layout defined for the file? Or is it my url?
October 30, 201312 yr I'm no expert with IWP but I didn't think you could do that. You can use a URL to run a script within FileMaker CLIENT... But then again maybe this link will help, which seems to discuss creating records directly from a URL... http://forums.filemaker.com/posts/ff40578a67
November 20, 201312 yr If I understand your question right, you can determine if the user is connecting via the FM Pro client or the web and take action appropriately with that information. For example If [Position( Get ( ApplicationVersion ); "Web" ; 1 ; 1 ) > 0] Go to Layout ["Web Layout"] Else Go to Layout ["Client Layout"] End If should do the trick. The Get ( ApplicationVersion ) function returns information on which vehicle is being used to access the database.
Create an account or sign in to comment