Import/Export Not Configuration
Import/Export Not Configuration
(OP)
I am writing a simple script (as an agent), I am exporting an email to a file, then turning around and importing that file (structured text) into a different DB (with lots of fields). One trick already used is formatting the email so that export (with word wrap at 999 Characters) maintains the structured data contained in the email. When I run the agent it gives me dialog boxes (Replace file? and Word Wrap default 75 changed to 999). Problem one... it would be nice to pass the responses to these dialog boxes via my agent and not bother the user.
The real problem is the import fails. and throws a dialog box "Import/Export Not Configured".
Well... how do I read about configuring import/export? Any hint is appreciated!
Here is the simple script...
@Command([FileExport]; "ASCII Text"; "C:\\web2me4n.txt") ;
@Command([FileOpenDatabase]; "":"ME4N\\suspects.nsf"; " unconvertedbysource";"W" ;" 1" );
@Command( [FileImport] ; "ASCII Text"; "C:\\web2me4n.txt")
B&B.. This process works when I do it manually, the objective is to automated for sales people and eventually completely automate it on the server...
The real problem is the import fails. and throws a dialog box "Import/Export Not Configured".
Well... how do I read about configuring import/export? Any hint is appreciated!
Here is the simple script...
@Command([FileExport]; "ASCII Text"; "C:\\web2me4n.txt") ;
@Command([FileOpenDatabase]; "":"ME4N\\suspects.nsf"; " unconvertedbysource";"W" ;" 1" );
@Command( [FileImport] ; "ASCII Text"; "C:\\web2me4n.txt")
B&B.. This process works when I do it manually, the objective is to automated for sales people and eventually completely automate it on the server...
RE: Import/Export Not Configuration
VIEWIMP3=Structured Text,0,_ISTR,,.LTR,.CGN,.STR,,1,
I am still getting dialog boxes ... would like a way of passing the responses needed in the dialog boxes to the fileimport command...
Anybody have any ideas?
RE: Import/Export Not Configuration
166325
Problem
When using the @Command([FileImport]) function, is there a way to prevent the dialog box from displaying?
Example:
When you use the @Command([FileImport]) function, there are parameters that you can use to indicate the File Type and File Name. Depending on the FileType selected, a dialog box is presented prompting the user for additional information (for example, an ASCII file type results in "preserve existing line breaks?").
Solution
Currently, Notes is programmed to always display the dialog box based upon which File Type is selected when the @Command([FileImport]) function is executed. There is no way to prevent this dialog box from displaying.
This enhancement request has been submitted to Lotus Quality Engineering.
Supporting Information
Related Documents