mbangler Posted January 6, 2005 Posted January 6, 2005 Please be patient with me on this one people. Hopefully this is the right place to post this. I will not post elsewhere so in nec. please move this post. What I would like to do is after having someone receive an automated email from an FM action (which is in place) which would contain a link similar to the one below. The first link below is an example that pulls up a html page and finds a record. (That works) ----------- http://11.111.111.11/FMPro?-DB=Company.fp5&-format=/Acme/index.htm&recordID=1&-findall ----------- What I really would like to do is have the link perform an action (in this case set an approval field for a specified record in the fm db) WITHOUT having to pull up an html page. The example link below is kinda where I'm at with it. I know I'm prob. way off but is nothing else just confirmation of if this is possible or not would be greatly appreciated. Help even more so appreciated. http://11.111.111.11/fmPro?-db=Company%2...Final&-edit What I'm working with...... FM 5.5 Max OS X Using OS X Mail app to send email Using XP with Outlook Express as client that receives email and responds via link in email.
Garry Claridge Posted January 6, 2005 Posted January 6, 2005 To perform an Action without displaying another Format file may be achieved in a few ways. One method would to use Frames or IFrames. Another method would be to use a "pop-up" which just confirms the Action. You may be able to introduce some PHP which would handle multi-actions. Good Luck. Garry
mindtpi99 Posted January 7, 2005 Posted January 7, 2005 The way I would do it would be by making the format file destination a [FMP-header] file - you could then stick the action in the header file and set the format file for that back to the page that displays the results. If you have several actions to do that can't be done in one form you can move from header page to header page. I use them for hiding response pages from forms and they work really well for me. From the CDML Reference database: --------------------------- What it does The HTTP header of the page sent to the browser is replaced with the text between the [FMP-Header] and [/FMP-Header] tags. None of the text between the tags will appear in the HTML portion of the page. The [FMP-Header] tag must be placed before the [FMP-ContentMimeType] and [FMP-SetCookie] tags in order for them to function properly. The [FMP-Header] tag will replace the current header entirely. Since these tags modify the header, their position is important. One example of the use of a header would be to redirect a browser to a different HTTP server instead of displaying the formatted page. Consult RFC 2068, Hypertext Transfer Protocol -- HTTP/1.1 for more information about HTTP headers. Syntax example(s) Direct the user's browser to the FileMaker home page after processing the request [FMP-Header] HTTP/1.0 302 Moved Temporary Location: http://www.FileMaker.com [/FMP-Header] Other tags that are required [/FMP-Header]
Recommended Posts
This topic is 7330 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 accountSign in
Already have an account? Sign in here.
Sign In Now