Home > Domino Tips > Developer > Other > Categorizing views based on related multi-valued fields
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

OTHER

Categorizing views based on related multi-valued fields


Prashul Kumar
01.16.2004
Rating: -1.85- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Have you ever faced the problem with multi-valued fields that are related to one another and tried to show them sorted in a view? For example, Field 1 selections drive Field 2 selections and both hold multiple values.




expected result
Org Name Person Name E-Mail Address
------------------------------------------------------

Abc Company
------------------Jone
--------------------------jone@abc.com

BBC
------------------kevin
--------------------------kevin@bbc.com

actual shown
Org Name Person Name E-Mail Address
------------------------------------------------------

Abc Company
------------------Jone
--------------------------jone@abc.com
------------------kevin
--------------------------kevin@bbc.com



BBC

------------------Jone
--------------------------jone@abc.com
------------------kevin
--------------------------kevin@bbc.com

SOLUTION
Create a new field on the form and name it CATEGORIES. This can be a multi-valued field with NL as separator. Make it a combination so that the field value appears like this:

CompanyJoneJone@abc.com
BBCKevinKevin@bbc.com
Your view the first column has to be categorized and it has to look up this CATEGORIES field. Preview in Notes and I guess this should work fine. I have just done something like this.

If the preview does not work, first try SHIFT+F9 to rebuild the view index. If that does not work try selecting one document in the view and use Actions --> Categorize. If it shows you an empty prompt, type in BBCKevenKeven@bbc.com and then do the SHIFT+F9. This will change the value in the categories field. But since that is a computed field, open the document and refresh it again and you should be in business.

Do you have comments on this tip? Let us know.

This tip was submitted to the SearchDomino.com tip library by member Prashul Kumar. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Other
Create a dynamic user-driven navigator for a Notes/Domino application
How to apply XSL style sheets to XML views
Comparing replicas on clustered Lotus Domino servers
Creating a Lotus Notes view column categorized by month
Using the XMLHTTP object for integration with Domino or any RDBMS back end
Hiding field properties/data from DocProperties box
Export a view to Excel without coding
Prevent document deletion if there are response documents
Switching between test IDs quickly
AddParameter to a NotesXSLTransFormer

Lotus Notes Domino Coding and Development
Tutorial: 30 LotusScript tips
A bevy of Notes/Domino development tips
A Formula language for Lotus Notes introduction -- 7 tips in 7 minutes
Top 10 Notes/Domino developer tips of 2006
Sending and logging faxes from Lotus Notes and Domino
Accessing documents in a Lotus Notes database
A smorgasbord of Notes/Domino development tips
Creating a Lotus Notes view column categorized by month
A project-tracking application for Lotus Notes Domino
What the new Office means for developers

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts