DavidEman Posted March 24, 2006 Posted March 24, 2006 Please bare with me, I am new to XML and have a basic question. I've got a networked solution where we export to XML using an XSL stylesheet that is located in a specific folder (inside the FMP Application folder) on each person's computer. How do I name the path to the stylesheet, so if we add a new computer it can have any name or someone changes the name of their computer and still find the stylesheet? Thanks for your assistance
Fenton Posted March 24, 2006 Posted March 24, 2006 You have a bit of a problem on version 7, if you allow users to rename their hard drives. In that case, it would be easiest to upgrade to 8. It has a Set Variable script step, which allows you define a variable to any path you want, then use that in the Export file paths. 8 has a Get (FileMakerPath) function, which returns the folder the FM app is in. In other words, 8 was designed to help with external files. Another alternative is to put the xsl on a web site or shared volume. Then its path is the same for all. This works in 7. I've mostly used that when the xml is also accessed via a URL (you have to in that case).
Recommended Posts
This topic is 6817 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