LotusScript needs a method for creating an empty NotesDocumentCollection object. Many of us have "silly looking" techniques to create an empty collection anyway. A sort method for a NotesDocumentCollection would also be nice.
Even having a rough way to do this in Midas, I would really like to see a simple @formula (and matching LotusScript) method for determining if there was anything in the rich text. Even better would be if it took an argument that specified whether whitespace was included, so you ...
Way to findout variables which are declared but not used in the script
1-2-3 has a feature where you can create a new @function based upon a lotusscript function. I would like to see the same feature in Notes/Domino. Allow me in the Database script library to create a lotusscript function and mark it as being available as an @function within that database.
We already have GetFormattedText and GetUnformattedText, but what would really be helpful is to have a method that spits out the contents of a Rich Text field as HTML. It should be no more and no less than what happens when you send an email to an outside user. That's ...
There ought to be a better way of checking for an empty List than checking for a no-op Forall or trapping error 120. Perhaps extending IsEmpty to cover? I'd find that particularly helpful with class coding, when I'd often like to defer populating a List member until the first call ...
Especially when I have an XML type attachment or some text attachment I would like to be able to work with it directly inside script. I don't want to have to detatch the attachment. If I process some XML and end up changing it I woud like to be able ...
Use color in the debugger as it is seen in the editor.
We often spend enough time viewing our code in color that when we get to the debugger, the plain black and white makes it harder to recognize certain parts of your code.
Very often I have the need to import a graphics into a Domino rich text field. Example JPG or GIF file. Currently there are no backend classes to do this. There should be a simple Lotusscript function to enable this, and allow for options like resize and rotate on import.
We need the abbility to sort Document collections,
In OO languages you can usually create more than one method with the same name, but different signatures, that is different sets of parameters. This is called method overloading.
This way you could e.g. create more constructors (one without, the other with parameters) or overload a method like add ...
Code comments in lotus script should explain the purpose of the code as well as any modifications made to improve functionality or resolve bugs. As comments become ever longer their embedded nature is an impediment to the codes readability. I think the domino designer should have the ability to make comment blocks ...
Object Oriented Programming would be sooooo much easier in LotusScript if IBM would allow us to extend the native NotesDocument, Notesdatabase etc. classes.
I don't think there's much to add to this. How hard can it be to sort this?
It's since some years that i build PDF files "Server Side" from Lotus Domino applications both on Notes Client and Web without using any extra commercial application.The actual Lotus Symphony hasn't the full support of OpenOffice API so i am sure that on the future it will be in that ...
Agents should have the option to return a value to the calling sub/function.
The return value could be
This is an extension/generalisation of the linked idea.
When compiling LotusScript code, Designer should present a list of warnings - things that compile OK and don't prevent code execution, but look dubious. Some examples (adapted from things I've seen in the Delphi IDE):
- Variable declared ...
As Symphony is now integrated into Notes Client, it would be great, if a Lotus Script Class library could be provided. With greater integration between Notes Document Fields data exchange to Symphony documents.
I would like an 'AllDocuments' property that would return all documents in the NotesView. This would work in a similar way to the "AllEntries" property for the NotesViewEntryCollection.
So you would be able to code:
I often need to be able to print to another driver than the one currently in use (e.g. switch to a PDF printer). I now have to instruct the user to switch the driver manually, and then click my 'print' button.
Not very professional !
This functionality implies reading existing ...
I wish we have a programming API to access and edit the mail database, the
personal address book and the Domino Directory
The API must support LotusScript and Java.
It is not professional to create a document with field and than find ...
I would like to be able to ask a NotesDocument if it is clean or dirty, so that in complex code I can see if has been changed and determjine whether to save. Such as
If NotesDocument.IsDirty then NotesDocument.Save True, False
This is why I want this change: ...
On occasion I have a need to save some script with errors. I know that the errors are there but I like to have my work saved. And it makes refactoring easier as I can save as a snapshot to which I can roll back. The undo is less than ...
It would be a great help if the LS debugger could show more than 255 fields for NotesDocuments. Can I suggest that the fieldlist be split with colapsible headings for each field start-letter, with only those letters which start fieldnames being shown; in that way fields would be easy to ...
Make it possible to write just
Dim cnt as integer
cnt = cnt+1
cnt = cnt-1
Before ELSE (Eclipse LotusScript Editor) the old Domino Designer client always ensured that the correct indentation was applied whenever I added new lines of LotusScript code. Now I must manually select the code and type <Crtl><I> to force a block of code to be indetde correctly. I would much rather have ...
Currently you can only 'import' HTML data in the UI (using uidoc.import). I often generate HTML, that I want to put into Rich Text fields. It allows for a lot more flexibility than using the standard RT methods.
This applies to the GetView method of the NotesDatabase object. It would be FANtabulous if the compiler could display a list of the views currently defined in the database when you hit the open-paren while typing the code. This behaviour would be similar to the function header autocomplete stuff.
Currently there is no easy way to open a database in lotusscript that:
db.OpenByReplicaID requires the server to be specified, and will not fail over in a clustered environment. db.OpenWithFailover requires the server name ...
This method might also have parameters to specify which columns to copy and whether to include column headers.
being able to edit code while debugging would be great, it would even be better if this code is being recompiled dynamically and debugging is continued with modified code at the current line. I am quite sure that many developers know this situation where you "see" that an error will ...
When the computewithform method returns an error, have it also return which field caused the error.
When I dynamically generate HTML I would like to be able to import it directly from the memory buffer where I created it such as a string variable or a NotesStream, etc. I see no need for me to have to create a temporary file to do that.
I want there to be a way of setting an individual table cell's background color via LotusScript, similar to how the text color is set using the NotesColor object in NotesRichTextStyle.
I know that there was an idea from a couple ...
A data stream that would allow you to be able to write to a file attachment in a rich text field.
We should have a property in lotusscript which gives us the last modification date/time of a document.
Yes - there is the property LastModified for a NotesDocument, but this delivers the time the document was modified in the current replica of the database.
I think for compatibilty ...
The Field class in LotusScript only contains events. It would be great if it contained properties like Value (read/write) to make it easier to manipulate in the events. For example, if I want to handle the OnChange event in the client, I can use LotusScript but I have to write a ...
When the length of any code gets long it becomes a challenge to navigate around the code. Visual Studio has an excellent feature in which classes, properties, methods etc can be quickly expanded/collapsed allowing me to review my code in a way that suits what I am trying to do. ...
The Eclipse editor for LotusScript is on its way! Hurrah
Here are a few things that are not so hot about the current editor. Please could we have these addressed???
1) Custom classes to understand intellisense (I think this already addresses)
2) Intellisense to work even if ...
The current code completion for methods is following no coding guidelines I know of.
Dim db As New NotesDatabase( "server", "filename.nsf" )
db.Folderreferencesenabled <-- Code Completion
The code becomes a lot uglier/less readable as a result. Sometimes I wonder if IBM have a QA (quality assurance) department.. ...
At the moment the NotesDatabase class contains a method to create a new Full-Text Index, but only for a Local database, not for remote databases.
Getting access to the current Full-Text Index settings for a NotesDatabase object beyond a boolean that tells me if the db is indexed or ...
When I want to create a Formula agent, 9 times out of 10, I accidentally create a LotusScript agent first (since LotusScript is selected by default).
I end up deleting the agent and creating a new one using formula.
In previous designers you would just change the type ...
Any object accessible from anywhere. Get a handle to any open view, form, page, etc. Instantiate an object when a database is opened, for example a log class, and have it accessible from everywhere.
It is similar to the revolution but without the need to jump through the hoops.
It would be great if there was a function that you could call in LotusScript to check if a dynamic array is initialized or not. I think it's fecking unreal that you have to do a Ubound or LBound check and if that throws an error, it hasn't been initialized ...
Be able to use:
logText =+ "An entry" & chr(13)
tmpVal =- 23
logText = logText & "An entry" & chr (13)
tmpVal = tmpVal - 23
Think about the following scenario:
There is this HUGE datebase with loads of documents and using GIBs of space when fully replicated.
Your Workforce does for their daily/weekly/monthly work need a local replica of the database.
They have access to all of the documents of that database, so you can ...
When typeahead is invoked in ELSE (Eclipse LotusScript Editor) it doesn't seem to use the correct casing for the methods/properties (as outlined in the documentation). Given with SSJS we are compelled to ensure the correct casing is always used I think we should insist that ELSE also provides the documented casing.
function getArray () as String
function getList () as String List 'or something more appropriate
So a cool new technology requires a massive rewrite? Hmm.... sounds ...
Since I started programming with SSJS the one method I find myself using more than any other is the NotesDocument.getItemValueString() or NotesXSPDocument.getItemValueString() method. This is such a powerful method as it allows me to bypass the need to first validate if the field exists in the document (returns blank string) ...
In 8.5.1 (and I assume the new Eclipse LotusScript Editor) LotusScript errors now refer to a line number that does not match to the line numbers of the LotusScript code. This make it extremeley difficult to debug LotusScript code. Could we please restore the reporting of the line number of ...
When I use the LotusScript Editor (ELSE) to create USE statements I would like typeahead to provide me with a list of the matching LotusScript libraries present in the current application. This will speed up the time it takes to create such statements as well as reduce the chance of ...
Lotusscript provides a GetFirstItem method to obtain the first Field in a document with a given name. With RichText items there can be more than one field with the same name. At present there is no simple way to get the 2nd (and subsequent) items of the same name. One ...
If you rename a function in a script library it should auto update all referenced design elements that uses that function. The same for local / global variables.
I would like to be able to reset the next line of code that will execute in the LotusScript debugger. This could be useful when:
1) You change a scalar value in the debugger and need to have a section of code re-execute
2) You change data in a ...
Currently, when a recipient's e-mail address is ambiguous because the person is listed in multiple address books, the method NotesDocument.Send() in LotusScript, or Document#send() in Java, just fails. I wish for an additional, optional parameter to that method that allows for a more intelligent handling of that situation. For example, the parameter ...
I would like to be able to simply create a hotspot via LotusScript, similar to creating a document link
I've seen a LOT of workflow processing agents in Notes. And the one thing they all have in common is that they have to waken up at a regular interval, check all pending documents, and move around document status.
What any workflow system needs is the ability to ...
The Lotusscript List type is great but in any other langauge we'd call it a generic map. A simple generic list type would be very useful too. Most languages have both. Give it a literal construction syntax :
monthlist = ["Jan", "Feb","Mar]
mydoc.months = monthlist
mydoc.months += ["Jul","Aug","Sep"]
To improve interoperability between design elements I would like to see LotusScript able to get a handle on ALL open databases, views, and/or document. Not just the the ONE view/document open in the active window.
This could be achived by adding properties to the NotesUIWorkSpace an NotesUIDatabase classes as ...
It could look like this
Set NotesDocumentCollection = NotesDocument.Responses (ResponseType)
where ResponseType can be
0 - all responses
1 - no conflict documents
2 - conflict documents only
The debugger should only debug the selected database and the selected event.
Everybody knows the situation when you debug a code, and you would like to read your mail, or look into the help....pressing continue button hundreed times.
Or you would like only debug a button, but you need ...
Enhance List Members and Parameter Info (auto-completion feature) in Domino Designer to work for custom LotusScript classes.
It would be great if we could specify a pathname when creating a new DBDirectory object:
Set notesDbDirectory = New NotesDbDirectory( serverName$, pathname$ )
That way, we could easily get all databases in one folder, instead of having to iterate through EVERYTHING to find one or more databases ...
Lets get back to Notes' Rich Mail Support. You remember when Forms were pretty much self-contained, and applications could mail the entire form to a user, for the user to manipulate a form, and for the result to be posted back to the database.
As applications get more complex, ...
As screens are now mostly wide, it would be great to change the Script Debugger window to vertical split.
Rigth: debugg info
Also when You open a large object, eg: notesDocument, then it's hard to review it, because You need to scroll.
When I write code in a field event that give me a source parameter that represents the current field I would like to be able to get the current value of the field by simply doing this
and to return the previous value of the field (if any) ...
I want to have ability to define some last parameters of a sub/function as 'optional' with default value like in native lotusscript subs/functions.
Allow filtered forall iteration of databases, views and servers.
Apps03 = new Server("Apps03/West/ACME")
forall db in Apps03("sales/forecasts/West")
forall doc in db.AllDocuments if doc.form(0) = "prospect"....
forall doc in (view | NotesDocumentCollection).....
I want to get out of the how to iterate business ...
We need easily acces to Productivity Tools for program automathic processes. The best way is to do it with LotusScript!
Implement new classes to connect data from Notes <-> Productivity Tools: to find a bookmark and replace it with some text, for example.
A wizard to "combine correspondence" with contacts ...
I cant find an equivalent in LS for the RefreshFrame @Command in the Designer help so I assume it is not there.
since you can do more with LotusScript compared with formula, making LS available under computed text would create new opportunities.
for example db.alldocuments and dc.count would give me the number of documents in a database. how easily would i do this with formula?
In each and every other language the are array literals (ways to write arrays as constants), e. g. in @formula language you can write "a" : "b" : "c".
You could use Evaluate(|"a" : "b" : "c"|), but this isn't the best solution for performance and you can't use ...
I am surprised this is not already there. But if you have a view with category totals etc. It is often a lot faster to pull these numbers from the view index rather than manually calculating the totals from the documents. NotesView.CreatViewNavFromCategory excludes the category ViewEntry.
Make file (and other) resources' data available programatically. I can currently grab a resource design doc using a NotesNoteCollection and find what I'm looking for by searching for the $Title that I need, but if the resource is -say- a file I can't get the file data in any simple manner using LS ...
The NotesNoteCollection class is very powerful and can be of great use in many situations. However, after ND6 nothing has been done to this class to allow it to extract design element types added after ND6.
I know that the $Flags item can be checked and that was enough to ...
Would work just like Query_String_Decoded, but for HTTP POST requests. Would remove the need to do an Evaluate(|@URLDecode("Domino";"| & doc.Request_Content(0) & |")|) to get clear text. MOst useful when posting data via AJAX.
Over the years I have learnt to trust the designer and admin documentation. Especially the examples are often to the point and very usefull. Unfortunatedly for newer LotusScript classes I see something which might be interpreted as kind of a degeneration of the good practices of the past.
General pattern ...
To unify the use of code and design elements (Subform) is sometimes useful to know we are in dialogue or not. Example: Subform used as embedded (checking for filling in the fields needed on QuerySave) and as a dialogue (on QueryClose). I propose to add a property IsDialog as Boolean ...
When using the native web service consumer in Notes/Domino 8, there seems to be no way to manipulate the SOAP header sent with each request.
Most web service APIs for cloud based services like Force.com and S3 assign a session ID and service endpoint *after* authentication, and then require ...
NotesDXLImporter is more than 4 years old. 4 year old should be able to speak.
It currently only can utter this "DXLImport operation failed message". It could do much better.
I work quite a lot with Java open Source frameworks with truckloads of xml. When there is an err in ...
Generation of this error is useless, it only hinders. Quite enough to return Nothing.
Similar GetDocumentByID method does not generate errors.
Keep the breakpoints in the corresct lines after the code is changed!
Now If you add a new line into the code, breakpoints are remaining in the same line number, but that is not the correct line as it was moved up or down.
In other OO programming languages, there are class methods and attributes. These members are shared by all objects of the class.
In Java, these members are flagged by the "static" modifier before the identifier.
Class methods can be called on the class itself without the need for an ...
When editing a LS, JS, or SSJS library that contains multiple classes/object I would like the ability to open a specific class/object in a new tab. This would allow me to work on two (or more) classes/objects at the same time and not lose my current place when I switch ...
It would be great to generally leave the debugger off, but to enable it on demand within a script.
I suggest a new "Option Debug" or "%Debug ON / OFF" in LotusScript that enables / disables the debugger only in this part of code (for the whole Agent / ...
Access XML in notes items via native lotusscript:
custname = doc.body.customers.@name
zip = doc.body.customers.address.zipcode
forall state in doc.body.customer..state
This is doable now with dxl and e4x(Firefox, Rhino) or groovy. It would blur ...
In Java, there is an API to access the classes, methods, attributes itself. For example, you can get a Class using
Class x = Class.forName("classname")
and then create instances by
There lies a lot of magic in this capability!
Instead of having to resort to issuing console commands to get the job done (load compact -daos on|off db.nsf)
In Designer 8.5.1 I've added the Tasks window to the Domino perspective (Window>Show Eclipse Views>Other>General>Tasks), which will list the stuff I've still got left to do when writing Java, if I add "// TODO...etc" comment lines in my code, which is great. It would be lovely to have this feature ...
I would very much like to see some new Classes or API's if you like, that makes it easier to create Appointments, Memo's and other Mail/Calendar entries, without having to remember all the speciel fields, that have to be set. Then we could create AppointMent and memos as objects and ...
Add abstract classes to LotusScript: These classes can't be instantiated (New Class() throws an error). There are used as superclasses only.
An abstract class usually has at least one abstract method, that is an method without an implementation. These can be called by other methods of the class, but ...
Make it simple to process databases by folder. NotesDBDirectory needs ti disappear under something simpler..
Apps03 = new Server("Apps03/West/ACME")
forall db in Apps03("sales/West") //only DBs in sales/West
forall db in Apps03("sales/West/*") //recursive under sales/West
forall db in Apps03("sales/West") if Left(db.filename,3) = "07Q" // filtered
forall doc in Apps03("sales/West/07Q3Forecast.nsf") //specific ...
TriggerHappy is great! So now I would like to see similar functionality available in the vanilla product.
For example, I woudl like to know when a document is opend, saved, copied, etc and be able to write some code as well as stop the event from finishing.
Suggestions to improve the Search from the Designer Search menu:
The only FTI properties of notesDatabase exposed to LotusScript are .FTIndexFrequency, .IsFTIndexed, .IsMultiDbSearch and .LastFTIndexed.
The methods, CreateFTIndex(), RemoveFTIndex() and UpdateFTIndex() also exist.
Yet the Notes Client UI shows Count unindexed documents, Size, and the FTI settings for Case sensitivity, index breaks, index attachments and index encrypted fields....
Sometimes one needs to get a collection of all documents in a view. There is property NotesView.AllEntries, but there is not property NotesView.AllDocuments. It is possible to create the first sorted column with value of 1 and get all documents by Set docs = view.GetAllDocumentsByKey(1), but more convenient to use ...
In Java - like in other modern object-oriented programming languages - there is the concept of "Interfaces". They are like classes, but have no implemention code.
Classes cannot extend Interfaces (like a superclass), but implement them. That is, they must implement each method of the interface.
Lotusscript already allows subs and methods to be called without using the Call keyword, but prohibits parentheses when the keyword is not used. Parens make it clear that one is supplying arguments to a method (the no-parens version is much less readable), but the Call keyword doesn't add any intelligence ...
A function, which prints out (recursively) names and content of the current available variables would be a great addition to the stacktraces, you can get via OpenLog.
For notes internal classes, it should print relevant information (like the UNID for NotesDocuments)
The old LS editor inserts the API in CamelCase e.g. GetAllDocumentsByKey. The new Eclipse editor ignores the case with Getalldocumentsbykey.
Another issue is the new editor lists NotesDocumentCollection before NotesDocument.
In the openSource Java JDom API we can select XML-Nodes based in XPath expressions. As of Java6 there is also a jdk-api, which provides the same thing (to tired to look up for the name now). This can be VERY usefull, if you want to parse a fixed set of ...
I would appreciate properties that allow me to get access to any open window in the clients. Things like a Documents property that returns a NotesUIDocumentCollection (new class, navigation like DocumentCollection). This way I could easily get access to related documents that might already be open in the client.
As you know, it's impossible to setting the "User Activity" info for a database :
We enjoy that there is a :
I think it may be useful that NotesDXLImporter can set output to a NotesDocumentCollection. This way one can create notes documents in collection in memory without saving then to nsf.
It allows some simple operations over collection and can decide if they (docs) should be saved and how.
It is known that Lsi_info(3), Lsi_info(13), Lsi_info(14) on the Client in the name of the module (library) returns gibberish, such as "*AB65D0".
In the agents working on the server, the same code for LS-module returns a normal read values.
Please correct the work of the above functions so that they ...
A console/shell for Lotusscript. That's all. In Designer and optionally embeddable in applications. We're gonna use Groovy, JRuby, Jython and Rhino too. I use python now...but only because the Lotusscript shell isn't available yet.
This and the dynamic/functional ideas posted here would give us a very powerful real-time tool.
This way you can pass functions as parameters in procedure calls, e. g. for call-back functionality.
Sometimes (I never understood exactly when) when you define a variable in Lotusscript the system suggests a predefined type. It is never the one I want to use.
Many of us developers will always use the same name for general types, like NotesUIWorkspace or Notessession, and even application variables. ...
I wish NotesDatabase..FilePath would consistently return a path relative to the Notes Data folder, whenever Notes Data is on a database's path.
Currently it returns an absolute path not only for databases outside Notes Data (which is o.k. of course), but also for any local database replicas, even when they have ...
Our admins recently created a new copy of the 8.5 mail template that I added some additional code to for automating the creation of our required connection documents and to log some user details. Well, it has been discovered that something happened to that template which caused the $RespondedTo field to ...
The current outline in the eclipse lotusscript editor lists all the variables and methods alphabetically. It would be better to separate them or have an option to hide fields.
I'd like to see LS optimise the way that conditionals are evaluated and executed, which will mean that code is cleaner to read, more robust and faster.
Consider the LS conditional:
If doc.CFRDays(0) = "" Or doc.CFRDays(0) = 0 Then
Currently when a view is wired to another component in a composite application, we define the event handler in an action. Ideally each wired property would become a view event to which we can bind event handlers. For example, in the PostOpen:
On Event propertyId From Source Call handleProperty
In a Domino Web Service Provider you can access NotesSession.DocumentContext and see all of the CGI fields of the request, except for Request_Content. This field is very helpful for debugging/testing.
Add an extra optional boolean parameter "RemovePermanently" to the Remove (doc, viewentry) and RemoveAll (doccollection, viewentrycollection).
Defaults to False and optional to not break existing code.
a) I hardly ever see RemovePermanently in code. Odd.. since Soft Deletions IMHO should be used mainly for user mistakes. Adding ...
Good idea, but there are some disadvantages in its use. I propose:
And a lightweight lazy pull-parsing XML API to handle large XML docs...like Stax in java or elementtree in python. DOM and SAX are great to have but are rarely what I need. Please make enormous, huge and exceedingly large XML files easy for us.
Generation of this error is useless, it also hinders. All error handling should be done in the proper place - on QuerySave.
I propose that the Save method returns the result as Boolean, it's would be very convenient and usefull.
LotusSctript: GetThreadInfo(LSI_THREAD_CALLPROC) if is called from the first procedure in the stack must return an empty string.
If you call GetThreadInfo from the first procedure in the stack with parameters LSI_THREAD_CALLPROC and LSI_THREAD_PROC you'll get the same results.
I suggest, that GetThreadInfo(LSI_THREAD_CALLPROC) in that case return an empty string. It would be a symptom of the first called procedure.
It is good to use ...
Please do so by passing an empty string in this parameter, the methods worked as well as without this parameter, that is, display filters by default.
Now is inconvenient - you have to write the conditions for the presence of a filter like this:
If Len(sFilters) = 0 Then
I suggest to return an empty string ("") only when the input field is empty and has been press "Ok".
On "Cancel" I propose to return Empty (it's possible, since in DDHelp stated: "The InputBox function returns a Variant containing a string."), then we can verify the result using IsEmpty(). ...
I would love an extra parameter added to the NotesDatabase.CreateReplica method, so that the programmer can select whether to createa full replica, or just the replication stub, and allow the database to replicate fully as scheduled. So it would become NotesDatabase.CreateReplica(newServer$, newDBFile$, CreateImmediately] where the "CreateImmediately" parameter is Boolean.
From code reusability point of view it would be great to have the ability to call LS subs and functions from SSJS code.
This is applicable to the Notes and Administrator clients too, but I only get to pick one IdeaSpace. :(
As a 'relatively' new entrant to Notes design and administration (I've only been doing it for a few years off and on), I'm incredibly frustrated by the poor learning materials ...
When a database contains LotusScript libraries created from an LSS-file, by using the %Include directive, the library can no longer be compiled.
I'd like an option in the Designer to specify that a certain library cannot be recompiled, in order to prevent useless error messages.
The thing I have been missing all this years is a Continue statement in loops, like there is one in C. Sure, you can do a label at start and then just use goto statement, but it would be much nicer and user friendly to just use one statement to ...
Im not sure where an @formula error goes now, but it doesnt seem to show up throwing an error. It seems to return some kind of "almost an overflow" return value when I run "@error" now.
I wish itd throw an error, or return something that can be understood ...
Work on the interface (XPages) - very good, but would like to not forget about the improvement of Domino API.
I beg to add the ability to search in collection of documents using @formulas, by analogy to Database.search(). The FtSearch method is inconvenient for programming and not as flexible.
I would love to be able to subclass product classes such as
Class MyNotesDocument as NotesDocument
And better yet, I would love to be able to redefine the build in class a la Ruby/Smalltalk. That way every time I ask for a NotesDocument I get my ...
I propose that it's method returns the result as Boolean, is quite enough. It is better add to Desinner Help describe the situations where the method may return False, and this:
Generating the error ...
Countless trillions of lines LotusScript-based business logic will remain on lifesupport way into the next millenium unless there is a realistic migration path that will encourage the adoption of Java-based platforms as we drag ourselves away from Lotus Domino via XPages.
I don't think that technically this would be ...
For bigger applications, OO frameworks, reusable components in other OO language there is a concept of namespaces or packages.
This would be useful in LotusScript, too.
Currently, the NotesDatabase class has no method for creation of new folders.
There is a method for creating a new view, but not a folder.
It is possible to use the C API (the folderCreate API) to do this from LotusScript - I have successfully used it on numerous occasions ...
If you %Import e.g. errconst.lss in some script libraries and Use them in one place, the compiler complains, that a constant with the same name is already declared.
This is right and prevents some "evil" effects, but results in a basic script library to %Import all lss-files to be ...
Saving shared actions (with LS) should run compiler a do all error processing analogous to agents, script libraries, etc.
This restriction exists for the following methods NotesUIWorkspace class: PickListCollection, PickListStrings, Prompt, URLOpen, EditDocument, SaveFileDialog, OpenFileDialog. Its meaning is not clear, because DialogBox allowed, and he calmly executed?!!
I propose to remove this restriction, without him it will be very convenient to choose something, but, for example, if you cancel ...
Lotusscript should correctly use scope to decide which variables to use.
The following code now gives the error "Duplicate PUBLIC name GWS in USE module test2"
Libraries test1 and test2 both contain:
> Dim gWs As NotesUIWorkspace
> Dim gSes As NotesSession
Objects of review:
@Prompt( [style] : [NoSort] ; title ; prompt ; defaultChoice ; choiceList ; filetype )
variant = NotesUIWorkspace.Prompt( type%, title$, prompt$ [, default ] [, values ] )
For type=13 propose:
I am curious if there is any interest i the community for a Notes based tool that generates a shell webservice in either LotusScript or Java for a selected Notes Form.
Using a simplistic UI to select a Notes Database then Form and some simple options like key field(s), ...
OK, I'm not talking about associating an image resource to a "named" view/folder in an outline entry. This works great when you can access the actual view/folder design note at design time. What I would like to see is a way to programmatically associate an ...
OK, I'm not talking about associating an image resource to a "named" view/folder in an outline entry. This works great when you can access the actual view/folder design note at design time. What I would like to see is a way to programmatically associate an ...
With Notes 6, the Domino server will prevent two users from editing the same document in the Notes client. Awesome. Additionally, the NotesDocument.CopyToDatabase method will not allow a document currently being edited to be copied. Why can't we tell via the NotesDocument properties who has a document open in edit ...
I would like to see the choice of programming Notes applications with either LotusScript or Java become more one of personal preference rather than significant differences in functional capabilities. To achieve this we need to enhance the LotusScript language to provide some of the things Java can already do (e.g. polymorphism) ...
Currently you let a LotusScript function return a value like this:
' do something
myFunctionName = returnvalue
I want to be able to do something like this:
function myFunctionName() ' do something return returnvalue End function
REFItemName = "$REF" by default or omit this parameter.
apply to following methods:
Call notesDocument.MakeResponse(document As NotesDocument, [ REFItemName As String ])
Set notesDocumentCollection = notesDocument.Responses( [ REFItemName As String ] )
@Command([ComposeWithReference]; server : database ; form ; flags ; [ REFItemName ])
Just as NotesDocument supports dynamic Methods that give access to Items it would be a powerful extension to own classes in LotusScript. It might be implemented similar to the new/delete constructor/destructor as methods with specific names, parameters could be passed as variant array (or new Class called ScriptParameterCollection)
Why do I need to write
"On Error Goto ErrorLab
Exit Function ErrorLab: Call CommonError Exit Function End Function" in each function/sub? Let me to write this code in one place and extend it to all LotusScript errors at any Function/Sub