With standard dataports you can use a request form to get additional information into the dataport. There does not seem to be this option with XMLPorts. Can anyone recommend a way to pass variables into a XMLPort? One solution is to launch a request form before the XML import/export, and write information to a temporary table that can be read by the XMLPort, but I’m hoping that there is a better way than this. Thank you in advance.
Like any Navision object, you can add functions with parameters. Before you use the IMPORT or EXPORT method, you send parameters into the objects by calling the new function. XMLPorts do not have request form, they are objects without user interface.
Ok, thank you for your reply Daniel. When I tried that the other day it didn’t work, but I’ve seen my mistake now.
Let me know if you’d like an example.