NYPoke Posted July 20, 2011 Posted July 20, 2011 I am using 360Works to implement an XML Request. I have to export FileMaker Data, to implement a Stylesheet that translates the XML into the format I need. For PostXMLData ( PostXMLData( url ; xml ; soapaction ) ), the second parameter is the XML. Do we have anyway to use a FileName here, rather than importing the XML backinto FileMaker? I rarely use XML, so maybe this is an XML issue rather than a 360Works issue. Something like "?XML file='c:\360Works\testdata.xml' " maybe?
dansmith65 Posted July 21, 2011 Posted July 21, 2011 I think you would need to get the contents of the file in your function. Do a search on how to read a text file's contents in Groovy; it shouldn't be hard.
NYPoke Posted July 22, 2011 Author Posted July 22, 2011 Dan, thanks. That was about what I was thinking. However, I think I'll just use some Calculations & Scripts and build the XML within FileMaker. No need to use Stylesheets, if I don't need them. We aren't dealing with complicated XML. Plus, I won't have to deal with the Exports on our Client Machines & Remote Desktop. I'll just build the XML myself & keep it all consolidated inside FileMaker.
Recommended Posts
This topic is 4890 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