×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Import/Export Not Configuration

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...



RE: Import/Export Not Configuration

(OP)
I solved the Import/Export Not Configured problem by refering my Notes.ini file...  There was no viewimp for "ASCII Text",  so I changed my fileimport to use "Structured Text" because the following line was in the notes.ini file!
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

(OP)
Number:
 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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close