Class Reference
%ZEN.Template.WebServicePolicyWizard
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [%ZEN] >  [Template] >  [WebServicePolicyWizard]
Private  Storage

deprecatedclass %ZEN.Template.WebServicePolicyWizard extends %ZEN.Template.studioTemplate

Studio Template: New Web Service/Client Configuration.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
8 6 30


Summary

This is a Zen Page class. 

Properties
%condition %import %includeFiles %page
%resource ConfigClass DocumentName DocumentNamespace
FINALRESULTS IsClient Language Namespace
NumSOAPClasses Project SelectedText User
align aux backgroundTimerInterval cellAlign
cellSize cellStyle cellVAlign children
composite containerStyle cssLevel disabled
dragAndDrop dragEnabled dropEnabled enclosingClass
enclosingStyle error groupClass groupStyle
height helpId hidden hint
hintClass hintStyle id index
label labelClass labelDisabledClass labelPosition
labelStyle layout lblNONE lblSEC
name onafterdrag onbeforedrag onclick
ondrag ondrop onhide onrefresh
onshow onupdate parent showLabel
slice title tuple useSVG
useSoftModals valign visible width
window zenPersistentPopup

Methods
%AddChild %AddChildAfter %AddChildBefore %AddComponent
%AddImportedComponents %AddToProject %AddToSaveSet %AddToSourceControl
%ApplyURLParms %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawAutoLogout %DrawClassDefinitions %DrawComponentHTML
%DrawHTML %DrawHTMLPage %DrawJSStrings %DrawObjectDefinitions
%DrawTitle %EnclosingDivId %EndBackgroundMethod %EndScript
%Eval %EvalC %Extends %ForceClientRender
%GetChildIndex %GetComponent %GetComponentById %GetComponentByName
%GetEventHandlers %GetLinks %GetPageName %GetParameter
%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 %OnMonitorBackgroundTask %OnMutateChildren %OnObjectSynch
%OnPreHTTP %OnSubmit %OnTemplateAction %OnUseSoftModals
%OnZENDeserialize %OriginalNamespace %PackageName %QuoteValue
%QuoteValueL10N %RemoveChild %RemoveChildren %RemoveComponent
%RemoveFromSaveSet %RunBackgroundMethod %Self %SerializeObject
%SetBackgroundMethodStatus %SetClassName %SetErrorById %SetErrorByName
%SetModified %SetValueById %SetValueByName %SetValuesByName
%StartScript %TemplateHeader %ValidateObject %ZENVersion
ConvertParameter Decrypt DrawDetailsContent DrawMessage
DrawNumSOAPClasses DrawPageTitle Encrypt EscapeHTML
EscapeURL GetMutualInfo GetPolicyMessage GetProtectionInfo
GetSSLInfo GetSymmetricInfo GetX509Info HyperEventCall
HyperEventHead Include InsertHiddenField InsertHiddenFields
IsEnabled IsPrivate IsValidClassName JavaInstalled
Link LoadList LocalizeName OnHTTPHeader
OnPage OnPageError OnPostHTTP OnPostHyperEvent
OnPreHTTP OnPreHyperEvent Page QuoteJS
RewriteURL ShowError StartTimer StopTimer
ThrowError UnescapeHTML UnescapeURL XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType addChild
addChildAfter addChildBefore adjustSize canFinish
canGoBack canGoNext cancelPopup cancelTemplate
changePolicy changeSecConv changeService changeType
childrenMutated correctIELayering createComponent createComponentNS
deleteComponent dragFinishHandler dragHandler dragNotifyHandler
dragStartHandler dropHandler dropStartHandler endModal
exposeComponent findElement finishTemplate fireOnResizeEvent
fireOnUnloadEvent fireOnUpdateEvent firePopupAction formValidationHandler
getChildIndex getComponent getComponentById getEnclosingDiv
getFinalValue getHidden getHintElement getLabelElement
getOpener getProperty getSettings getType
gotoPage hasMultiplePages invokeSuper isOfType
launchPopupWindow makeId nextPage onCreate
onDelete onDisplayHandler onEndModalHandler onPopupAction
onRefreshContents onSerialize onServerMethodCall onServerMethodError
onServerMethodReturn onStartModalHandler ondisabledHandler onfinishHandler
onhandleAutoLogoutWarn onkeydownHandler onkeyupHandler onlayoutHandler
onloadHandler onlogoutHandler onoverlayHandler onresizeHandler
onstartHandler onunloadHandler onupdateHandler popupActionHandler
previousPage refreshContents removeChild render
renderContents renderSVG resetMsg setComponentId
setHidden setOverlayMode setProperty setPropertyAll
setTraceOption showDocumentation showHelp showMsg
startModal startProgressBar stopProgressBar updateState
validateConfigurationName


Parameters

