March 24, 200619 yr 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
March 24, 200619 yr 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).
Create an account or sign in to comment