Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 376737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:37:42+00:00 2026-05-12T14:37:42+00:00

I am able to access User Made Folder as: NotesView folder = _notesDatabase.GetView(folderName); NotesDocument

  • 0

I am able to access User Made Folder as:

 NotesView     folder        = _notesDatabase.GetView(folderName);
 NotesDocument folderDoc     = folder.GetFirstDocument();

But problem is that it can consist of “Mail”,”Calendar” and “To Do”.

I am not able to differentiate them. Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T14:37:42+00:00Added an answer on May 12, 2026 at 2:37 pm

    To differentiate by document type, you can generally use the “form” field value on a document. So, after you get the document handle (the NotesDocument object), use getItemValue to get the value of the form field. For example:

    ...
    NotesDocument folderDoc = folder.getFirstDocument();
    String sForm = folderDoc.getItemValue("form");
    if (sForm == "Memo") {
     // Mail
    }
    if (sForm == "Appointment") {
     // Calendar entry
    }
    if (sForm == "Task") {
     // To Do
    }
    ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to be able to access a property via reflection, and, knowing that
Problem: I want disparate sections of my code to be able to access a
Facebook recently made access to the user's notifications using the Graph API possible. Using
I've been trying to access previous statuses posted by current user (the one that
I need my app to be able access an third party API who limits
I need to be able to access a list throughout my Rails project. For
I want to be able to access properties from a JSON string within my
I want to be able to access keyboard shortcuts even when my tab is
I'd like to be able to access GPS and Camera devices from websites built
I want a grails service to be able to access Domain static methods, for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.