DevelopingWebViewsforVMwarevCenterOrchestratorvCenterOrchestrator5.1Thisdocumentsupportstheversionofeachproductlistedandsupportsallsubsequentversionsuntilthedocumentisreplacedbyanewedition.Tocheckformorerecenteditionsofthisdocument,see::docfeedback@vmware.comCopyright©2008–2012VMware,Inc.Allrightsreserved.ThisproductisprotectedbyU.S.andinternationalcopyrightandintellectualpropertylaws.VMwareproductsarecoveredbyoneormorepatentslistedat:DisplayPropertyComponent32vco:IfMemberOfComponent33vco:IncludeJavascriptComponent33vco:IncludeStylesheetComponent33vco:IncludeWorkflowHeaderComponent34vco:ListPaneComponent35VMware,Inc.3vco:LoginComponent36vco:PageAccessControlComponent37vco:TaskActionComponent38vco:WebformContainerComponent39vco:WorkflowLinkComponent397AccessingServerObjectsfromURLs43RunningActionsfromURLs43RunanActionfromaURL44AccessingResourceElementsfromURLs45ObtainaResourceElementfromaURL458CreateaSimpleWebViewUsingtheDefaultTemplate47ImporttheDefaultWebViewTemplate48ExporttheVirtualMachineManagerWebViewtoaWorkingFolder49ContentsoftheDefaultWebViewTemplate49ProvideUniqueComponentNames50ConfiguretheServerforWebViewDevelopment50EdittheVirtualMachineManagerWebViewHomePage51Addavco:ListPaneComponenttotheWebViewHomePage53DefinetheWebViewAttributesforthevco:ListPaneComponent54CreateaWebViewComponenttoDisplayVirtualMachineInformation55CreateaWebViewTabbyUsingtheMenuComponent56AddLinkstoRunWorkflowsfromaWebViewbyUsingthevco:WorkflowLinkComponent57CustomizetheWebViewInterface59PublishtheVirtualMachineManagerWebView59Index61DevelopingWebViewsforVMwarevCenterOrchestrator4VMware,Inc.DevelopingWebViewsforVMwarevCenterOrchestratorDevelopingWebViewsforVMwarevCenterOrchestratorprovidesinformationaboutdevelopingWebviewsforVMware®vCenterOrchestrator.OrchestratorWebviewsareWeb2.0frontendsthatallowuserstoaccessOrchestratorworkflowsandobjectsintheOrchestratorinventorybyusingaWebbrowserratherthanbyusingtheOrchestratorclient.OrchestratorprovidesastandardWebviewthatuserscanusetorunworkflows,calledweboperator.TheweboperatorWebviewprovidesenduserswithbrowseraccesstoalloftheworkflowsinthelibrary,thattheycanrunonalloftheobjectsintheinventory.TheWebcomponentswhichOrchestratorprovidescanbeusedtodevelopcustomWebviews.IntendedAudienceThisinformationisintendedforWebdesignersanddeveloperswhowanttocreateorcustomizeWebfrontendsfortheOrchestratorprocesses,usingtheWeb2.0technologies.VMware,Inc.5DevelopingWebViewsforVMwarevCenterOrchestrator6VMware,Inc.WebViewOverview1AWebviewisapackageofWebpages,stylesheets,icons,andbannersthatrepresentacompleteWebsite.WebviewscancontainspecialJavaWebComponents(JWC)thataddOrchestratorfunctionstothepagesoftheWebviews.Forexample,youcanaddcomponentsthatallowuserstorunworkflowsfromabrowser.OrchestratorWebviewsupdatecontentdynamicallywithoutobliginguserstoreloadcompletepages.OrchestratorprovidesalibraryofTapestryFramework4.0componentstohelpyoubuildcustomizedWebviewstoaccessOrchestratorfunctionsfromaWebbrowser.TapestrycomponentsprovideaccesstoobjectsintheOrchestratorserver,suchastheworkflowsinthelibraryandthevirtualmachinesintheinventory.YoucanalsoinsertDojo0.4.1componentsintoWebviews.OrchestratorprovidesaWebviewtemplatethatyoucanuseasthebasisfordevelopingWebviews.TheWebviewtemplatecontainsskeletonHTMLpagesandWebviewcomponentsthatyoucanextendandadapt.YoucanalsoexportexistingWebviewstouseastemplatesthatyoucanadapttocreatenewWebviews.YoutypicallycreateormodifythepagesofaWebviewexternallybyusingWebdesigntools.CreatingormodifyingWebpagesindependentlyofOrchestratorallowsyoutoseparat