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.

Similar Messages

  • Trouble accessing Lotus Notes DB Via ODBC NotesSQL 8 driver.

    Hello,
    I am using Crystal Reports version XI and am trying to access lotus notes database via an ODBC connection. My reports have been running sucessfully but we recently upgraded to Lotus Notes 8.  I was receiving error messages stating that the ODBC driver was not compatible so I upgraded to Lotus Notes 8 SQL driver.  Now I am receiving the following errors.
    Crystal Reports
    Database Connector Error: 'IM005:[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed'
    Crystal Reports
    Logon failed.
    Details: 01000:[Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
    I am now using NotesSQL 8 and Lotus Notes 8, is there something that I need for crystal to recognize them.
    Any help would be appreciated.
    Thanks, Stacy

    Hi Stacy,
    I would appear Lotus changed the way their ODBC driver works from version 6. According to our [platforms |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e09198a1-911e-2b10-179f-ce8eed51aed0] for CR XI we only support Lotus Notes 6.
    We can't fix this now but you may want to ask Lotus if they know of any work arounds or updates to make it backward compatable.
    You may want to try donwloading CR XI R2 SP4 and use your XI keycode to see if that works.
    Thank you
    Don

  • Accessing lotus notes database

    I am new to Lotus notes..can anyone help me out in accessing lotus notes database from a java application..also can anyone tell me which is the best driver for the same..it would be very helpful if someone can give me the link where i can find such drivers.

    I am new to Lotus notes..can anyone help me out in
    accessing lotus notes database from a java
    application..also can anyone tell me which is the
    best driver for the same..it would be very helpful if
    someone can give me the link where i can find such
    h drivers.this message is for abd_deb
    i m also having the same problem as stated above
    so if u hve a solution for that problem plz mail me at
    [email protected]
    thank you

  • C4C & Lotus Notes integration for service users

    Hi,
    I tried to find information about C4C and Lotus Notes integration for service users without success. User manual says on Sales both Outlook and Notes, but in Service only Outlook. Does Lotus Notes add-in work for service users similar than sales users? Is there anywhere demo video for that? I can only found demo video for sales (SAP Sales OnDemand Outlook Integration Demo (new) - YouTube).
    -Aatos

    Hi Aatos,
    The Lotus notes integration currently supports the "Field Service" role in Cloud for Service where you are primarily servicing customers in the the field and have direct email communications with your customers. In this use-case, similar to "Field Sales" (AKA SFA Users) in Cloud for Sales, you can receive an email from a customer, get information about that customer from Cloud for Customer via the Lotus Integration, and be able to upload that email into Cloud for Customer as an email activity to track the email correspondence between the user and the customer.
    However, the Lotus notes integration does not support the "Call Center" role in Cloud for Service where you are a contact center agent in a centralized service center processing emails that are routed into a common inbox and all correspondence is sent out in behalf of a central inbox such as [email protected] In this usecase all emails automatically create tickets and all emails both inbound and outbound are automatically recorded as email activities without customer or user intervention. The email client for this usecase is either a C4C email client or Windows Outlook Client as you found in the documentation.
    Thanks,
    Rei

  • Access lotus notes and retrive emails

    After lots of searching, I haven't been able to find an answer to this question. I'm try to retrive emails from lotus note and filter the mails by date. any help or suggestions will be great. thank you

    You should be able to access Lotus Notes using IMAP, have you got that working?
    What exactly do you mean "filter by date"? You only want to retrieve messages
    before/after a certain date? Use Folder.search.

  • Accessing Lotus Notes data from SAP

    We need to fetch some user data such as their email address from a Lotus Notes database using the user's phone extension as a key. This could be from a BOR method used in a workflow or from an FM.
    Is this possible, feasible, advisable? If so, what does it take?
    Any help or ideas from experts on this forum will be greatly appreciated.
    Thanks ... Jameel

    Hi Murthy,
    Given link below has a ADOBE DOCUMENT that has the detailed information on how to use i-views for accessing outlook calendar from within SAP :
    http://help.sap.com/bp_epv260/EP_JA/documentation/How-to_Guides/KM/Create%20iViews%20to%20Access%20MS%20Exchange%20Data.pdf
    <b>Kindly reward points if you found the reply helpful.<b>
    Cheers,
    Chaitanya.

  • Accessing Lotus Notes from Crystal Reports in AIX

    Hi BO world
    We've installed the BO Enterprise Server  on an AIX 5.3 platform and we want to connect this BO server to a Lotus Domino Server (version 8 on a Windows Server Platform ) to show the data on Crystal Reports. The problem is that we can't find any information about how to make this connection to use the Crystal Report INSIDE the InfoView (of course we can export the RPT file and use it with the Crystal Report Viewer but the idea is run the report inside the InfoView).
      In our PC's we have installed the Lotus Notes Client and the corresponding ODBC client (Lotus Notes SQL) and the crystal reports work correctly (accessing to the LNotes Server) BUT, when we start looking for any ODBC for AIX to connect to the Lotus Notes and we can't find any tool to do this.
    Could you give any idea o "something" to solve this problem? Let's say
       - Which is the version of ODBC/JDBC driver we have to install in the AIX server to access the L.Notes on the Windows Platform?
       - Should we install the Crystal Report Server in another server (let's say a Windows Server with the corresponding ODBC)
       - Others?
    Any help will be great  !
    Kindly Regards, gdmon.

    Hello,
    Moved this to the BOE forum.
    If AIX and Lotus do not have an ODBC driver then I suspect your only option would be to have a Windows BOE install to process those reports so you can use the Windows ODBC driver.
    This is a requirement for Crystal reports to connect. If Lotus doesn't support AIX connectivity then we can't either.
    Possibly the BOE forum has some configuration options for you...
    Thank you
    Don

  • Workflow - Lotus Notes Integration

    Hi All,
    I am working on 4.6 C. My requirenment is to send the workitems to lotus notes, from where he can click and executes the workitem.
    I checked the tcode SWNCONFIG in 4.6 C ,but this tcode is not there.
    Please advise me on the possibility of this integration...
    Thanaks in advance
    regards
    Vijay.

    Talk to your BASIS to configure SCOT settings.
    You need to schedule a report RSWUWFML2 in background which sends the workitem to Outlook.
    Also look at below useful links:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e05ec90-0201-0010-81b5-bda2a0705821
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6757ceef-0201-0010-3996-a777463727de
    http://help.sap.com/erp2005_ehp_02/helpdata/EN/d5/581ee8d56f1247bf34cfcd66d16d81/content.htm
    <i>*Reward each useful answer</i>
    Raja T

  • Accessing Lotus Notes from SAP

    I'm trying to access data of Lotus Notes databases from an ABAP using OLE.
    If the Lotus Notes Class returns a "common" variable (string, number or another object), there is no problem, but when it returns an "stringArray" or a "valueArray" variable I cannot get the value.
    For example, it happens when trying to get the value of a field from a document:
    CALL METHOD OF w_document 'GetItemValue' = w_value
      EXPORTING #1 = 'FieldName'.
    this method returns a "valueArray" value and defining the w_value as string or character in ABAP is does not crash but the content of w_value after having executed this method is always blank.
    Any idea on how to solve it?
    Thanks
    josep

    hi,
    check out this links..here ypu will find relevant materials for this query..
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=accessing%20lotus%20notes%20from%20sap&cat=sdn_all
    thanks
    jaideep
    *reward points if useful..

  • Lotus notes integration for receiving workitems

    Hi All,
           i am getting some problem during getting the workitems in Lotus notes....
    what all should i need to check whether configuration side is ok.....
    and since which version of SAP is eligible to integration with lotus notes and outlook...?
    <removed by moderator - please refer to the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] regarding asking/offering points>
    Best Regards
    Dev
    Edited by: Mike Pokraka on Jul 17, 2008 1:13 PM

    yes they exist..........
    i have some doubts ........on this
    when ever i try to do auto forwording setting ..............
    its giving warning      "The forwarder and the recipient are identical"   and making internet address to  external address....
    and the variants are like in RSWUWFML2
    Job suffix              =        1            " What the siginficant for 2 ? 
    Tasks (blank = all)        =     TS00008267  "task number for decision step
    New Work items Only   X
    one msg per work item  X
    Workitem display          X
    Workitem execution      X
    Message Class for Subject       SWU_NOTIF
    Message Number for Subject        2
    Before Work Item Description    SWU_NOTIF_PROLOG1
    After Work Item Description     SWU_NOTIF_EPILOG2
    SAPLOGON_ID   =   SPACE
    Regards Dev

  • Company for Lotus Notes Integration

    Hello,
    I'm searching for solutions to integrate Lotus Notes into Enterprise Portal.
    I found much information about the You@Web Repository Manager for Lotus Notes, supplied by Conet.
    This is the only company, I found.
    Does anyone know another company with a solution for Notes integration, so that i can compare them?
    Or is Conet the only one supplier?
    Thanks in advance!
    Best regards,
    Sven

    Hello Sven,
    as far as I know and based on the SAP certification records CONET is the only company delivering a KM repository manager for Lotus Notes/Domino databases.
    Despite the fact that the "old" SAP KM repman for Domino is technically limited to R5, the CONET repman also comes with more features and richer functionality (e.g. you can configur your distributed Lotus landscape / replication architecture for the Conet repman and other features).
    Simply visit SAP TechED 2006 Session UPE106 and learn more on Lotus integration with SAP KMC.
    Regards
    Michael

  • Lotus notes integration

    Hi all,
    I want to integrate Lotus notes mail to my portal page.
    Please send me the step by step configuration to proceed on.
    Yours help will be more appreciated.
    Thnz for the help in advance.
    Cheers
    Faheem

    Hi,
    Check this documentation
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ibm/An%20Overview%20of%20IBM%20Lotus%20Integration%20with%20SAP%20Enterprise%20Portal.pdf
    Regards,
    Ganesh N

  • Lotus Notes integration with WebCenter?

    I need to integrate Lotus Notes in WebCenter without using Adapters .can anyone help me out??
    Thxs in Advance
    praveena

    hi praveena,
    you should be able to use the lotus notes portlet that is provided as part of the OracleAS Provider for Lotus Notes.
    http://www.oracle.com/technology/products/ias/portal/point_downloads.html#lotus
    the portlet was originally designed for oracle portal but you should be able to register it in WebCenter as well.
    regards,
    christian

  • How to access lotus notes?

    I am in a new job, and my new employer uses Lotus Notes. Can I use either apple mail standard app or outlook to get it? how?

    http://www14.software.ibm.com/webapp/download/brand.jsp?b=Lotus

  • Not able to access lotus notes web mail through safari on my ipad 2

    I am using ipad 2 on 6.1. As a newbie I tried to connect to my lotus notes account through safari and chrome, but couldnt. Plz help.
    O android a app is their to retrieve the web mail through ultralite mode. Please suggest

    Perhaps related, ever since upgrading to 4.0.1 I can't even log in to google mail. I've cleared cookies, cache, history, and power cycled the phone, but no matter what cookie setting I choose in the settings menu, Gmail fails to accept my login, telling me that my browser isn't accepting cookies. Anyone found a workaround?

Maybe you are looking for