EnsPortal.CSVRecordWizard
class EnsPortal.CSVRecordWizard extends EnsPortal.Template.standardPage
Wizard to create a RecordMap definition based on a sample file which contains delimited data, possibly with a header row.Property Inventory
- canViewFileSystem
- msgClassExists
- msgErrCreating
- msgReqRecTerm
- msgReqRecordMap
- msgReqSample
- msgReqSeparator
- sampleFile
Method Inventory
- %OnGetPageName()
- %OnGetTitle()
- ClassExists()
- GetDefaultDir()
- GetHyperEventResources()
- OnGetRibbonInfo()
- SaveSampleFilename()
- SetDefaultDir()
- createRecordMap()
- onEscapingChange()
- onPopupAction()
- onRecTermChange()
- selectFile()
Parameters
parameter EDITRESOURCE = %Ens_Code:WRITE,%Ens_RecordMap:WRITE;
User needs WRITE permissions on either the %Ens_Code or the %Ens_RecordMap resource to make changes on this page.
parameter PAGENAME = CSV Record Wizard;
Inherited description: Displayed name of this page.
parameter RESOURCE = %Ens_Code:READ,%Ens_RecordMap:READ;
User needs READ permissions on either the %Ens_Code or the %Ens_RecordMap resource to view this page.
Properties
property canViewFileSystem as %Boolean [ InitialExpression = $system.Security.Check("%Ens_ViewFileSystem","USE") ];
Is the user permitted to access the fileSelect popup.
Property methods: canViewFileSystemDisplayToLogical(), canViewFileSystemGet(), canViewFileSystemIsValid(), canViewFileSystemLogicalToDisplay(), canViewFileSystemLogicalToXSD(), canViewFileSystemNormalize(), canViewFileSystemSet(), canViewFileSystemXSDToLogical()
property msgClassExists as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Class '%1' already exists. Overwrite?") ];
Property methods: msgClassExistsDisplayToLogical(), msgClassExistsGet(), msgClassExistsIsValid(), msgClassExistsLogicalToDisplay(), msgClassExistsLogicalToOdbc(), msgClassExistsNormalize(), msgClassExistsSet()
property msgErrCreating as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Error creating RecordMap:") ];
Property methods: msgErrCreatingDisplayToLogical(), msgErrCreatingGet(), msgErrCreatingIsValid(), msgErrCreatingLogicalToDisplay(), msgErrCreatingLogicalToOdbc(), msgErrCreatingNormalize(), msgErrCreatingSet()
property msgReqRecTerm as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Record Terminator is required") ];
Property methods: msgReqRecTermDisplayToLogical(), msgReqRecTermGet(), msgReqRecTermIsValid(), msgReqRecTermLogicalToDisplay(), msgReqRecTermLogicalToOdbc(), msgReqRecTermNormalize(), msgReqRecTermSet()
property msgReqRecordMap as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("RecordMap name is required") ];
Property methods: msgReqRecordMapDisplayToLogical(), msgReqRecordMapGet(), msgReqRecordMapIsValid(), msgReqRecordMapLogicalToDisplay(), msgReqRecordMapLogicalToOdbc(), msgReqRecordMapNormalize(), msgReqRecordMapSet()
property msgReqSample as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Sample file is required") ];
Property methods: msgReqSampleDisplayToLogical(), msgReqSampleGet(), msgReqSampleIsValid(), msgReqSampleLogicalToDisplay(), msgReqSampleLogicalToOdbc(), msgReqSampleNormalize(), msgReqSampleSet()
property msgReqSeparator as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Separator is required") ];
Property methods: msgReqSeparatorDisplayToLogical(), msgReqSeparatorGet(), msgReqSeparatorIsValid(), msgReqSeparatorLogicalToDisplay(), msgReqSeparatorLogicalToOdbc(), msgReqSeparatorNormalize(), msgReqSeparatorSet()
property sampleFile as %ZEN.Datatype.string (ZENURL = "SAMPLEFILE");
Property methods: sampleFileDisplayToLogical(), sampleFileGet(), sampleFileIsValid(), sampleFileLogicalToDisplay(), sampleFileLogicalToOdbc(), sampleFileNormalize(), sampleFileSet()
Methods
method %OnGetPageName() as %String
Get the (localized) name of the page.
method %OnGetTitle() as %String
Get the (localized) title string for the page.
classmethod GetDefaultDir() as %String [ ZenMethod ]
Callback to return a list of resources required for a specific HyperEvent.
The user must have sufficient privileges on one of the resource/permission pairs
to be permitted to execute the hyperevent. An empty string implies the user already
has sufficient privileges for the ZenMethod specified in pMethod.
method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List) as %Status
Get information to display in the ribbon bar.
classmethod SaveSampleFilename(recordMap="", filename) as %String [ ZenMethod ]
classmethod SetDefaultDir(pPathname As %String) [ ZenMethod ]
clientmethod createRecordMap() [ Language = javascript ]
clientmethod onEscapingChange(notEscaping) [ Language = javascript ]
clientmethod onPopupAction(popupName, action, value) [ Language = javascript ]
Inherited description: Returning from dialogs
clientmethod onRecTermChange(newValue, isRadio) [ Language = javascript ]
clientmethod selectFile() [ Language = javascript ]
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- HelpAddress
- ISREADONLY
- LocatorHeader
- ParentURL
- StdTitle
- aboutPage
- align
- aux
- backgroundTimerInterval
- canEdit
- cellAlign
- cellSize
- cellStyle
- cellVAlign
- children
- composite
- contactPage
- containerStyle
- cssLevel
- currSortMode
- currStep
- currViewMode
- disabled
- dragAndDrop
- dragEnabled
- dropEnabled
- enableAutoRefresh
- enclosingClass
- enclosingStyle
- error
- groupClass
- groupStyle
- height
- hidden
- hint
- hintClass
- hintStyle
- home
- homePage
- id
- index
- keepAliveInterval
- label
- labelClass
- labelDisabledClass
- labelPosition
- labelStyle
- layout
- lblTitle
- limitPopups
- msgNotPermitted
- name
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- pageModified
- parent
- searchKey
- showLabel
- slice
- title
- tuple
- useSVG
- useSoftModals
- valign
- visible
- width
- window
- zenPersistentPopup
Inherited Methods
- %AddCSPShareHyperevents()
- %AddChild()
- %AddChildAfter()
- %AddChildBefore()
- %AddComponent()
- %AddEnsExceptionHandler()
- %AddImportedComponents()
- %AddLocatorLinks()
- %AddToSaveSet()
- %ApplyURLParms()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawAutoLogout()
- %DrawClassDefinitions()
- %DrawComponentHTML()
- %DrawHTML()
- %DrawHTMLPage()
- %DrawJSStrings()
- %DrawObjectDefinitions()
- %EnclosingDivId()
- %EndBackgroundMethod()
- %EndScript()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetChildIndex()
- %GetComponent()
- %GetComponentById()
- %GetComponentByName()
- %GetEventHandlers()
- %GetHomePage()
- %GetHomeParam()
- %GetLinks()
- %GetLocatorLinks()
- %GetPageName()
- %GetParameter()
- %GetProductName()
- %GetRootLink()
- %GetValueById()
- %GetValueByName()
- %GetXMLName()
- %IsA()
- %IsModified()
- %Link()
- %LinkCSS()
- %LinkScript()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnAfterCreatePage()
- %OnBeforeCreatePage()
- %OnCreateApplication()
- %OnCreatePage()
- %OnDetermineCSSLevel()
- %OnDrawEnclosingDiv()
- %OnDrawHTMLBody()
- %OnDrawHTMLHead()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnFinishBackgroundTask()
- %OnGetProductName()
- %OnGetSmallMenu()
- %OnMonitorBackgroundTask()
- %OnMutateChildren()
- %OnObjectSynch()
- %OnPreHTTP()
- %OnSubmit()
- %OnUseSoftModals()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %Register()
- %RemoveChild()
- %RemoveChildren()
- %RemoveComponent()
- %RemoveFromSaveSet()
- %RunBackgroundMethod()
- %Self()
- %SerializeObject()
- %SetBackgroundMethodStatus()
- %SetErrorById()
- %SetErrorByName()
- %SetModified()
- %SetValueById()
- %SetValueByName()
- %SetValuesByName()
- %StartScript()
- %ValidateObject()
- %ZENVersion()
- BuildMenu()
- CheckAllBlanks()
- CheckContextLinks()
- CheckEnterpriseManager()
- ConvertParameter()
- Decrypt()
- DoLogout()
- DrawLocator()
- DrawRibbon()
- DrawTitle()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- EvalResult()
- GetCSPURL()
- GetContextLinks()
- GetDocURL()
- GetHomePage()
- GetNewURL()
- GetQuickLinks()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsPrivate()
- JavaInstalled()
- Link()
- OnDrawRibbon()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- QuoteJS()
- ReallyClearEscalation()
- RegisterRecent()
- RewriteURL()
- ShowError()
- SimpleKeepAlive()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- addChildAfter()
- addChildBefore()
- addPopupSuffix()
- arrowClick()
- cancelPopup()
- changePassword()
- changeURLNamespace()
- checkEdit()
- childrenMutated()
- clearEscalation()
- clientKeepAlive()
- correctIELayering()
- createComponent()
- createComponentNS()
- createTimeWarning()
- deleteComponent()
- disableCommandButton()
- displayCountDown()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- enableCommandButton()
- endModal()
- escalateLogin()
- exposeComponent()
- findElement()
- fireOnResizeEvent()
- fireOnUnloadEvent()
- fireOnUpdateEvent()
- firePopupAction()
- getChildIndex()
- getComponent()
- getComponentById()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getOpener()
- getPageTitle()
- getProperty()
- getSettings()
- getTitleAreaHeight()
- getType()
- goHome()
- goMenu()
- gotoNamespace()
- gotoPage()
- hideCommandButton()
- hideTimeoutWarning()
- hideWarnContinue()
- inResizeLoop()
- initPopupSuffix()
- invokeSuper()
- isOfType()
- launchPopupWindow()
- logout()
- makeId()
- manualKeepAlive()
- navigate()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onRefreshContents()
- onSerialize()
- onServerMethodCall()
- onServerMethodError()
- onServerMethodReturn()
- onStartModalHandler()
- ondisabledHandler()
- onhandleAutoLogoutWarn()
- onkeydownHandler()
- onkeyupHandler()
- onlayoutHandler()
- onloadHandler()
- onlogoutHandler()
- onoverlayHandler()
- onresizeHandler()
- onunloadHandler()
- onupdateHandler()
- popupActionHandler()
- refreshContents()
- removeChild()
- removePopupSuffix()
- render()
- renderContents()
- renderSVG()
- searchBlur()
- searchBoxHandler()
- searchFocus()
- searchKeyDown()
- searchKeyPress()
- setComponentId()
- setConnectivityStatusMsg()
- setHidden()
- setModified()
- setOverlayMode()
- setPageTitle()
- setProperty()
- setPropertyAll()
- setSortMode()
- setSortModeHandler()
- setTraceOption()
- setViewMode()
- setViewModeHandler()
- setWarnInnerHTML()
- showAbout()
- showCommandButton()
- showContact()
- showDocumentation()
- showHelp()
- showTimeoutWarning()
- startKeepAlive()
- startModal()
- startProgressBar()
- stopKeepAlive()
- stopProgressBar()
- switchNamespace()
- warnclickListener()