Skip to main content

%Studio.OpenDialogItems

Class %Studio.OpenDialogItems Extends %Persistent [ Owner = {%Developer}, StorageStrategy = Storage, System = 4 ]

Table that maps to the internal Studio open dialog data so additional filtering can be done via SQL

Properties

IsDoc

Property IsDoc As %Boolean;

True if this is a document that can be opened, and false if it is a directory

Coll

Property Coll As %RawString;

Value use to make sure the table collates in the order the user specified

Name

Property Name As %String(MAXLEN = 256);

Name of the item to display, this could just be the classname without the package qualifier

Type

Property Type As %Integer;

The type of the item which can be one of:

  • 0 - MAC file, a routine containing macros
  • 1 - INT file, a standard routine
  • 2 - INC file, an include file
  • 3 - BAS file, a Cache Basic routine
  • 4 - CLS, a class
  • 5 - CSP, a Cache Server Page or another file in this directory
  • 7 - GBL, a Global
  • 8 - PRJ, a Project
  • 9 - a Package
  • 10 - a CSP application
  • 11 - MVB file, a MultiValue Basic macro routine
  • 12 - MVI file, a MultiValue Basic routine
  • 13 - OBJ, object code Further numbers are reserved for future use.

Characters

Property Characters As %Integer;

Size of this item in characters

Modified

Property Modified As %TimeStamp;

Date/time this item was last modified

Description

Property Description As %String(MAXLEN = 1024);

Brief description of the document

DirectoryChar

Property DirectoryChar As %String(MAXLEN = 1);

Internal use only

Generated

Property Generated As %Boolean [ Calculated, SqlComputeCode = {	Set {Generated}=##class(%RoutineMgr).IsGenerated(^||%RoutineList(%INDEX)_{Name})}, SqlComputed ];

True if the document is generated by another document

FullName

Property FullName As %String(MAXLEN = 256) [ Calculated, SqlComputeCode = { Set {FullName}=^||%RoutineList(%INDEX)_{Name}}, SqlComputed ];

The full name of the document including any package information

ServerOnly

Property ServerOnly As %Boolean [ Calculated, SqlComputeCode = { Set {ServerOnly}=##class(%RoutineMgr).IsServerOnly({FullName}) }, SqlComputed ];

True if the document is server only

Mapped

Property Mapped As %Boolean [ Calculated, SqlComputeCode = { Set {Mapped}=##class(%RoutineMgr).IsMapped({FullName}) }, SqlComputed ];

True if the document is not from the default routines database for this namespace