[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


Why Profile Documents?

Posted on 2004-10-25
Medium Priority
Last Modified: 2013-12-18
Hello All-

I recently finished up a project in which I had to make changes to a Lotus Notes database and create a new LN DB.  I noticed a "Profile" document in the existing db, and have noticed it in many discussions.

I'm wondering what the point of one is.  I was able to create a small ln db application without the use of the profile document (since I have no idea what it's used for).

I'm just looking for some explanation of what LN developers use profile documents for, and if they're really necessary for LN DB development.

Thanks a lot :)

Question by:cLFlaVA
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
LVL 15

Assisted Solution

Bozzie4 earned 400 total points
ID: 12401746
Great.  No problem if you can create applications without profiles (profile documents / regular documents).

Why do you need them ?  To store user-specific or database-specific data !  Check your own mailfile, the Calendar Profile is a profile document (Tools/Preferences).  It stores your personal preferences (like what your business hours are).

Now there are 2 possibities to implement profiles (as notes documents)
1. use a real profile document : these documents can't be shown in a view and are generally user-specific (can be database specific).  You call them by 'key' : @getprofilefield and the like.  Check the "Profile documents" entries in your help file
2. use a regular Notes document : create documents in a special view, that you use to store data.  You will use normal Notes methods to store and retrieve data from them (eg. @dblookup).  

There are advantages in storing your user-specific data as normal notesdocuments (eg. you can easily manage them in a view as the db manager), but using a profile document also has its advantages (eg. simple to store and retrieve values from the document)


LVL 13

Author Comment

ID: 12402525
Thanks for the helpful info.

Could you give me an example of popular entries in a Profile document?  I think this would better help me understand their importance.
LVL 15

Expert Comment

ID: 12402618
Notes database configuration :
- links to other databases
- default categories
- all kinds of configuration settings eg. external webserver name
- ...
Personal profiles :
- preferences of all kinds eg. startview, what frameset to start with, preferred way of contact (email/phone), ....
- R6 : colors for views (see mailfile)
- who is the manager for a user (hierarchy in company)
- what company does a user work for (in case of external companies),...
- ...

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!


Assisted Solution

HappyFunBall earned 400 total points
ID: 12402650
I use them all the time to store configuration-type data.  For example, if I want certain users to have control over what choices appear in a drop-down box, I'll put the choices in a profile doc and restrict access to the profile doc to only users with an Admin role.  In other words, the general public won't have access to add/delete the choices that appear in a dialog list field.  However, I don't need to get involved if that list of choices needs to change; I can allow a designated person access to maintain that choice field.  That way, there's no need for a programmer to edit a field's properties to add choices to, say, a Category field, just because a new category needs to be added to the list.  I use this technique in nearly every database I create.
LVL 13

Author Comment

ID: 12402727

What I did when I had values in a drop-down box was make a keyword form with two fields, name and values.  The name would be the name of the drop-down field and values would be the list of values.

I'd then do a db lookup to get the value from the keyword document.  So, is this just another approach?
LVL 24

Assisted Solution

HemanthaKumar earned 400 total points
ID: 12403069
Profile docs are much efficient way to store db specific data.. but there is a slight disadvantage to it.. i.e. you really cannot see them like you can see the docs in the view.. that makes view lookup "profile" docs (loosly framed) my choice..

Secondly I can control pieces of view "profile" docs replicate or not to replicate.. But profile docs doesn't filter out thru the replication formula..

LVL 19

Accepted Solution

RanjeetRain earned 400 total points
ID: 12403076
Simple question, but the answer may be looong. Why not give you some stuff to read. See this:

http://www.dominopower.com/issuesprint/issue200409/00001383.html - Nearly all that it takes to get you started.

http://www.nsftools.com/tips/PerfTips.htm - This page tells you you can enhance performance by using Profile Documents (under certain circumstances)

http://www.breakingpar.com/bkp/home.nsf/Doc?OpenNavigator&U=87256B280015193F87256D26006BA928 - Some Profile Document Warnings you should know about.

For the rest, we are always here :)
LVL 31

Assisted Solution

qwaletee earned 400 total points
ID: 12403189
Were you talking about what Lotus technically calls a profile document (which is sort of a design document used to hold metadat for your application)?  Or some DB that had a choice somewhere that said "user profile" or "manage profile" or "database profile" or the like?  The latter MIGHT be what Lotus calls a profile document, but not necessarily.  The purpose of a prfile document, form the Lotus programming perspecitive, is to have a place to store data ABOUT the application or the user, but that does not get stored as regular data.

It is sort of like asking what the "master" database is in SQL.  In some ways, it is a database like anyt other database.  But it olds all he data about managing the system, so it is "special."
LVL 13

Author Comment

ID: 12403337
Thanks to everyone, I had no doubt you'd all be able to help me.
Points are split for your contributions.

Thanks again.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
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 …
Suggested Courses

656 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