This blog presents the questions from the April 2022 OpenNTF webinar on What's New in Domino Designer and the answers from our speaker, Ulrich Krause. Thanks for all the great questions! Note that some questions were outside the scope of what Ulrich could respond to and were omitted(like HCL product plans...).
Q |
Is NQRP faster than view? |
A |
John Curtis presented about all things NotesQueryResultsProcessor earlier this year.
https://www.youtube.com/watch?v=NqhbKNAycUI |
Q |
Will panadgenda advanced properties plugin support viewing named documents? |
A |
Currently, the Advanced Properties plugin supports profile documents. As far as I know there are currently no plans to extend the plugin. |
Q |
Is there any LotusScript class which can emulate postman tool? I mean prepare HTTP request with defined header and send it to remote http server. |
A |
NotesHTTPRequest HCL help on NotesHTTPRequest |
Q |
What happened to the tool that allows you to check document fields in something better than the current keyhole we have under document properties? |
A |
Not sure, which tool you mean. But we have Advanced Properties plugin now. |
Q |
I would really like to be able to make a local replica of the fixlist nsf! |
A |
Currently, there are no plans to make the application publicly available for replication. |
Q |
Is the NotesQueryProcessor JSON result can be printed out by an agent, called via HTTP? |
A |
NotesQueryProcessor.executeToJson() returns an Object of type NotesJsonNavigator. You can use to stringify() method of this class to return a Json string
Dim nav As NotesJSONNavigator
Set nav = qrp.Executetojson()
json = nav.Stringify() |
Q |
Transactions method is valid if server running circular transaction logging? |
A |
I do not see any reason why it should not work with circular transaction logging. |
Q |
Transaction: Does Rollback work on multi Databases ? Needs db.BeginTransaction on each Database? |
A |
You need to call TransactionBegin() for each database seperately. BUT. In my quick test ist seems that nested transactions are not working as expected.
The following code should not create a document in db or db2. But it always creates a document in db2.
Public Sub createDocument
Dim s As New NotesSession
Dim db As NotesDatabase
Dim db2 As NotesDatabase
Dim doc As NotesDocument
Set db = s.GetDatabase("serv01", "transact.nsf")
Set db2 = s.GetDatabase("serv01", "transact2.nsf")
Call db.TransactionBegin()
Call db2.TransactionBegin()
Set doc = db.CreateDocument()
Call doc.ReplaceItemValue("Form", "Memo")
Call doc.ReplaceItemValue("Subject", "TestDoc")
Call doc.save(True, False)
Set doc = db2.CreateDocument()
Call doc.ReplaceItemValue("Form", "Memo")
Call doc.ReplaceItemValue("Subject", "TestDoc2")
Call doc.save(True, False)
Call db2.TransactionRollback()
Call db.TransactionRollback()
End Sub
Even changing the code produces the same result.
Public Sub createDocument
Dim s As New NotesSession
Dim db As NotesDatabase
Dim db2 As NotesDatabase
Dim doc As NotesDocument
Set db = s.GetDatabase("serv01", "transact.nsf")
Set db2 = s.GetDatabase("serv01", "transact2.nsf")
Call db.TransactionBegin()
Set doc = db.CreateDocument()
Call doc.ReplaceItemValue("Form", "Memo")
Call doc.ReplaceItemValue("Subject", "TestDoc")
Call doc.save(True, False)
Call db.TransactionRollback()
Call db2.TransactionBegin()
Set doc = db2.CreateDocument()
Call doc.ReplaceItemValue("Form", "Memo")
Call doc.ReplaceItemValue("Subject", "TestDoc2")
Call doc.save(True, False)
Call db2.TransactionRollback()
End Sub
Needs more investigation ...
|
Q |
Can any user see the Advanced Properties Box, including add field etc or does the user need to be Designer or Manager of the Database? |
A |
Yes |
Q |
Is there a policy to prevent / disable the Advanced Document Properties to edit? |
A |
panagenda provides documentation about "Administration Options and Troubleshooting" including notes.ini variables to control the settings and behaviour of the plugin. See: https://www.panagenda.com/kbase/display/mc/Administration+Options+and+Troubleshooting |
Q |
Is is possible to set the LotusScript Version? |
A |
NO |
Q |
I've many customers that are still using client R9 but I'd like to use the R12 Designer. |
A |
This is possible. You just have to be careful not to use methods and properties that are only available in newer versions. Additionally I would always recompile the application on the target system with the existing client version ( Compile all LS ). |
Q |
Is there working examples with this webinar |
A |
If you mean if there is a download with all the code snippets from the presentation then the answer is no. All code is in the slide deck. Most of it is inspired by the samples from the Domino Designer Documentation. |