OLE : Oracle 9i / lotus Notes
Hello
(Text translated of French into English )
We arrived at the limits of our internal comptences and seek solutions for advanced:
Have you got any solution to me... or to provide me contact which can help us with OLE Oracle/notes.
We have a appli developed under Forms d' Oracle with bouttons
The appli in executed on 9iAS and the accesses of the customer is done in Java of the navigator Web . (applet "oracleJinitiator")
We have to update oracle (8 - > 9i) and since we let us not arrive at reparametrer 4 buttons whose function is to interact with Lotus That more fontionne neither on station which has the customer lotus notes 7.0.2 Fr nor with 6.5.4fr (waiter domino 7.0.2 Fr).
We use 4 functions which are as follows
Sending of an email with [email protected]
Sending of email to the contact selectionné
Creation of an appointment in lotus
Addition interloccutor in address book lotus
Here is the code
Sending of an email with [email protected]
Lotus opens then nothing
Work=Create_Obj('Notes.NotesUIWorkspace')
Invoke(Work,'OpenDatabase','domino',:global.ole_mail_lotus);
doc = Invoke_Obj(Work,'ComposeDocument','', '', 'Memo');
Set_Property(Work,'Visible',1);
Invoke(doc,'FieldSetText','EnterSendTo','[email protected] ');
Invoke(doc,'FieldSetText','Subject','Demande de Modif de :_ ');
Invoke(doc,'FieldAppendText','Subject',:SOCIETE.CSOSIRET);
Invoke(doc,'FieldAppendText','Subject','_-_ ');
Invoke(doc,'FieldAppendText','Subject',:SOCIETE.CSOLIBEL);
Invoke(doc,'FieldSetText','body','Responsable Local : Civilité ');
Invoke(doc,'FieldAppendText','body','/ Nom / Prénom ');
Invoke(doc,'FieldAppendText','body','/ Date de naissance OBLIGATOIRES');
Invoke(doc,'FieldAppendText','body','/---/ ARE ');
Release_obj;
Sending of email to the contact selectionné
Lotus opens then nothing
Code
Work = Create_Obj('Notes.NotesUIWorkspace');
Invoke(Work,'OpenDatabase','domino',:global.ole_mail_lotus);
doc = Invoke_Obj(Work,'ComposeDocument','', '', 'Memo');
Set_Property(Work,'Visible',1);
Invoke(doc,'FieldSetText','Body',:global.ole_corps);
Invoke(doc,'FieldSetText','EnterSendTo',:global.ole_email);
Invoke(doc,'FieldSetText','Subject',:global.ole_sujet);
Release_Obj;
Addition interloccutor in address book lotus
error message
Code
Work = Create_Obj('Notes.NotesUIWorkspace');
Invoke(Work,'OpenDatabase','','names.nsf');
doc = Invoke_Obj(Work,'ComposeDocument','', '', 'Contact');
Set_Property(Work,'Visible',1);
Invoke(doc,'FieldSetText','Title',:global.ole_titre);
Invoke(doc,'FieldSetText', 'LastName',:global.ole_nom);
--Invoke(doc,'FieldSetText', 'LastName',:PERSONN.CITNOMPE);
Invoke(doc,'FieldSetText', 'FirstName',:global.ole_prenom);
Invoke(doc,'FieldSetText', 'OfficePhoneNumber',:global.ole_Bur_Tel);
Invoke(doc,'FieldSetText', 'OfficeFaxPhoneNumber',:global.ole_Bur_Fax);
Invoke(doc,'FieldSetText', 'MailAddress',:global.ole_email);
Invoke(doc,'FieldSetText', 'JobTitle',:global.ole_fonction);
Invoke(doc,'FieldSetText', 'CompanyName',:global.ole_societe);
Invoke(doc,'FieldSetText', 'PhoneNumber',:global.ole_pers_Tel);
Invoke(doc,'FieldSetText', 'HomeFaxPhoneNumber',:global.ole_pers_Fax);
Invoke(doc,'FieldSetText', 'OfficeZip',:global.ole_bur_CP);
Invoke(doc,'FieldSetText', 'OfficeStreetAddress',:global.ole_Bur_Rue);
Invoke(doc,'FieldSetText', 'OfficeCity',:global.ole_Bur_Ville);
Invoke(doc,'FieldSetText', 'OfficeCountry',:global.ole_Bur_Pays);
Invoke(doc,'FieldSetText', 'Zip',:global.ole_bur_CP);
Invoke(doc,'FieldSetText', 'StreetAddress',:global.ole_Pers_Rue);
Invoke(doc,'FieldSetText', 'City',:global.ole_Pers_Ville);
Invoke(doc,'FieldSetText', 'Country',:global.ole_Pers_Pays);
Release_Obj;
Creation of an appointment in lotus
Lotus opens then nothing
Code
Work=Create_Obj('Notes.NotesUIWorkspace')
Invoke(Work,'OpenDatabase','domino',:global.ole_mail_lotus);
doc=Invoke_Obj(Work,'ComposeDocument','','','Appointment');
Set_Property(Work,'Visible',1);
Invoke(doc,'FieldSetText','StartDate',:global.ole_Date_Debut);
Invoke(doc,'FieldSetText','StartTime',:global.ole_Heure_Debut);
Invoke(doc,'FieldSetText','EndDate',:global.ole_Date_Fin);
Invoke(doc,'FieldSetText','EndTime',:global.ole_Heure_Fin);
Invoke(doc,'FieldSetText','AppointmentType','Rendez-vous');
Invoke(doc,'InsertText','Subject',:global.ole_sujet);
Invoke(doc,'InsertText','Subject','-');
Invoke(doc,'InsertText','Subject',:global.ole_nom_int);
Invoke(doc,'FieldSetText','body',:FICHE_ACTION;CTXLIBEL);
Invoke(doc,'FieldSetText','body',:global.ole_descr);
Invoke(doc,'FieldAppendText','body','/ TEL :');
Invoke(doc,'FieldAppendText','body',:global.ole_tel_int);
Invoke(doc,'FieldAppendText','body','/ EMAIL :');
Invoke(doc,'FieldAppendText','body',:global.ole_email_int);
Invoke(doc,'FieldAppendText','body','/ ');
Invoke(doc,'FieldAppendText','body',:global.ole_categorie);
Invoke(doc,'FieldAppendText','body','/ ');
Invoke(doc,'FieldAppendText','body',:global.ole_preoc);
-- wait('Mise à jour','Cliquez sur OK pour mettre à jour');
-- :global.ole_Heure_Debut=Invoke_Char(doc,'FieldGetText','StartTime');
-- :global.ole_Date_Debut=Invoke_Char(doc,'FieldGetText','StartDate');
-- :global.ole_Date_Fin=Invoke_Char(doc,'FieldGetText','EndDate');
-- :global.ole_Heure_Fin=Invoke_Char(doc,'FieldGetText','EndTime');
Release_obj;
Thank you by advance
Check whether these will help.
JDBC connectivity with Oracle in Domino-Part I
JDBC connectivity with Oracle in Domino-Part II
JDBC connectivity with Oracle in Domino-Part III
Similar Messages
-
Integration of Oracle with Lotus Notes
Hello,
I have a requirement to interface from my Oracle APEX application to a third party Lotus Notes application.
This would be a two way interface
1) Lotus notes app to call an Oracle packaged procedure to insert into some Oracle tables
2) Oracle APEX App via a Table Trigger to insert into a Lotus Notes table
After the inserts it should be possible to view the data in the Oracle APEX app and in the Lotus Notes app
I am a complete novice to Java but I understand JDBC could be a good method to solve this requirement
For the two way interface the Oracle code would be
1) Lotus notes app to call an Oracle packaged procedure to insert into some Oracle tables
te_pkg.insert_project
(I_work_request_no IN VARCHAR2
,I_description IN VARCHAR2
,I_originator_email IN VARCHAR2
,I_auth_user_email IN VARCHAR2
,I_it_manager_email IN VARCHAR2
,I_raised_date IN DATE
,I_latest_est_days IN NUMBER
2) Oracle APEX App via a Table Trigger to insert into a Lotus Notes table
CREATE OR REPLACE TRIGGER TRIG_proj_AFTER
AFTER
UPDATE ON Project FOR EACH ROW
BEGIN
IF :new.status = 3 THEN -- Project Completed
** INSERT INTO Lotus notes temp table with :new.work_request_no, :new.status
END IF;
END;
Any suggestions and code snippets, particularly for pushing the Project Status INSERT to Lotus Notes would be appreciated.
I stress again I am a complete novice to JAVA so simple step by step instructions would help.
Kind Regards
AdeCheck whether these will help.
JDBC connectivity with Oracle in Domino-Part I
JDBC connectivity with Oracle in Domino-Part II
JDBC connectivity with Oracle in Domino-Part III -
Connect Lotus Notes with ODBC driver
I am trying to figure out connecting SQL Developer with ODBC connection ( set on to ODBC Data Source ) for lotus notes. I am able successfully connect through Excel with that connection. With SQL Developer , its asking for JDBC driver but lotus notes version (R5) what I am using does not support JDBC driver.
Is there any way to connect using ODBC data source for lotus notes.No.
SQL Developer is a Java based tool and requires JDBC. Theoretically you could use the JDBC-ODBC bridge, but there would be no point. SQL Developer is an Oracle specific development and query tool which allows connection to selected other DBMSs in order to support migration to Oracle. Lotus Notes is not one of the supported systems.
SQL Developer is NOT a general purpose, multi-DBMS tool. -
Lotus notes as a front end and oracle as backend
Dear All,
Can i use lotus notes as a front end and oracle as backend atleast for few forms in my application.
If Yes how to go about it.
I have not tried it even once
Kindly also advice if this is appropriate forum to ask this question
Best Regards,
Devendra ShelkeDear All,
Context for asking above question :
We use Form 6i and Report 6i, Application Server 9i and 9i DB.
But for some forms we want the user to enter the data through Lotus Notes but get updated in 9i DB used by Form 6i.
Best Regards,
Devendra -
Lotus notes (ibm) to migrate all the data to Oracle DB Database 10g R2(10.2
Hi Experts,
we have legacy application which is running independently with back end as Lotus Notes(IBM).Now we wanted to migrate the application to our application with data . our application is running with oracle Database 10g R2(10.2.0.2.0).
Now I wanted to migrate all the data to Oracle DB.
Can you suggest me the best ways to do handle the above migrations .
thanks in advanceHi,
Install all the required packages.
You are hitting a bug. Bug 7680459: LIBXP PACKAGE IS MISSING FROM LIST OF PACKAGES REQUIRED.
As per documentation Bug 7680459, the package libXp-1.0.0-8 is also required to invoke OUI successfully.
So, make sure that you have installed these packages including the dependency packages required.
Follow Doc ID 419646.1: Requirements For Installing Oracle 10gR2 On RHEL/OEL 5 (x86)
Regards,
Satish -
Oracle Portal with Lotus Notes Databases
We have Web-enabled Lotus Notes Databases as part of our Intranet has any one else found a successful method for integrating these into the Oracle Portal?
Hi Emma,
I guess you have posted two topics for the same issue. I have replied to the other topic.
You can access that topic with the following URL:-
Oracle Portal with Lotus Notes Databases
Take care,
Manoj -
Pim Sync issues Lotus Notes 8 to Oracle OnDemand
Hi All,
when i try to pim sync lotus notes contacts to oracle ondemand, the contact in lotus notes gets imported as an account in OnDemand.
Anyone know why? or even better how to fix the problem
thanks
PKPK, in the company profile check the checkbox called "Disable PIM Sync Account Association".
-
Migrate Lotus Notes Finance Apps to Oracle Enterprise Asset Management
Hi,
I would like to know if Lotus Notes apps for asset management can be migrated to Oracle Enterprise Asset Management. If so are there any tools to aid the process.Hi,
This forum is for migrating from non-Oracle databases to Oracle.
It would bebetter to ask this question in an EAM forum so try here -
Business Intelligence Applications
Regards,
Mike -
I have a client that has some data already in a Lotus Notes Database and is unhappy with that situation. What tools are available to get the data out and into an Oracle database.
Please send email to [email protected] if you can, it would be appreciated. Thanks in advance.hello,
generate csv or xml file (better csv for the size), use external table to load the file into oracle. We are doing this way in production, in order to synchronize between My Sql front databases and Oracle BO database with millions of data daily. You may face some problem of chr, but you can use shell (for Linux / Unix etc...) to adapt your csv ... or c , python, java program/classes etc...
Edited by: Orawiss on Apr 20, 2010 8:28 PM -
Lotus Notes Database to Oracle
I have a simple application (workspace?) in Lotus Notes. I need to move that data into an Oracle database. Can someone help please?
I will need to keep moving this data on a weekly basis since new data gets added into this workspace.
Any sample code, or, simple tools/utilities that I could leverage?Hi
Try to use an ODBC driver to load the data from LN to Ora, or export the data from LN to csv and load it with SQLLoader to Ora.
Ott Karesz
http://www.trendo-kft.hu -
Oracle - Lotus Notes Interface
Hi,
Is there any Oracle DB built-in for Lotus Notes Interface?
Can we push or pull data from Oracle DB to Lotus Notes and vice versa.
Thanks and Regards
KaustubhKaustubh wrote:
Hi,
Is there any Oracle DB built-in for Lotus Notes Interface?
Can we push or pull data from Oracle DB to Lotus Notes and vice versa.Lotus Notes deals with documents and isn't a standard form of database.
I'm not sure if there are some ODBC drivers for it (which would of course give you heteregeneous services connectivity), but I think we use some scheduled vbscript's to extract data from Notes and then read those files as external tables into Oracle. (can't recall the details, it's usually someone else who deals in that side of things) -
Hello experts!
We have faced issue with OIM and Lotus Notes integration.
Here is configuration:
OIM host:
OS: Windows Server 2008 R2
Weblogic: 10.3.5.0
SOA: 11.1.1.5.0
OIM: 11.1.1.5.4
Lotus Notes host:
OS: SUSE Linux 2.6.16.60-0.21-default
Lotus Notes: 8.5.1
For integration, we used OIM Lotus Notes/Domino connector version 9.0.4.12.0 because:
1. In OIM Lotus Notes/Domino connector version 9.0.4.14.0 documentation described bug 11693279, that provisioning fails if you update the Alternate Full Name, Alternate Full Name Language.
2. In OIM Lotus Notes/Domino connector version 11.1.1.5.0 documentation there is nothing about provisioning or updating user's the Alternate Full Name, Alternate Full Name Language fields.
So, we have configured Lotus connector according to documentation, but when we trying to update the Alternate Full Name, Alternate Full Name Language fields of provisioned user's account, update Alternate Full Name or Alternate Full Name Language task failed with the following error:
[2012-10-19T14:51:17.716+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::init
[2012-10-19T14:51:17.716+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision::init : Host xx.xx.x.xx
[2012-10-19T14:51:17.717+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision::init : Port 60148
[2012-10-19T14:51:17.718+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision::init : Admin xxx_xxx
[2012-10-19T14:51:17.719+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision::init : Before session
[2012-10-19T14:51:17.723+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LNotesConnectionUtil::getSession
[2012-10-19T14:51:17.723+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LNotesConnectionUtil::getSession : ***Non-Secure Mode
[2012-10-19T14:51:22.401+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision::connect : After session
[2012-10-19T14:51:22.402+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision::connect : Platform = UNIX
[2012-10-19T14:51:22.403+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision::connect : User name = CN=xxx_xxx/O=xxxxx
[2012-10-19T14:51:22.404+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision::connect : Successfully Connected to Lotus Server
[2012-10-19T14:51:22.407+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::updateUser START.
[2012-10-19T14:51:22.407+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision::updateUser: regServer...CN=xxxxx/O=xxxxx
[2012-10-19T14:51:22.408+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision::updateUser: certPath.../home/notes/notesdata/oim/xxxxx.id
[2012-10-19T14:51:22.409+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision::updateUser: uniqueId...G=OIM/I=TEST/S=USERV3/CN=OIM TEST USERV3/O=xxxxx
[2012-10-19T14:51:22.409+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::loadAttributeMapping: START
[2012-10-19T14:51:22.409+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision: :loadAttributeMapping : Attribute Mapping file : C:\Oracle\Middleware\Oracle_IDM1\server/XLIntegrations/LotusNotes/config/attributemapping_prov.properties
[2012-10-19T14:51:22.531+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::updateUser Target attributes are as follows:
[2012-10-19T14:51:22.531+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::updateUser Full Name: CN=OIM TEST USERV3/O=xxxxx
[2012-10-19T14:51:22.531+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::updateUser First Name: OIM
[2012-10-19T14:51:22.532+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::updateUser: Last Name: USERV3
[2012-10-19T14:51:22.532+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::updateUser: Middle Initial: TEST
[2012-10-19T14:51:22.532+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::updateUser: OrgUnit:
[2012-10-19T14:51:22.532+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::updateUser: Alternate Name: CN=N‚?µN?N‚????N‹?? ?????»N??·?????°N‚?µ?»N?/O=xxxxxx
[2012-10-19T14:51:22.532+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::updateUser: Alternate Language: ru
[2012-10-19T14:51:22.557+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision:: altNameAttr - AlternateName
[2012-10-19T14:51:22.558+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision:: altLangAttr - AlternateNameLanguage
[2012-10-19T14:51:22.559+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LotusNotesProvision:: altOrgUnitAttr - nodata
[2012-10-19T14:51:22.560+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LNotesConnectionUtil::getUserName: START
[2012-10-19T14:51:22.560+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LNotesConnectionUtil::getUserName: Org Unit:
[2012-10-19T14:51:22.561+06:00] [oim_server1] [TRACE] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [SRC_CLASS: com.thortech.util.logging.Logger] [APP: oim#11.1.1.3.0] [SRC_METHOD: debug] LNotesConnectionUtil::getUserName: Final UserName --- CN=OIM TEST USERV3/O=xxxxx
[2012-10-19T14:51:22.562+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::updateUser::Cannonical Name : CN=OIM TEST USERV3/O=xxxxx
[2012-10-19T14:51:22.562+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::updateUser: attribute to be changed: AlternateName
[2012-10-19T14:51:22.697+06:00] [oim_server1] [ERROR] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::updateUser : NotesException: Notes error: NotesException: Notes error: An improperly formed name was encountered
[2012-10-19T14:51:22.699+06:00] [oim_server1] [NOTIFICATION] [] [ADAPTER.LOTUSNOTES] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: a2948378c259882a:f142697:13a4a5c015f:-8000-000000000001203b,0] [APP: oim#11.1.1.3.0] LotusNotesProvision::disConnect
We can't figure out why we get "Notes error: An improperly formed name was encountered" error, so experts, please adwise!
P.S. As said before, in OIM Lotus Notes/Domino connector version 9.0.4.14.0 documentation described bug 11693279, which is matching exactly to our problem, could it be that documentation for previous connector version (9.04.12.0) lacks information about this bug?
Edited by: user13483880 on 22.10.2012 5:26Experts, does anyone had similiar problem?
-
Could not get IOR from Domino Server while provisioning Lotus Notes
Hi all,
There are two servers that have OIM installed, development server and test server. From development server, we can
provision to Lotus Notes just fine. But for test server everytime when
provision to Lotus Notes. There will be an exception
NotesException: Could not get IOR from Domino Server: http://10.3.100.61:63148/diiop_ior.txt
From test server
I can access the URL http://10.3.100.61:63148/diiop_ior.txt using Internet Explorer
I can telnet to 10.3.100.61 63148
I can use connector testing program and it work fine
All configuration and jar files are the same as development server
There is no firewall or antivirus running in both systems.
Both server is virtual server using VMWare.
OS: Windows2003R2 Enterprise
DB: Oracle 10gR2 10.2.0.2
AS: Oracle AS 10g 10.1.3.3.0
OIM 9.1.0
Lotus Notes Connector 9.0.4.2
Thank you.
Satit
The error is as below
=================================================
INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init
INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init
DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Host 10.3.100.61
DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Port 63148
DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Admin Pongtape Ungkawanish/Telecom./Central Support/Fin./KK_Bangkok/TH
DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Certifier OU
DEBUG,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LotusNotesProvision::init : Before session
08/11/11 11:24:26 Running setTimeoutParameters
08/11/11 11:24:26 Running Connect
INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession
INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession : ***Non-Secure Mode
ERROR,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession : ***Connection refused to Lotus Notes......
NotesException: Could not get IOR from Domino Server: http://10.3.100.61:63148/diiop_ior.txt
at lotus.domino.NotesFactory.requestIORPlain(Unknown Source)
at lotus.domino.NotesFactory.requestIORUsingArgs(Unknown Source)
at lotus.domino.NotesFactory.getIOR(Unknown Source)
at lotus.domino.NotesFactory.createSessionUP(Unknown Source)
at lotus.domino.NotesFactory.createSession(Unknown Source)
at com.thortech.xl.Integration.HostAccess.LNotesConnectionUtil.getSession(Unknown Source)
at com.thortech.xl.Integration.HostAccess.LotusNotesProvision.connect(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpLNCREATEUSER.CONNECT(adpLNCREATEUSER.java:449)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpLNCREATEUSER.implementation(adpLNCREATEUSER.java:160)
at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.retryTasks(Unknown Source)
at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.retryTasks(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at tcProvisioningOperations_RemoteProxy_6ocop18.retryTasks(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:781)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
... 45 more
INFO,11 Nov 2008 11:24:26,109,[ADAPTER.LOTUSNOTES],Unable to connect to the target. Attempting to reconnect after delay of 2000ms.......
INFO,11 Nov 2008 11:24:28,110,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession
INFO,11 Nov 2008 11:24:28,110,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession : ***Non-Secure Mode
ERROR,11 Nov 2008 11:24:28,110,[ADAPTER.LOTUSNOTES],LNotesConnectionUtil::getSession : ***Connection refused to Lotus Notes......
NotesException: Could not get IOR from Domino Server: http://10.3.100.61:63148/diiop_ior.txt
at lotus.domino.NotesFactory.requestIORPlain(Unknown Source)
at lotus.domino.NotesFactory.requestIORUsingArgs(Unknown Source)
at lotus.domino.NotesFactory.getIOR(Unknown Source)
at lotus.domino.NotesFactory.createSessionUP(Unknown Source)
at lotus.domino.NotesFactory.createSession(Unknown Source)
at com.thortech.xl.Integration.HostAccess.LNotesConnectionUtil.getSession(Unknown Source)
at com.thortech.xl.Integration.HostAccess.LNotesConnectionUtil.getSession(Unknown Source)
at com.thortech.xl.Integration.HostAccess.LotusNotesProvision.connect(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpLNCREATEUSER.CONNECT(adpLNCREATEUSER.java:449)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpLNCREATEUSER.implementation(adpLNCREATEUSER.java:160)
at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.retryTasks(Unknown Source)
at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.retryTasks(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at tcProvisioningOperations_RemoteProxy_6ocop18.retryTasks(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:781)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
... 46 morecheck if DIIOP service is turned on at the Lotus Domino side...
Oleg. -
How to Extract Data From Lotus Notes in BI 7.0
Hi,
I need to <b>Extract Data From Lotus Notes</b>.
Is it possible to create source system For Lotus Notes (Like we creating For R/3,Oracle,Flat Files etc) then we can Extract the Data ! or
I need to Download the Data in .csv File then Extract the Data !
really appreciate your comments and surely you can get points too...
Thanks in advance
prasannaHi,
What type of data do you want to extract from lotusnotes. .?
regards,
Mohan -
Adobe/MS Access/Lotus Notes Integration
Not sure if I'm in the right place, please feel free to let me know if not. Have searched in Access and Lotus Notes forums but no answers yet. I am using MS Access to automatically send email from Lotus Notes and attach a PDF file that is located on the server. Next step is I would like to be able to create a PDF portfolio out of that sent email and save/name it according to key data in the record. Am also using batch file to create the network folder but am hoping to be able to merge all these processes into one so that when the email is sent, the folder will be created and the PDF portfolio created from the sent email. So far, have not been able to find any answers, am hoping at a minimum someone might be able to point me in the right direction.
Am using this method to batch create folders based on new records in the Access database:
http://www.0092ff.com/tips-tricks/create-folders-from-an-excel-sheet
Here is the code I'm using to create the email - anyone know of any way to take that email that just got sent in Lotus Notes and create a PDF Binder/Portfolio? Thank you so much!
Private Sub cmdSendEmail_Click()
SendPrequal
MsgBox "Prequal Request Complete!"
Me.Requery
End Sub
Sub SendPrequal()
Dim oEmail As clsEmailMessage
Dim strSubject As String, strAttach As String, strAttachIns As String, strBody As String, strSave As String, strMsg As String, Saveit As Boolean
Dim rtItem As Object
Dim rtStyle As Object
Dim sFormattedText As String
If Me.MsgFreeFlow.Value = "" Then
Else
strFF = Me.MsgFreeFlow.Value & vbCrLf & vbCrLf
End If
sFormattedText = strFF
strSubject = "Information Request for " & StripString([RQContractor])
strAttach = "d:\MyDocs\Forms\pdf\FormName.pdf"
strMsg = "Message Here" & vbNullString & vbCrLf & vbCrLf
strBody = strMsg
If Me.PF.Value = 0 Then
strAttachIns = "d:\MyDocs\MyAttach_a.pdf"
Else
strAttachIns = ":\MyDocs\MyAttach_b.pdf"
End If
Set oEmail = New clsEmailMessage
oEmail.AddRecipient Me.ContractorEmail, recipTo
oEmail.AddAttachment strAttach
Select Case Me.frmINS
Case -1
oEmail.AddAttachment strAttachIns
Case 0
End Select
oEmail.SendEmail strSubject, strMsg, False
'doc.ReturnReceipt = "1"
'save draft
'Saveit = True
Set oEmail = Nothing
End Sub
clsEmailMessage Module:
'**************************CLASS CODE **************
Option Compare Database
Option Explicit
'creates and sends email using lotus notes.
'does not require notes to be running (it will start a session if needed).
'does not require references in the project
'uses OLE not com, so objects are declared as simple objects
'the declares below are for using COM, but this may require some
'additional configuration to work.
'Dim mobjNotesDB As NotesDatabase
'Dim mobjNotesMessage As NotesDocument
'Dim mobjNotesRTItem As NotesRichTextItem
'Dim mobjNotesSession As notessession
Dim mobjNotesSession As Object 'lotus notes session
Dim mobjNotesMessage As Object 'a notesdocument object (the email message)
Dim mobjNotesDB As Object 'a notes db object
Dim mobjNotesRTItem As Object 'a notes tich text object
'notes constant for attaching file
Const EMBED_ATTACHMENT = 1454
Public Enum RecipTypes
recipTo = 1
recipCc = 2
End Enum
Private Sub Class_Initialize()
Set mobjNotesSession = CreateObject("Notes.Notessession")
Set mobjNotesDB = mobjNotesSession.GetDatabase("", "")
Call mobjNotesDB.OPENMAIL
' make new mail message
Set mobjNotesMessage = mobjNotesDB.CreateDocument
'create the body
Set mobjNotesRTItem = mobjNotesMessage.CreateRichTextItem("Body")
End Sub
Private Sub Class_Terminate()
Set mobjNotesSession = Nothing
Set mobjNotesMessage = Nothing
Set mobjNotesDB = Nothing
Set mobjNotesRTItem = Nothing
End Sub
Public Sub AddRecipient(strName As String, intType As RecipTypes)
Dim intNextSemiColon As Integer
Dim intLastSemiColon As Integer
Dim strOneAddress As String
Dim j As Integer
Dim blnLastAddress As Boolean
'If the passed contact has a semi-colon, split into multipe contacts
If InStr(1, strName, ";") > 0 Then
intLastSemiColon = 1
intNextSemiColon = 0
blnLastAddress = False
For j = 1 To Len(strName)
intNextSemiColon = InStr(intLastSemiColon, strName, ";")
If intNextSemiColon = 0 Then
blnLastAddress = True
strOneAddress = Mid(strName, intLastSemiColon, Len(strName))
Else
strOneAddress = Mid(strName, intLastSemiColon, intNextSemiColon - 1)
intLastSemiColon = intNextSemiColon + 1
End If
If intType = recipTo Then
If mobjNotesMessage.HasItem("SendTo") Then
Call mobjNotesMessage.AppendItemValue("Sendto", strOneAddress)
Else
Call mobjNotesMessage.ReplaceItemValue("Sendto", strOneAddress)
End If
ElseIf intType = recipCc Then
If mobjNotesMessage.HasItem("Copyto") Then
Call mobjNotesMessage.AppendItemValue("Copyto", strOneAddress)
Else
Call mobjNotesMessage.ReplaceItemValue("Copyto", strOneAddress)
End If
End If
If blnLastAddress = True Then Exit For
Next j
'Otherwise, just add one name
Else
If intType = recipTo Then
If mobjNotesMessage.HasItem("SendTo") Then
Call mobjNotesMessage.AppendItemValue("Sendto", strName)
Else
Call mobjNotesMessage.ReplaceItemValue("Sendto", strName)
End If
ElseIf intType = recipCc Then
If mobjNotesMessage.HasItem("Copyto") Then
Call mobjNotesMessage.AppendItemValue("Copyto", strName)
Else
Call mobjNotesMessage.ReplaceItemValue("Copyto", strName)
End If
End If
End If
End Sub
Public Sub AddAttachment(strFilePath As String, Optional vName As Variant)
Dim strName As String
If IsNull(vName) Or IsMissing(vName) Then
strName = strFilePath
Else
strName = vName & ""
End If
mobjNotesRTItem.EMBEDOBJECT EMBED_ATTACHMENT, "", strFilePath, strName
End Sub
Public Sub SendEmail(strSubject As String, strText As String, blnPreview As Boolean)
Call mobjNotesMessage.ReplaceItemValue("Subject", strSubject)
Call mobjNotesRTItem.AddNewLine(2)
Call mobjNotesRTItem.AppendText(strText)
mobjNotesMessage.SAVEMESSAGEONSEND = True
If blnPreview = False Then
Call mobjNotesMessage.Send(False)
Else
Call mobjNotesMessage.Save(True, False)
End If
End Sub
'***************END CLASS CODE ***************************Found this link, http://forums.adobe.com/thread/797809?tstart=-1, that states:
Acrobat 9 and later supports creation of a PDF Portfolio (the newer form of packages) via JavaScript, which can be called from VBA using the JSObject bridge.
Have been looking along those lines, but not sure what I'm looking for, if there is a way to create the PDF portfolio using code, I would greatly appreciate any information, thank you.
Maybe you are looking for
-
Skype 7.1 crashing with APPCRASH
the Skype 7.0 related discussion[This discussion was split from the Skype 7.0 related discussion as it's now about Skype 7.1] I have the same problem. and the link for previous build is not correct.
-
How to transport form one server to another server
hai friends, when basis consultants transport the data from development server to testing server. they will test it and tested well Now How to transport the same to producation server is it from development to Production or Testing to Production se
-
Am i able to use 3g video calling service with my xperia P?
i cannot find 3g video calling option in my phn......where i get that....my model number is sony xperia P Solved! Go to Solution.
-
NLB Node Participating in Cluster But Not Listed in Manager
I have a NLB cluster that has been setup for several months and everything is working as expected. After an unexpected reboot of one of the nodes, I no longer see that node in the NLB manager when from node A I attempt to add node B to the cluster it
-
Why are my ap icons all gray? I restarted iPhone 4s already but still gray. How can I fix this? Please help!!!