Declare Function w32_OSGetSystemTempDirectory Lib "nnotes" Alias "OSGetSystemTempDirectory" ( ByVal S As String) As Integer Declare Function mac_OSGetSystemTempDirectory Lib "NotesLib" Alias "OSGetSystemTempDirectory" ( ByVal S As String) As Integer Declare Function linux_OSGetSystemTempDirectory Lib "libnotes.so" Alias "OSGetSystemTempDirectory" ( ByVal S As String) As Integer Const ERR_UNSUPPORTED_PLATFORM = 20300 ' or other value you choose.
' Add below function ' this function GetNotesTempDirectory() will return the temporary directory used by lotus notes.
Function GetNotesTempDirectory() As String ' Returns the path of the temporary directory used by Notes. Dim session As New NotesSession Dim d As String * 256 Dim s% Select Case session.Platform Case "Linux" s% = linux_OSGetSystemTempDirectory(d) Case "Macintosh" s% = mac_OSGetSystemTempDirectory(d) Case "Windows/32" s% = w32_OSGetSystemTempDirectory(d) Case Else Error ERR_UNSUPPORTED_PLATFORM, "In GetNotesTempDirectory, platform not supported: " & session.Platform End Select GetNotesTempDirectory = Left$(d, s%) End Function
На винде выдаёт что-то вроде C:\Users\<USER>\AppData\Local\Temp\notes0B0261
На мак - тадам! Error in loading dll
Куда смотреть, у меня с этим белым ящиком мало опыта. Спасибо!
День добрый! Огромная просьба помочь, я уже замучился. Базы Lotus Domino 6.5.5.
Вопрос в следущем, при создании агента и выборе в его свойствах запуска через меню "Действия"(Actions), он появляется в списке действий в верхнем блоке в меню "Действия" согласно алфавиту. Если агентов слишком много (не знаю каков придел по умолчанию, примерно штук 30), то они группируются в "Другое..."(Other...), и агент можно запустить через отдельное окно, которое открывается при нажатии на "Другое...".
Как изменить изменить в сторону увеличения количество агентов, которые видны в меню действия? Или отменить "сворачивание" в "Другое..."?
If you're feeling adventurous, beta 2 of the NetBeans IDE is available for download. NetBeans provides an integrated development environment available for Windows, Mac, Linux, and Solaris using the Java platform, as well as PHP, JavaScript and Ajax, Groovy and Grails, and C/C++.
Which I always prefer to the alternative which would look something like this:
alert(trim(document.forms[0].SomeField.value));
Dunno why. I just think it looks more professional. There are probably good reasons to do it this way as well. Say, like, it stops you accidentally making two trim methods which do two different things.
Until today I'd never realised you can do this in "real" programming languages too. Well, at least you can in C#.
Here's a string extension helper method to encrypt a password:
public static class StringExtensions
{public static string Encrypt(this string password){return BitConverter.ToString( SHA1Managed.Create().ComputeHash( Encoding.Default.GetBytes(password))).Replace("-", ""); }}
The key here is that the class and method are both static and also that we're using the "this" keyword before the string argument we're passing to the method. This tells C# the argument can be passed to it by calling our new method on a string. Like so:
I'm now in the process of retro-fitting this approach to a couple of apps I've done recently.
It follows that you can do the same thing for other objects, such as DateTime. Here's a helper method to turn a date in to words -- such as "Three weeks ago":
public static class DateExtensions {public static string ToWords(this DateTime dateTime){//Code to do this for real is on Google et alreturn "Three weeks ago"; }}
The beauty of doing this in C# is that Visual Studio's Intelli-sense picks up on these new extensions and adds them to type-ahead, as you can see below in this Razor-based MVC View:
Working with C# and Visual Studio really is a pleasure. It makes learning to be a real programmer after all these years so much easier.
I would like a widget for symphony which will convert a list of postcodes into Longitude and Latitude co-ordinates so that they can be presented to the google maps api in a KML formatted file.
Converting one postcode is easy, but becomes very time consuming for longer lists.
Users will benefit as it provides a visually compelling way to understand the geographic spread of clients or prospects.
The benefit of using the KML format is that addiotnal information can be easily added to the location point.
1) The OoO tool can be made more user-friendly, by allowing it to auto-complete the backup name like how LN auto-completes it today when writing an email.. else the person setting the ooo msg has to find the email ID or LN name of the backup and copy paste it into the tool.. which is time consuming.. esp. when you have to put multiple names as backup for different components/modules.
2) Sometimes it so happens that there is a deadlock while setting OOO. You put the other person as backup, for the other person puts you as backup, both do this un-knowingly, this can happen in large teams or geo-diversified teams, where the folks may not have got a chance to discuss with each other before putting their names as backup. So another suggestion here was for the LN to quickly check / validate if there is a deadlock of this type before enabling the OoO
3) In continuation to #2, as part of OoO validation, LN can check if the persons designated as backup are themselves available during the time period or not... by validating their OoO msg ( if applicable ). Also once the OoO is enabled, LN should send a courtesy mail to the concerned backup persons letting them know that this particular employee has designated you as the backup and here is the OoO msg he has uploaded for the same.
4) Another validation during OoO could be that the backup email ID is an enterprise/company email ID & NOT an outside web email ID. This might need some data mining into the text msg that user has put for OoO to look for email IDs and ensure they are not web email IDs. This could work as a good security feature and would prevent anybody from accidently putting a web email ID for a official mail account.
Today when we delete a particular attachment and save it off to a personal / official folder on the local system... LN just put a msg saying the particular attachment was deleted by <yourname>
Instead if it can also save off the local system path ( C:\projects\abc\) then it helps a lot, especially at a later point in time, when we are able to locate the email and thus it will help locate the attachment too.. else its very difficult to recall where the attachment was stored when it was deleted from the mail.
When reading mails on my mobile I would like to add/remove the follow-up flag - just like in the full desktop client. I know folders work so I can create a workaround but this functionality should not be too difficult to add.
My idea is to add a new data type to Domino which offers the exact opposite of the Readers data type, that is, if a name, group or role is listed in a field of this type then that person, group or role will not be able to see the document.
This would make Domino so much more flexible when designing and implementing highly complex security models.
Just as an idea for the Domino Server Team Designers going forward. I have benn with an IT outsource company for about 6 months, and most of the customers I have worked with are moving of Domino/Notes because of mail, yet ther contributing factor is that Domino does not have a file and print share option within the Domino system.
Most of these companies have small budgets, so to have an all in one system that does mail, website, workflow, databases, file and print share would be brilliant. Yet these companies have been shown the microsoft light and migrated off from Domino.
Surely to attract customers, potential and or newly existing, a file/print share option in Domino would be a nice to have??????
We have property UniversalID for Document and View design elements now. It would be convenient to have that property for other design elements (Forms, Agents, Outlines etc.).
Domino needs enterprise data integration services -- especially those that're up to date.
Data connectors offer only very limited connection services.
The data connections need to:
- Allow for full-bore SQL accesses to relational data from a server.
- Be able to run SQL SELECT statements on a relational database and deliver a collection of information to a Domino application.
- Allow loosely coupled connections to often only occasionally-available enterprise data sources (cache & store information at reliable points in the day, and allow for delayed-update services to connections that actually update data on the enterprise.
- Allow for executing SQL to update into a transactional system, or run stored procedures, or a combination of the two.
- Allow authentication methods in keeping with protecting the data sources, while protecting credentials with encryption (more than basic).
- Allow for the Domino server reading WAS interfaces to data from a WA server.
- Allow for JDBC connections through XPages.
- Allow definition of enterprise data sources through XPages.
- Allow access to these data sources from server-side scripting.
- support interpreting XML data formats.
- Avoid dictating database designs to enterprise dbas.
I'd really like the ability to do Web Service authentication from a server -- with more than basic authentication. Many servers with Web Services use a brokered authentication method. Often y'can't get through to a secure server with just basic authentication: y'need to authenticate with x.509.
Even if it were just the server's credentials for x.509 authentication, that'd be great.
Recently I started to capture my customer meeting notes in my own private 'community' in blogs to "Organise my work a little better". With tagging I am able to search my meeting notes.
Currently I write down the notes on a writing pad at the customer site and then type them over in Lotus Connections.
Nicer might be the following scenario:
Imagine I have an iPad and I could write on the iPad, effectively, with a pen. Like this: http://reviews.cnet.com/8301-19512_7-10443415-233.html
The ipad recognises my hand writing and captures my meeting notes 'electronically' in a Lotus Connections blog (e.g. Like this: http://itunes.apple.com/us/app/writepad/id293033512?mt=8
I can add tags and topic etc (and add maybe some actions..).
Key is the electronic hand writing recognition and the 'transfer' (disconnected?) from iPad to the Lotus connections blog.
Currently going through an exercise of upgarding all of our servers to ODS51. One thing I think would help immensely in the exercise would be to have the Catalog and by extension the Domain Catalog, include the ODS version of the database in the information it gathers.
I recently noticed that there is now a forum dedicated to xpages. Since the Lotus C API has been around since the beginning how about having a dedicated forum for it. This would simplify the ability for finding help for those developers trying to use some of C API options.
Just a few days ago I sent an email to the IP-Manager@openntf.org about creating a new project based off the custom CLASSNotesUserActivity library found in the SuperNTF project and at http://www.agecom.com.au/useractivity. Not sure how that is going to go, but regardless of whether a project is created or not I believe a forum is needed.
When you doubleclick onto border of collapsed preview pane it expand, but when you doubleclick onto border of expanded one it isn't collapsed. Why? (Basic client)
The IBM Lotus Notes 8.5.1 standard client has a new spell check engine and new spelling language dictionaries that are in a different format from the ones that were used in version 8.5 and earlier. However, the old spelling dictionaries are not automatically replaced by new spelling dictionaries, ...
Your Notes client or Domino server crashes or hangs, and you find that two NSD files are attached to the fault record in the ADC database for the same crash. The second NSD file will contain the extension "_1.log".
h2 Select a language h2 Arabic 中文 ( 簡體 ) 中文 ( 繁體 ) Český English Français Deutsch Ελληνική Magyar Nederlandse
日本語 한국 Polski Português Portuguesa (Brasil) Русский Slovak Español Türk
I am reposting the Handson Lab "Using NSD: A Practical Guide" (HND 202) that Elliott Harden and I gave at Lotusphere 2007. While this documentation refers to ND6 ND7, it worked equally well for ND8 and ND8.5. You can also refer to the Lotusphere 2008 version of this Lab (HND107 PDF): ...
Lotus Notes users receive a newsletter in HTML format and when it's opened in the Lotus Notes 6.5.x, 7.x, 8.x releases and the Lotus Domino Web Access (DWA) 8 release, the HTML source code displays instead of the HTML content. If the newsletter is opened in a DWA 6 or 7 release, the body is blank and it contains an attachment named MIME.
If Notes is installed on several different machines and the user does not have a seperate \Notes\data\workspace folder on each machine, the user may see long startup times when they first launch Notes. This can occur in a Citrix farm when the \Notes\data directories are on a network file share or if the same Notes\data is copied or synchrinized across several machines, such as when using Windows Roaming Profiles. Notes may take several minutes to launch whenever users connect to a different Citrix server i
Explanation: On Domino 6.x and 7.x systems where the physical RAM is greater than 2 GB, Domino 6.x and 7.x servers will calculate the maximum size of the Unified Buffer Manager (UBM) at 38 of the physical RAM. This can be problematic on UNIX systems in particular. The UBM can reach a size of up ...
One method for conserving battery life on mobile devices is to reduce the amount of time that they stay connected to the Lotus Notes® Traveler server. You can also reduce the frequency which the device syncs with the server. These features are possible using scheduled sync. h2 Apple devices ...