ddtully Posted January 14, 2002 Posted January 14, 2002 I have set all the priveledges for both the related files properly and yet I am unable to add any information to a portal in a new record. Does anyone know if this is a known issue or something that I am missing ?
Jeff Spall Posted January 15, 2002 Posted January 15, 2002 Hi, when you access FileMaker through a web interface, you can only input into one file at a time, so if you want to create or amend information in a portal, you'll have to connect directly to the related database. I generally open a little javascript window linked to the related record so that the user still has the main page in the browser. This also lets you click through to a number of related records without having to click backwards and forwards. So the link from the portal in your database would look something like this: <A HREF="javascript penAWindow('FMPro?-db=related_database&-format=little_window.htm&-error=search_error.htm&-lay=layout1&-op=eq&recordkey=[FMP-FIELD:related::recordkey]&-find','win2 ',375,300,0)">[FMP-FIELD:related::company_name]</A> This would allow you to edit.......though I think other members of the list might have a more elegant version of this! To create a new related record, open the window with a 'new' string and then carry over your relationship value as a token. regards, jeff ps, the matching script that goes into the page header is: <SCRIPT LANGUAGE=JavaScript><!-- function openAWindow( pageToLoad, winName, width, height, center) { xposition=0; yposition=0; if ((parseInt(navigator.appVersion) >= 4 ) && (center)){ xposition = (screen.width - width) / 2; yposition = (screen.height - height) / 2; } args = "width=" + width + "," + "height=" + height + "," + "location=0," + "menubar=0," + "resizable=1," + "scrollbars=1," + "status=0," + "titlebar=0," + "toolbar=0," + "hotkeys=0," + "screenx=" + xposition + "," //NN Only + "screeny=" + yposition + "," //NN Only + "left=" + xposition + "," //IE Only + "top=" + yposition; //IE Only window.open( pageToLoad,winName,args ); } // --></SCRIPT> [ January 15, 2002: Message edited by: Jeff Spall ]
Recommended Posts
This topic is 8340 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