Prompting From Btxml 追蹤
I would like to use BTXML with .NET SDK or with the Commander, but I have problems when the format contains prompted fields. In these cases the prompt dialog does not shows up and prompted fields will contain empty value. If I check the responseXML, the corresponding Object fields are empty (the not prompted field values, like namedsubstrings that I change from XML are OK).
I suppose the btw file is OK, because when printing from Bartender App the prompt dialog appears.
In the XML I set "<EnablePrompting>true</EnablePrompting>" in <PrintSetup> tag as well, but it has not helped.
Interesting is that, when I run bartender from command line with the same XML: " bartend.exe /P /XMLScript="test.xml" /X " the prompt dialog shows up, but the children of <QueryPrompt> tag (DefaultReply, UserPrompt) are ignored, the default reply and prompt appears.
I tried Commander with "Bartender" and "Bartender XML Script" command types, but has no diference, prompt dialog does not appear. In the .NET SDK I use:
"string XMLResponse = btEngine.XMLScript(@"D:\test.xml", XMLSourceType.ScriptFile);"
What am I missing?
Any help would be really appreciated!