Search code examples
lotus-noteslotus-dominolotusscript

NotesViewColumn check if Total option is enabled


how can I check if something is selected there? I need at least 'fact': selected or not (and would be nice to know how to read real settings).

I looked into NotesViewColumn and did not find anything there, maybe it's undocumented feature :(

enter image description here


Solution

  • You can use DXL. The DXL schema for view columns includes an attribute that represents the selected option for the totals.

    I.e. set up a NotesNoteCollection object that includes the view design note. Use NotesSession.CreateDXLExporter to get a NotesDXLExporter and process the NotesNoteCollection, parsing the XML to locate the column and get the value for the totals attribute.