Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
Information Mgmt
New to Lotus
How to buy
Live demos
Technical library
Forums & community
Java™ technology
Open source
SOA and Web services
Web development
My developerWorks
About dW
Submit content

developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum



PreviousPrevious NextNext

RE: Profile Document Make-up
Rich Schwartz 11.Jul.18 11:57 PM a Web browser
Applications Development All Releases All Platforms

It's not well documented. It comes down to the fact that at the low level, one set of Notes API calls is used to create and update profile documents, and a different set of Notes API calls is used to create and update regular documents - which are also known as "data notes".

Note that a form doesn't "morph into" a profile document any more than it morphs into a regular document. A form is just a design element that is used for presentation purposes. The Notes client uses forms for constructing the UI for both regular and profile documents, but it uses NSFNoteCreate, NSFNoteOpen and NSFNoteUpdate for accessing regular documents and it uses NSFProfileOpen and NSFProfileUpdate for accessing profile documents. The rest is "magic" for all intents and purposes. I.e., the view indexer and the NSFSearch API can't see any notes that were created via NSFProfileOpen, and NSFProfileOpen can't find any notes that weren't created via NSFProfileOpen. The root of that magic is that NSFProfileUpdate adds the noteId of the profile note to one data structure in the NSF file which is optimized for cached access via the profile name and user id, and NSFNoteUpdate adds the noteId of a data note to a different data structure that is optimized for constructing views and searching on summary data.

You can't simply convert between the two, but you can copy one into the other, in either direction by writing the appropriate code.

Profile Document Make-up (Tim Holt 10.Jul.18)
. . RE: Profile Document Make-up (Rich Schwartz 11.Jul.18)
. . . . See my main response. (Tim Holt 12.Jul.18)
. . So, that's how they did it ... (Tim Holt 12.Jul.18)

Document Options

  Document options
Print this pagePrint this page

Search this forum

Forum views and search

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Advanced search

Member Tools

RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds


Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds


IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums

 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite