This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Sep 3, 2013, 1:49 PM
82 Posts

I am looking at the code ...

  • Category: Notes Client
  • Platform: Windows
  • Release: 9.0
  • Role: End User
  • Tags:
  • Replies: 8
The code in play here is the createJournal procedure located in the Globals module of the JournalPrompt subform.

Here an excerpt of that code:


       Dim template As New NotesDatabase( "", "notebook9.ntf" )  
'no path specified so looking the the data directory
                       'see if the Journal6 template exists                        
       If template.isopen = False Then
               Msgbox getString(18), 16, getString(11)
               Exit Sub
       End If
       
       Dim NewJDb As notesdatabase
       Dim acl As NotesACL
       
       Set NewJDb = template.CreateFromTemplate( "", JFn, True )
Sep 7, 2013, 9:25 AM
22 Posts
Thats unfortunate ....
... as the client would be able to create a database from any templaty in any location within the datadirectory. At least, if the code would use the RepID instead of the filename, it would work
Sep 9, 2013, 7:25 PM
82 Posts
perhaps this will work for you ...
place notebook8.ntf into the data directory and rename it to notebook9.ntf
Sep 13, 2013, 9:13 AM
22 Posts
Thats not a real problem for me ....
The code-snippet you have shown simply says, that this part of the Notes Client is not up to the rest of the product quality wise. Nobody expects templates to be bound to a specific location within the notes data directory for creating new databases ...... sorry, applications.
Sep 16, 2013, 1:49 PM
82 Posts
Lastly ...
I had nothing to do with writing the code snippet.  Just put it out there for your consumption.  My experience is the Notes Client absolutely expects templates to be in the data directory and install, as far as I know, installs all templates to the data directory.

Your original question was Question:  where do I put the notebook8.ntf file?  I hope you got your answer

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal