Automatically Save Attachments on Lotus Notes 9.0 (Mac) - lotus-notes

My employer (unfortunately) uses a Lotus Notes server. All company computers are Windows machines, but I am a Mac user. I have configured my e-mail on IBM Notes 9.0 for Mac.
It's tolerable, but I need some help with AppleScript or automating some features. Most emails I receive are reports in MS Word or PDF format. I would like to automatically copy all attachments to a folder on the Desktop. Can I do this with AppleScript or Automator on the Mac? Can I do this with actions in the Notes software itself?

Create a personal agent in your local replica of your mail database, which triggers on "when new documents are added". In this agent (it should be LotusScript or Java), call LNDocument.Detach. I do not believe that you can automatically detach from simple actions, but I have not doublechecked.
Be aware: Detach removes the file from the Notes document entirely. This could cause problems with compliance or any number of other things, so you want to check with your IT department what the policies are supposed to be. Make sure you follow them. Compliance's job is to keep your company from suffering additional penalties that could exceed your annual salary twofold or more when there's a lawsuit. (It's worse because when you replicate back up to the server, the changes you make to your local documents copy to the server and delete the attachments there as well.)

Related

Issue With Files Not Opening With Office365

My company uses a SharePoint site for our department where we share resources and documentation. We currently have a primary Excel sheet linked that contains a massive amount of our day to day info and our most common hurdles and pertains to about 80% of our workflow. This was created before the company switched (recently) to Office365 and the web based applications vs the standalone programs. Now it is not letting anyone open the the sheet because it is still trying to open in the Excel program and not the web app.
We previously used Office '13 and there was never any issue. The link is meant to open the Excel sheet right up in a read only capacity and not save the program because the content is being updated regularly with new information and regulations. With the "upgrade" from the older version of Office to the 365 web based standard version this link no longer opens the file directly, it saves to the PC and then needs to be loaded to the web app from the saved version which completely negates the ability for it to be dynamically updated. Inversely, we could import that into One Drive and update it to the new system and set the link to the view only shareable link but that would take an excessive amount of time to reformat and edit on top of everything else. If that is how we need to do it then that is how we need to do it, but is there anyway to just update the link already in the system so that it can allow the file to be opened in the web app as well as the stand alone for those not upgraded yet or with the advanced version (managers) that still uses the programs and not the web apps?
I expect the file to be able to be opened in Office365 Excel web app read only as opposed to being saved to the local machine and if possible also be opened directly in the standalone Excel program for those using the 365 Advanced version or who have not yet completed the upgrade process that the company is currently rolling out.
Thank you for your time with this.
We solved this by simply upgrading the whole department and to the Office 365 Advanced version circumventing the entire issue, thank you for your time regardless.

Lotus notes set logout automatically when processing excel vba sending lots of email out

My computer and Lotus notes will be on together. I have the excel vba open the lotus notes for sending some emails out automatically.
However the lotus notes was set to be logout every half an hour and i need to login again with password which my program was frequently interrupted before the job finished. What can I do in this condition?
Since your code is dependent on being logged into Notes, I'm assuming you are using the Notes OLE classes. I.e., you've got VBA set up to use the "Lotus Notes Automation Classes": Notes.NotesSession, Notes.NotesDatabase, etc.
You should be using the "Lotus Notes Domino Objects", which are COM classes instead of OLE classes. Note the different prefix for these classes: Lotus.NotesSession, Lotus.NotesDatabase, etc.
The OLE classes actually drive the code in the running Notes client, so they require that it is running (they will start it if it's not), and logged in. The OLE classes go around the client and just use the instelled Notes DLLs, so the client does not have to be running and you don't have to be logged into it. Instead, your own code will have to authenticate. There are several ways that can happen, but usually it just means that when you run your VBA it will prompt you for your Notes password. It will authenticate only once, at the beginning of the run, regardless of the client's configured time-out.
You can open the Notes client software and set the user-session timeout value (or disable it). Goto:
File, Security, User Security, then on the 'security basics' tab look for 'Automatically lock my notes ID after' X seconds. (a value of 0 may disable it?).
You need to use the same user-id used for VBA access.

Categorize documents in sharepoint

I am switching from Lotus Notes into sharepoint, but I find it hard to access the data that I want easily. I am currently using documents application on sharepoint. The only options it offers are creating or uploading a new file or folder. In my lotus notes I can access files in different ways based on some categorizations such as client, author, date modified and some other categorizations. Moreover I can even categorize them based on data and client at the same time for example. All I need to do is a single click and everything is managed by notes. What are your suggestions?
That's why an "easy" migration so sharepoint never works: Notes is not only a "datastore" but almost every time contains application logic.
To get the same in sharepoint, you need to export the "metadata" of your application including attachments and evertyhing to a structure that you can import in sharepoint.
Then you need an "application" in sharepoint that has the necessary fields for your metadata and different views in sharepoint.
You need development knowledge on side of Lotus Notes to create your export and development knowledge on SharePoint to create the application there and import the data.
Without someone who knows how it works or one of the "magic migration tools" in the market, you will not succeed.
And this is something that nobody who makes an analysis to migrate to outlook / sharepoint takes into account...
And this is the reason, why every company trying to migrate that I know still uses Domino in addition to Outlook / Sharepoint and not even one was able to shutdown the domino servers / get rid of Notes- Client...

Remove old emails from a Lotus Notes database

Is there a utility, plugin, application that can help an admin of a Lotus Notes(v6.5 Client)/Domino (v5) server to trim the fat from the database? But it needs to skip certain Users. I found the following tool: http://www.virtualobjectives.com.au/notesdomino/mailboxcleaner6.htm
I really do not know anything about administrating the backend of lotus notes. And I am not sure if the above utility will allow me filter the users.
This would've been better served in ServerFault.
You don't need a 3rd party tool, Notes already comes with archiving.
You can enable scheduled archiving. Bring up the Archive Settings in database properties. Enable and customise an archive profile i.e. archive messages old than N days. And finally make sure you select "Just clean up this database without archiving".
For more details check out Lotus Notes help pages.

SharePoint Online file storage

We have a requirement to store documents in SharePoint Online as people copy files to a shared network directly.
Is there a way of automating this? I was thinking of a windows service which will poll the directories, find any changes like new subdirectories or new files, then upload them to a SharePoint Online document library.
You don't have to poll if you use a FileSystemWatcher inside your Windows service for real-time notifications.
http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx
However, if your requirement is 100% accuracy, you will need to build in some sort of tracking/checksum mechanism to make sure that every document was 1) detected and 2) successfully moved to SharePoint.
You may want to have your service check the delta every time it starts up, and then subsequently only respond to FileSystemWatcher events.
EDIT: Per Tony's question below, here are some additional thoughts on getting files to SharePoint.
First, try a simple test.
1) Copy the URL of a document library within the BPOS SharePoint site. Make sure you're on a machine that has the Office Online sign in app on it.
2) Open Notepad. Type some random text.
3) Click on File -> Save As.
4) Paste the URL.
5) Attempt to save the file.
This works great on "regular" SharePoint (done it many times). If this works with BPOS, it opens up several options.
File System Replication to a SharePoint Online or Office 365 document library is planned to be released with the "Cloud Connector for Office 365". With the current version database content is supported only, but bi-directional with V2.0

Resources