• parameter DOMAIN = "%ZEN";
Domain used for localization.
• parameter HELPID = "GSOAPSEC_wsp_creating_policies";
DOCBOOK Topic Id that offers help for this template.
• parameter TEMPLATEDESCRIPTION = "Create a new Web Service/Client Configuration.";
Short description of the template to show in Studio.
If DOMAIN is defined this will be localized.
• parameter TEMPLATEGROUP = "General";
If this is a TEMPLATEMODE="new" then this is the name of the tab in Studio this template is dispayed on. If none specified then it displays on 'Custom' tab.
• parameter TEMPLATEMODE = "new";
What type of template.
• parameter TEMPLATENAME = "Web Service/Client Configuration";
Name of the template to show in Studio.
If DOMAIN is defined this will be localized.
• parameter TEMPLATETITLE = "Web Service/Client Configuration Wizard";
Title of the template to show in the template window.
• parameter TEMPLATETYPE = "cls";
Comma separated list of 'CSP', 'CSR', 'MAC', 'INT', 'INC', 'BAS', 'CLS' to say what type of code this template generates; CSP, CSR, Routine, or Class code. You can also specify '*' for all types.

Properties

• property ConfigClass as %ZEN.Datatype.string;
• property FINALRESULTS as %String;
• property IsClient as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
• property NumSOAPClasses as %ZEN.Datatype.integer [ InitialExpression = 0 ];
If NumSOAPClasses is greater than 1, then the Config Class field and Finish button are disabled.
If NumSOAPClasses is 1, then the Config Class is set to the first piece of ConfigId found, and modification of it is not allowed.
Else the Config Class is set to TargetClass_"Config"
• property lblNONE as %ZEN.Datatype.caption [ InitialExpression = $$$Text("(No security is required.)") ];
• property lblSEC as %ZEN.Datatype.caption [ InitialExpression = $$$Text("(Click [Next] to specify more policy details.)") ];

Methods

• method %OnAfterCreatePage() as %Status
This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
• method %OnTemplateAction() as %Status
This method is called when the template is complete. Any output to the principal device is returned to the Studio.
• classmethod DrawDetailsContent(code As %String) as %Status
This method draws policy detailed content.
• classmethod DrawMessage(pSeed As %String) as %Status
Passing in code or policy type, display description of it.
• classmethod DrawNumSOAPClasses(pSeed As %String) as %Status
This method is processed when user selects a CLASS type and clicks Next. TargetClass is passed in.
• classmethod DrawPageTitle(pSeed As %String) as %Status
• classmethod GetMutualInfo(code As %String)
• classmethod GetPolicyMessage(pCode As %String) as %String
• classmethod GetProtectionInfo(code As %String)
• classmethod GetSSLInfo(code As %String)
code passed in is the Security Policy code.
• classmethod GetSymmetricInfo(code As %String)
• classmethod GetX509Info(code As %String, desc As %String)
code passed may contain code_R_ or code_I (if IsClient).
• classmethod LoadList(Output Services) as %String
Return Services and Clients valueList to be loaded into drop-downs.
• method canFinish() [ Language = javascript ]
Return true if this template can Finish (i.e., enable the Finish button).
• method canGoBack() [ Language = javascript ]
Return true if this template can go to the previous page (i.e., enable the Back button).
• method canGoNext() [ Language = javascript ]
Return true if this template can go to the next page (i.e., enable the Next button).
• method changePolicy(policy) [ Language = javascript ]
load, show/hide fiels based on policy selected.
• method changeSecConv(flag) [ Language = javascript ]
enable/disable DERIVEDKEYS based on Secure Conversation
• method changeService(CLASS) [ Language = javascript ]
user changed SERVER <=> CLIENT. need to reset any policy selection back to NONE.
• method changeType(type, targetclass) [ Language = javascript ]
prepare for tab 2.
• method formValidationHandler() [ Language = javascript ]
Validation handler for form built-into template.
• method getFinalValue(fieldName, fieldType) [ Language = javascript ]
Return value of the given html field name and type.
• method hasMultiplePages() [ Language = javascript ]
Return true if this template has more than one "page". This will display Back and Next buttons. This is implemented by subclasses.
• method nextPage() [ Language = javascript ]
Go to the next page of the template (if there is one).
• method onfinishHandler() [ Language = javascript ]
This is called when the template is finished - gather selected values and put into hidden Zen fields for %OnTemplateAction.
The extra work is needed because most policy specific fields are html controls rather than Zen controls.
• method onstartHandler() [ Language = javascript ]
This is called when the template is first displayed; This provides a chance to set focus etc.
• method previousPage() [ Language = javascript ]
Go to the previous page of the template (if there is one).
• method resetMsg() [ Language = javascript ]
• method showMsg(msg) [ Language = javascript ]
• classmethod validateConfigurationName(classname As %String, replace As %Boolean) as %String [ ZenMethod ]


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.