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


Aug 20, 2014, 1:45 AM
8 Posts

Notes 9 Mail Template

  • Category: Application Development
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags:
  • Replies: 6

We recently did a Notes upgrade from 6.5.4 to 9.0.1.  I'm unfamiliar with the new features in 9.0.1.  I've upgrade the mail template and the clients.  I while ago, I modified the 6.5.4 mail template so that emails can be copied into another database for general reference purposes.  This worked fine in 6.5.4.  As soon as the 9.0.1 template was applied - with the modification - the results of the copy process were suspect.  Sometimes emails were copied, other times they weren't.  If an email that wasn't being copied from the recipient's mail file, sometimes the users found that if they forwarded it to someone else it could be copied from within their mail file.  The issue is very intermittent.  The code hasn't changed and is extremely basic.  I've run it through the debugger and everything looks normal - I cannot find a reason that the doc wouldn't be copied.  I've opened up an all view in the receiving database and there are no random docs as there might be if the receiving form was not in place.  Tonight I've been looking at it again and have found that although it doesn't appear that the document is being copied the doc count on the db is going up incrementally as I attempt to copy docs over.  It's as if there is a reader field on the originating doc.  I'm the Administrator and have full access to all mail files as well as to the receiving db. 

Can anyone confirm if there is a new field on the memo and reply forms or anything else that might cause this behaviour?  I have looked but can't find one.  I thought it might have something to do with the collapsible conversation history but I'm not sure.

Thanks

Is

 

 

Aug 20, 2014, 3:40 AM
13 Posts
explain a little more...

How does this work - do the users select a email and then click copy button to copy the mail to another database?

Did you copy the button code into the mail9.ntf template?

Aug 20, 2014, 3:28 PM
8 Posts
Notes 9 - Reader Fields on Memo Form?

Yes, the action code and all components were copied into the Notes 9 mail template.  The mail files were updated with the modified template.  I created forms in the target database, naming them "Memo", "Reply", etc, and ensured the required fields from the mail file were displayed.  

I'm trying to determine if there is something new on these new mail file forms that prevent the docs from being copied over so they will be displayed in the target database - but it only happens in some cases and does not seem to be form specific so I'm wondering if it's caused by specific data in document.  

Any ideas?

Thanks

Is

Aug 20, 2014, 4:48 PM
202 Posts
Do they exist in the all documents view?
Are you looking in the inbox, check the all documents view.
Aug 20, 2014, 8:01 PM
8 Posts
Un-populated Readers field

they are meant to move from the inbox/all documents view to the target app.  They do not appear in the All docs view in the target app, even as documents without a form reference, but the number of documents in the target database increases each time I attempt to move a doc there.  It's as though there is a reader field on the document that either has no value or is incorrectly populated.  

 

This was not an issue before the Notes 9 upgrade.

 

Thanks 

Is

Aug 21, 2014, 5:12 PM
29 Posts
Full Access Admin
As far as I know, there are no readers fields in the Std mail template. However, to confirm it's not a reader's field, you can open the target db in the Administrator client, turn on full access admin and look in the all docs view to see if you see any additional docs.

If you don't, you might want to look at the target database in Notespeek, figure out where these missing documents are being added. Suggestion: create a new empty target db, add few docs until you reproduce the missing one, then check Notespeek.
Aug 21, 2014, 11:16 PM
24 Posts
More Test Suggestions
Additional test suggestions:
a.)  Along those same lines, I would trying manually copying the same set of 'failing' documents to the same blank db that Oscar suggested.  Do all docs paste in the target db OK?  Or are they also missing when you manually copy/paste?

b.)  If you put this code in some other database, some other context, and copy non-mail documents, do all docs programmatically copy/paste successfully?

**These 2 tests let us know if the issue is with the data in the documents OR the code.


A couple of questions also :
1. could you paste your code for us to see?  I assume you were using copytodatabase method, but wanted to see it.
2.  where is this code?  Is it an action button? Or is it on the Memo/Reply/Reply With History forms (If so, then where exactly is this code)?

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