Solved

Error -> Could not get default view id for database (Tracking.nsf)

Posted on 2003-10-23
10
1,119 Views
Last Modified: 2013-12-18
when I added the new code

Dim rtitem As notesrichtextitem
      Set rtitem = message.createrichtextitem( "Body" )
      
      Call rtitem.AppendDocLink( uidoc.document , "link to document" )
      Call rtitem.AddNewLine(2)
      Call rtitem.AppendText( COMMENT )

I get that error and nothing happens?
0
Comment
Question by:Jaziar
  • 4
  • 3
  • 3
10 Comments
 
LVL 15

Expert Comment

by:Bozzie4
ID: 9606379
You need a default view in the database

So choose one of your views, and click the propery ' Default when database is first opened'
I don't think it's necessary that the document actually is in that view, but it is possible that it should.

cheers,

Tom
0
 

Author Comment

by:Jaziar
ID: 9606424
OK I made a default view - I get the email with the link icon - click it and get the message can not locate default form?

Thanks for staying with me Tom
0
 
LVL 15

Accepted Solution

by:
Bozzie4 earned 400 total points
ID: 9606425
Note : The default view should be accessible to everybody who uses the database, and it can't be hidden (name between () ).

0
 
LVL 9

Assisted Solution

by:Arunkumar
Arunkumar earned 100 total points
ID: 9606450
now you should have a default form for the database.

you can have this by the form properties.

Pick the main form in your application and make it the default form.

:-)
0
 

Author Comment

by:Jaziar
ID: 9606456
It is open to all readers.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 9

Expert Comment

by:Arunkumar
ID: 9606459
Now the real problem is your document does not have a "Form" Field i guess  check it out.
0
 

Author Comment

by:Jaziar
ID: 9606474
It is working now!!!!!!!!!!!!!  
0
 
LVL 15

Expert Comment

by:Bozzie4
ID: 9606482
You don't really need an actual form field, but it could help to add a line like

uidoc.document.Form="nameOfYourForm"

Or make the form you want it to open with, the default form.

cheers,

Tom

0
 

Author Comment

by:Jaziar
ID: 9606615
Arunkumar - I owe you some points and I wanted make sure you got them.  
Thanks to both of you
0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 9606675
No problem Jaz !
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This video discusses moving either the default database or any database to a new volume.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now