?
Solved

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

Posted on 2003-10-23
10
Medium Priority
?
1,190 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
1
 

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 1600 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 9

Assisted Solution

by:Arunkumar
Arunkumar earned 400 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
 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

771 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