Using FM Server 7, need script to choose right layout.
Posted on 2004-12-01
Once agian, I have run into t problem. I have finally got a hold of how to do things in FM 7 Server using Custom Web Publishing but I am still running into a problem. I have a script that works properly in the database but when it gets called while using the query string for XSLT publishing, the wrong layout is showing up. My script chooses which layout to use base on the account that logs in. Here is my string:
Now notice that I have -lay=Pro2 set but I only do that because without it, I get a parameter missing error for the query string. I have tried to move the seting of the script ie. -script, all along the query string but ultimately I still end up with -lay layout, not the one I that is supposed to get.
Any help or direction would be very much apprieciated.