IBM Digital Experience Version 8.5. WebSphere Portal V8.5. Lab Manual. Script Portlet Lab

Size: px
Start display at page:

Download "IBM Digital Experience Version 8.5. WebSphere Portal V8.5. Lab Manual. Script Portlet Lab"

Transcription

1 Author: Jan Smolenski IBM Ecosystem Development Last Updated: June 22, 2014 WebSphere Portal V8.5 Lab Manual Script Portlet Lab Prerequisites: IBM WebSphere Portal/WCM v8.5 IBM Script Portlet for WebSphere Portal V1.0 (Update 4) or V1.1 IBM Social Business Toolkit SDK (for Part 2), IBM Connections (for Part 2) 1

2 Table of Contents Introduction:...3 Description:...4 Objective:...4 Procedure:...5 Part 1 - Create Script Portlets Using Using Publicly Available Web Based Resources...7 Part 2 - Create Script Portlets Using IBM Social Business Toolkit API

3 Introduction: IBM Script Portlet for WebSphere Portal is a tool that enables a script developer to quickly develop portlets for WebSphere Portal without having the need to know anything about Java, portlets or the JSR 286 portlet specification. Simply put, this tool allow users to develop portlets using just their knowledge of scripting languages like JavaScript, CSS and HTML. While the script developer doesn't need to know anything about WebSphere Portal or portlets, key WebSphere Portal/ Web Content Management features are available for consumption when and if they are needed: Content targeting based on devices or geographies. Access to user login info. Adaptive design using conditional rendering. Access to shared render params, portlet preferences, live text etc. Key benefits of using IBM Script Portlet for WebSphere Portal: Enables the Line of Business to have more autonomy and less dependencies on Central IT for portlet development, speeding time to market. Dramatically reduces the skill requirements and training needed for script developers to become productive Portal developers. Suited for enterprise by respecting access control and work flow processes and creating reusable assets and contents. Existing portlets developed using IBM Web Experience Factory or IBM Rational Application Developer can be rendered on the page with the portlets developed using IBM Script Portlet for WebSphere Portal. 3

4 Description: In this lab, we will demonstrate some basic techniques for using the IBM Script Portlet for WebSphere Portal to quickly create some meaningful portlet examples. The lab consists of independent parts illustrating creation of script portlets using various JavaScript techniques. One of the goals of this lab is to demonstrate how to use the IBM Social Business Toolkit (SBT) JavaScript APIs in the context of Script Portlet to easily create portlets working with IBM Social Platform. This API comes with the SBT SDK which provides a set of extensible tools and resources for developers who want to incorporate social capabilities into their applications and business processes. Social capabilities include features and functionality that tap into the power of social interactions, business networks, community-based problem solving, and more. The Social platform chosen for this Lab is an existing IBM Connections (v4.5) instance hosted on a separate server and pre-configured for single sign-on (SSO). Both, the WebSphere Portal 8.5 and the IBM Connections share a common user registry based on the TDS LDAP. Objective: This lab will explain the following tasks: How to create simple Script Portlets from the existing free content publicly available on the Web (the Thomson Reuters News web site, for example). How to use the IBM Social Business Toolkit JavaScript APIs to create Script Portlets Note: How to configure the IBM Social Business Toolkit SDK (downloadable from ibmsbt.openntf.org) for use in WebSphere Portal v8.5 is only outlined in this Lab. Please, check the SBT Wiki for more details. 4

5 Procedure: CLIENT SETUP The IBM Softlayer cloud (IaaS) based server environment has been provisioned for you. This is the Linux server environment running WebSphere Portal 8.5. To access the server from your Windows client machine, the browser (either Firefox or Chrome) is required. Most of the lab steps will be performed through the browser. However, for some of the administrative tasks you might also need a direct access to the Linux console (a command line terminal window) such as one provided by PuTTY for example. It is also very helpful to install the SCP client for Windows, such as WinSCP which provides file transfer and basic file management functionality in Explorer like fashion. Both, the PuTTY and the WinSCP tools are free and can be downloaded from the Web. SERVER SETUP IBM WebSphere Portal v8.5 and IBM HTTP Server will need to be running in order to complete this lab. IBM Connections must also be running (on a separate server) to complete scenarios involving accessing this social platform. The WebSphere Portal and IBM Connections have been preconfigured for SSO. In addition, the IBM Social Business Toolkit SDK will need to be downloaded and installed on the server. Specifically, the SBT provided sample web application (EAR) will need to be deployed to the WebSphere Portal server before any IBM SBT JavaScript based APIs can be used inside the Script Portlet. In order to demonstrate the capabilities of the SBT SDK, you will need to seed the IBM Connections server instance with some data. This will allow you to see some tangible results from your SDK API calls in later exercises. Step 1 If you haven't done so already, start IBM WebSphere Portal server. Verify that the server has started by waiting for open for e-business messages before continuing. This may take a few minutes. Step 2 Start IBM HTTP Server 5

6 The Websphere Portal admin user and the WebSphere Application Server admin user is shown below. Field Value User name virtuser Password <password> as provided 6

7 Part 1 - Create Script Portlets Using Using Publicly Available Web Based Resources In a web browser, navigate to URL: Step 1 Step 2 Log in with a user who is also an IBM Connections user. Use the following credentials: Field Value User name fadams Password passw0rd Step 3 In the Portal page top toolbar section, click the icon to open the site menu and select Home from the pulldown to navigate to the Home page. Step 4 The Portal Welcome page should now be shown. In the Portal Toolbar section activate the page Edit Mode by clicking the Edit Mode: OFF/ON switch on the toolbar's right-hand side. Step 5 The Edit Mode should now be active as shown below. 7

8 Step 6 If not open, click the icon in the toolbar to open additional toolbar section containing additional menu options, as shown. Step 7 Click the Create menu option and supply the following information to create a new page titled My Script Page a sibling of the Welcome page. Click the Create Page button when finished. Field Value Page/Application/Content Page Templates Basic Page Settings: - Page title My Script Page - Page insertion point Next sibling of current page 8

9 Step 8 A message confirming successful page creation should appear at the top of the create panel window. Step 9 Keep the create panel open and create another page titled Example 1 this time a child of My Script Page that was just created. Provide the following information and click the Create Page button when finished. Field Value Page/Application/Content Page Templates Basic Page Settings: - Page title Example 1 - Page insertion point Child of current page 9

10 Step 10 A confirmation message should be displayed inside the panel. Keep the panel open. Observe that you can change the page layout, add content to the page or edit the page information directly from the links displayed in the message. By default the new page layout consists of two equally sized columns arranged vertically. Accept the default layout. Proceed to add applications to the Example 1 page. Click the Applications to see all the available applications to choose from. Step 11 To narrow down the choices, type script in the Search area and submit the search (click the magnifying glass icon). Step 12 The Script Portlet application should now be displayed as the only choice. Hover the mouse over the Script Portlet icon and drag it onto the left-hand side column of the page layout while holding the left mouse button down. Alternatively click the + control in the top right corner to add the Script Portlet application to the page. Step 13 A confirmation message should be displayed inside the panel. Dismiss the panel. 10

11 Step 14 The Script Portlet should now be visible on the Example 1 page. Click the Edit link inside the portlet to open the Script Portlet Editor allowing you to add your code on the fly. Step 15 The Script Portlet Editor panel is divided into 4 sections supporting 5 panes: HTML, Head, JavaScript, CSS and Preview panes. The first 4 panes let you add code while the Preview pane displays the results after you save your editing. The HTML and Head panes share the same space and you can switch between them by selecting one of the displayed links. Each of the panes can be maximized to take up the full Editor panel. The Preview pane can be popped out into a separate window. In addition, there is the Dependencies pane that is accessible through the Dependencies button. In the Dependencies section you can specify external resource names for both the JavaScript and the CSS resources, such us third party libraries that would be added to the Portal page HTML markup. 11

12 Step 16 Click the <head> link of the HTML <head> pane (section). It will allow you to enter the markup that will be placed above the markup entered in the JavaScript and HTML panes. We will do this in the next few steps. Step 17 In the first scenario we will demonstrate how to adapt some existing widget to display its content inside the Script portlet. To make this interesting, the content we want to display is about the current news. Instead of using news feeds, we are going to use an existing freely available widget that is posted by one of the leading news organizations. To proceed, open another browser window or a browser tab. Step 18 If you ran an internet search using search terms such as news widget (in Google search, for example), you would find a set of free news related widgets on the Thomson Reuters website at Navigate to this URL. From the list of available Reuters' widgets pick the Top News link found in the Video column. Step 19 The Reuters Latest Top News Video widget should now be displayed with the Get This Widget instructions displayed underneath. Copy all the code shown under the Embed Code: label to the clipboard. 12

13 <script src=" buzzid=81520&apitoken=05a8533ddd6644a5a19b33588d41e8f5&trkp=&trkm=49870a db c38ef06" type="text/javascript"></script> Step 20 Paste the copied code, including its <script>...</script> surrounding tags into the <head> pane of the Script Portlet Editor panel that was opened earlier, starting from line 1. Step 21 Click File Save at the top of the Script Portlet Editor panel. Step 22 Observe the Preview pane of the Script Portlet Editor panel. Wait a couple of seconds results of executing this external JavaScript code should be displayed there. 13

14 Step 23 Close the Script Editor panel and switch to the page View mode to make sure the Top News widget is still correctly displayed (note the latest news videos change frequently and the displayed content can be different even from what's been shown in the Preview). Note: You need to have the Flash Player installed in order to be able to play videos. 14

15 Step 24 In the earlier editions of the Script Portlet when running the above scenario you could encounter an error about jquery not defined (see below). If you see this error, continue with the following steps. Otherwise skip this section and go to the second portlet creation steps (in or around the step 34). Step 25 To find out more details about this error, switch to a full screen Preview mode by clicking the full screen icon in the upper right corner of the Preview pane. Step 26 If using Firefox browser, click F12 to activate the Firebug debugging tool and reload the page. Click Firebug's Console Errors to get the more refined error description. As you can see, the error indicates that the jquery library resource pointed to by the indicated URL was not found or could not be loaded. Step 27 Close the Firebug section and click Preview icon to go back to the Script Editor. 15

16 Step 28 In the Script Portlet Editor's HTML <head> pane, click the <head> link. Step 29 Insert the following <script> element in front of the previously inserted code. <script src=" The above <script> tag element will load the missing jquery library from the indicated site. The jquery library is a single JavaScript file that can be downloaded and hosted locally or can be accessed from the jquery Content Delivery Network (CDN) as specified in this example. Click Save to save your changes. Step 30 You should now see the Reuters widget displayed in the Preview pane. Note that you need to have the Flash Player installed in order to be able to play videos. Step 31 Close the Script Editor panel and switch to the page View mode to make sure the widget is still correctly displayed (note the latest news videos change frequently and the displayed content can be different even from what's been shown in the Preview). 16

17 Step 32 Activate the page Edit mode again. Step 33 Add another Script Portlet instance to the Example 1 page. To do that, click the Create tab in the toolbar to open the panel. Step 34 Click Applications to get the available applications to choose from. 17

18 Step 35 The Script Portlet application icon should be displayed (the previously issued search result is still in effect). Step 36 As before, hover the mouse over the Script Portlet icon and drag it onto the right-hand side column of the page layout while holding the left mouse button down. Alternatively click the + control in the top right corner to add the Script Portlet application to the page. Step 37 Step 38 If the new portlet instance appears in the left-hand side column, underneath the existing Reuters Top News portlet then use the portlet Display menu to move it to the right. Click the portlet Display menu to open a list of available selections. 18

19 Step 39 Select Move Right to move the new portlet to the right-hand side column. Step 40 Click the Edit link inside the Script Portlet to start adding the code. Step 41 This time we will insert one of the free finance widgets available on the Web. Open another browser window (or a tab) and navigate to 19

20 Step 42 Click the Stock Quotes widget link, as shown. Step 43 Click the Stock Quotes Widget link 20

21 Step 44 On the Google Add this gadget to your webpage, set the gadget's display width to 360 pixels and click the Get the Code button at the bottom. 21

22 Step 45 Copy the generated HTML code fragment displayed at the bottom (below the Get the Code button. <script src="// url= %5EFTSE%2C%5EGDAXI%2C %5EFCHI&up_chart_bool=1&up_font_size=12&up_symbol_bool=0&up_c hart_period=0&up_refresh_secs=30&synd=open&w=360&h=300&ti tle=stock+quotes&border=%23ffffff%7c3px%2c1px+solid+ % &output=js"></script> Step 46 Go back to your Portal session browser window and paste the code into the <head> pane of the Script Portlet Editor panel, as shown below. Click File Save. 22

23 Step 47 The Stock Quotes widget/gadget should now appear in the Preview pane. Step 48 Dismiss (close) the Script Portlet Editor and observe two Script portlets displayed side by side. Step 49 Switch to the page View mode to make sure the page is rendered properly. 23

24 Step 50 This concludes the Part 1 of the lab where we demonstrated the use of some publicly available and free of charge JavaScript based widgets that could be used inside the Script Portlet. 24

25 Part 2 - Create Script Portlets Using IBM Social Business Toolkit API In the Part 2 of this Lab we will use the IBM Social Business Toolkit (SBT) JavaScript APIs to easily build functional portlets utilizing the Script Portlet technology provided in WebSphere Portal/WCM v8.5. The Toolkit provides a rich set of high level Social APIs that are wrappers for the existing lower level REST based services (APIs) supported in IBM Connections and IBM SmartCloud For Social Business. The Toolkit provides both the JavaScript and Java based language support and the higher level APIs are much easier to use than the native APIs, thus relieving programmers from dealing with more tedious aspects of using REST services directly, parsing XML documents, strings, etc. The SBT environment has already been prepared for you so that you can concentrate on writing the code. The prerequisites and SBT configuration steps are highlighted below. The latest IBM Social Business Toolkit SDK (SBT SDK) must be downloaded from ibmsbt.openntf.org and unzipped to a separate directory The SBT sample web application named sbt.sample, packaged in the EAR file supplied with the SBT SDK and located in the sbtsdk/samples/ear/sbt.sample-<version/date>.ear, where <version/date> is the SDK build specific suffix, must be installed and deployed to the WebSphere Portal server. The sbt.sample EAR consists of 5 web modules (.war) files with the following default context root values: /sbt.sample.web (SBT SDK samples module ) /sbt (SBT core module) /sbt.dojo180 (Dojo Toolkit module) /sbt.bootstrap211 (Bootstrap module) /sbt.jquery182 (jquery module) Note: Both the Dojo Toolkit and jquery JavaScript libraries are supported as indicated by the modules listed above. However, as of the SBT SDK build version dated March 2014, the jquery support is not yet provided for certain UI related SBT functions (Controls/Views). If the HTTP (Web) server is configured for accessing WebSphere Portal, the above listed context root values must be specified in the plugin-cfg.xml file for this Web server (see the URIGroup section in the plugin-cfg.xml ). 25

26 A J2EE URL resource for the SBT properties configuration file must be defined in the WebSphere Application Server using JNDI name of url/ibmsbt-sbtproperties. This definition must point to an external sbt.properties configuration file with properly configured SBT endpoints. Note: The sbt.properties configuration file used in this Lab has been prepared for using two endpoint types: the Basic authentication and the LTPA token authentication for SSO. The basic authentication endpoint name is connections and it is the SBT default. The SSO endpoint name is connectionssso and it must be explicitly specified to override the default. Both endpoints have been configured to access the IBM Connections platform that the WebSphere Portal was configured with. As noted earlier, the SSO has been setup between Portal and Connections. The sbt.sample application must be started on the WebSphere_Portal Portal server and be active before any of the SBT JavaScript APIs can be used. Note: To verify the sbt.sample web application is running, open the browser and specify the following URL to access the application: Step 1 Before using the SBT JavaScript API inside your Script Portlet, you should review some of the SBT JavaScript code snippet samples provided with the sbt.sample application. If you are new to the SBT technology, it would give you an idea as to what can be done with the Toolkit and how much (or rather how little) efforts are required to build complex and visually appealing applications. To explore the SBT, open another browser window and use the following URL to access the application: Step 2 The SBT sbt.sample application organizes code snippets in the explorer-like interface. You can pick a code snippet from various categories listed in the left-hand side navigation panel. The code will be displayed in the top panel on the right and results of running it in the panel beneath it. You can modify the code to suit your needs. After testing the code you can then use it often 'as-is' in your applications. Navigate to Social Communities Get My Communities. 26

27 Step 3 Since the sbt.sample application was configured to interface with the IBM Connections instance, you will be prompted to enter Connections user credentials first. After a successful login, the list of communities the user is a member of should be displayed in the results panel (a sample output is shown below). Note the JavaScript source code is displayed on the JavaScript tab and the HTML code used for this sample is displayed on the HTML tab. Use the following credentials: Field Value User name fadams Password passw0rd 27

28 28

29 Step 4 Feel free to explore other categories, especially those samples that should return some nonempty results for your user id. Check the Controls sub-folders for code examples utilizing the Toolkit provided UI controls that can help you produce advanced HTML/CSS formatting with very few lines of JavaScript code. Step 5 Leave the sbt.sample web application session browser window open and go back to your existing WebSphere Portal browser window/tab. Step 6 Activate the page Edit Mode if not active. Select My Script Page tab (created in Part 1) and create SBT Example 2 page using the Last child of current page insertion point, as shown. Click Create Page button. Field Value Page/Application/Content Page Templates Basic Page Settings: - Page title SBT Example 2 - Page insertion point Last child of current page 29

30 Step 7 A confirmation message should be displayed inside the panel. Keep the panel open. Proceed to changing the page layout by clicking the Change the page layout link. Step 8 From the available page layouts, select the 1 column layout. Step 9 A message confirming changing of the layout should be displayed. Keep the panel open and click the Create tab. Step 10 Proceed to add applications to the SBT Example 2 page. Click the Applications to add the Script Portlet to the page. 30

31 Step 11 The Script Portlet application icon should be displayed (the previously issued search result is still in effect). Hover the mouse over the Script Portlet icon and drag it onto the dotted area on the page while holding the left mouse button down. Step 12 Click the Edit link inside the Script Portlet to open the Script Portlet Editor. Step 13 Start adding your code. In this scenario we will take advantage of the existing code snippets provided by the sbt.sample application. To get the code, switch back to the sbt.sample browser window ( and navigate to Social Communities Get My Communities 31

32 Step 14 This is the same code that you inspected earlier. Copy all the code displayed in the JavaScript tab as-is. To do that, right-click inside the panel and click Select All from the pop-up menu. Right-click again and select Copy. This code will be pasted into the Script Portet Editor JavaScript pane in the next step (for your convenience the code is included below and can be copied from this document instead). 32

33 require(["sbt/connections/communityservice", "sbt/dom"], function(communityservice,dom) { var createrow = function(title, communityuuid) { var table = dom.byid("communitiestable"); var tr = document.createelement("tr"); table.appendchild(tr); var td = document.createelement("td"); td.appendchild(document.createtextnode(title)); tr.appendchild(td); td = document.createelement("td"); td.appendchild(document.createtextnode(communityuuid)); tr.appendchild(td); }; var communityservice = new CommunityService(); communityservice.getmycommunities().then( function(communities) { if (communities.length == 0) { dom.settext("content", "You are not a member of any communities."); } else { for(var i=0; i<communities.length; i++){ var community = communities[i]; var title = community.gettitle(); var communityuuid = community.getcommunityuuid(); createrow(title, communityuuid); } } }, function(error) { dom.settext("content", "Error code:" + error.code + ", message:" + error.message); } ); } ); Step 15 Go back to the WebSphere Portal browser window and Paste the code into the JavaScript pane of the Script Portlet Editor panel. The code added here will be surrounded by <script> </script> tags that are automatically inserted by the Editor when the pane is saved. Hint: For better clarity expand (maximize) the pane by clicking the JavaScript Click Save and click icon: icon to restore the default size. 33

34 Step 16 Switch back to the sbt.sample browser session window. Click the HTML tab and copy all the displayed code. This HTML markup will be pasted into the Script Portet Editor HTML pane in the next step (for your convenience the code is included below and can be copied from this document instead). <div role="main"> <table class="table table-bordered" id="communitiestable"> <tr class="label label-info"> <th>title</th> <th>id</th> </tr> </table> </div> 34

35 Step 17 Go back to the WebSphere Portal browser window and Paste the copied markup into the HTML pane of the Script Portlet Editor panel. Make sure to select the HTML input focus (not the <head>). Click File Save. You should not see results in the Preview area yet, because required SBT JS files (resources/libraries) have not been loaded on that page. 35

36 Step 18 To finish coding you need to specify all the required resources the SBT code is dependent upon that should be loaded before your HTML markup can be rendered properly. Those resources should be loaded and become available before the rest of the page (DOM) is loaded. Those resources include required JavaScript files (modules) and links to external style sheets (CSS) documents used in the samples. Tip: For any SBT code sample found in the sbt.sample application, the easiest way to determine the required external JavaScript and CSS style sheets resources is to execute the code in a separate browser page and use the View Page Source browser functionality to examine the generated HTML's <head> section. To execute the function in a separate page, click the javascriptpreview.jsp link that is present under the results panel of the sbt.sample application. The code shown below lists the required SBT dependencies for this particular example. The code consists of <script> and <link> tags. The Dojo toolkit is being used for the JS library and several CSS resources are also needed. We will add those dependencies in the following steps. <script type="text/javascript" src="/sbt.dojo180/dojo/dojo.js"></script> <script type="text/javascript" src="/sbt.sample.web/library? lib=dojo&ver=1.8.0"></script> <link rel="stylesheet" type="text/css" title="style" href="/sbt.dojo180/dojo/resources/dojo.css"> <link rel="stylesheet" type="text/css" title="style" href="/sbt.dojo180/dijit/themes/claro/claro.css"> <link rel="stylesheet" type="text/css" title="style" href="/sbt.dojo180/dojox/grid/enhanced/resources/claro/enhancedgrid.css"> <link rel="stylesheet" type="text/css" title="style" href="/sbt.dojo180/dojox/grid/enhanced/resources/enhancedgrid_rtl.css"> <link rel="stylesheet" type="text/css" title="style" href="/sbt.bootstrap211/bootstrap/css/bootstrap.css"> <link rel="stylesheet" type="text/css" title="style" href="/sbt.bootstrap211/bootstrap/css/bootstrap-responsive.css"> Step 19 The Script Portlet version used in this lab provides two ways of dealing with external CSS resources and JavaScript resources/dependencies containing scripts that are called (i.e. composed of functions) or triggered by events. One way is to add them in bulk using the Editor's <head> pane. If you do that, the inserted markup will end up in the Portal page <body> section, above all the other markup added by the Script Portlet Editor. The other approach is to add them using the Dependencies section, found here: This approach results in the same markup placement as the <head> pane approach. It differs only in the way those resource references are entered into the Editor. The latter approach is more convenient for adding them one-by-one, because all you need to type is a resource reference itself. All the necessary HTML tags and attributes are automatically generated by the Editor. Another words you don't need to be concerned about using the proper syntax of the <script> and <link> tags as the Editor takes care of it. 36

37 Note: It is not recommended to mix those two approaches. If the <head> pane and the Dependencies sections are used in the same portlet, the current Script Editor's implementation ignores the entries provided in the Dependencies section. In this scenario we will use the former, <head> pane approach. It will save us the typing time because we already have a valid HTML markup containing the list of all external CSS and JavaScript references needed by this portlet. To proceed, copy the list shown in the preceding step as-is to the clipboard. Step 20 Click the <head> link in the Script Portlet Editor HTML <head> pane to open the pane (click the icon to maximize the pane for easier viewing). Step 21 Paste the copied markup starting with line 1. The resulting <head> pane is shown below. When done, click File ->Save and click icon to restore the default size. 37

38 Step 22 You should now see results displayed in the Preview area. The results should be similar to the output returned from running this code inside the sbt.sample application at the beginning of the Part 2. Tip: If the Preview pane remains empty, you should activate the browser's debugging tools, such as Firebug for the Firefox browser to help you isolate the problem. Note: Before any results are displayed in the Preview pane you may be prompted to login to IBM Connections. The login prompt will be displayed if you had not yet logged in to Connections with this user ID using the sbt.sample app. This is because the default SBT endpoint (named connections ) is a basic authentication endpoint that is not aware of the SSO configuration between Portal and Connections it does not support SSO LTPA. If you are prompted, enter fadams/passw0rd for the credentials and click the Log in button. In the later part of this Lab we will switch endpoints to use the connectionssso endpoint making this issue to go away. The first iteration of our SBT based Script Portlet is now finished. From now on, we will refer to this portlet as My Communities portlet. Step 23 Close the Script Portlet Editor and switch to the page View Mode to make sure the My Communities portlet is still rendered properly. 38

39 Step 24 Switch back to the page Edit Mode and open the Script Portlet Editor again by clicking the Edit link inside the portlet. Step 25 Expand (maximize) the JavaScript pane and take a closer look at the code. 39

40 Lines provide the main logic for accessing the Social platform (IBM Connections) using the IBM SBT API. The code instantiates the CommunityService object and issues getmycommunities() API call to obtain a list of communities a current user is a member of. By default a maximum of 10 communities are returned. The code iterates through returned results and for every community from the list, it extracts the community title and the community UUID. Finally, it invokes a local 'createrow' function (declared in lines 3-13) to dynamically modify the DOM by appending new table rows (table id= communitiestable ), a skeleton of which was declared in the HTML (see the HTML pane of the Script Portlet Editor). It is essential to mention that SBT supports the JS Promises pattern to deal with the asynchronous nature of underlying lower level services and for reasons of code readability and maintainability. Asynch calls return a JS Promise object which implements the 'then()' method taking two arguments. The first argument passed to then() is a function called for a success and the second argument is a function called for an error. In the line 16 of the code, you can see the then() method invocation in the context of the Community Service SBT service. If the call to get communities was successful, the first function would be executed. If it was a failure, the second function would be invoked. 40

41 Step 26 Let us modify the code to return communities sorted by the number of community members in a descending order. Another words, the most popular in terms of membership would be at the top of the list. Also, expand the list size to 15 entries. Modify line 16 by passing a JSON style argument to the getmycommunities() SBT method, as shown. Save your changes and check results in the Preview area. communityservice.getmycommunities({ps:15,sortby:"count",sortorder:"desc"}).then( Step 27 You will now make a few more changes to the JavaScript code and the HTML markup of this portlet. Our ultimate goal is to demonstrate a multi-portlet page consisting of at least two instances of Script Portlet portlets implementing the Public Render Parameters for inter-portlet communication. The My Communities portlet that was just implemented will be used to generate render parameters and some other, not yet created Script Portlet would be consuming those parameters. First, modify the My Communities portlet to display an HTML FORM containing a 2 column table with radio buttons in the first column and community titles in the second. When a user selects a radio button next to a community title, the selected community UUID would be used as a public render parameter, thus allowing other portlets to receive this UUID and act accordingly. In the Script Portlet Editor that should still be opened, expand (maximize) the HTML pane and replace the code with the following HTML code. Click File Save when done. <h2>my Most Popular Communities</h2> <span id="_sbtmessage_1"></span> <div role="main"> <form id="radioform1" action='[plugin:renderurl copycurrentparams="true"]' method="post"> <table class="table table-bordered" id="communitiestable"> <caption>make a selection:</caption> <tr class="label label-info" > <th></th> <th>community Title</th> </tr> </table> </form> </div> 41

42 Line 4 creates a FORM element. Inside the form (line 4 12 ) is a skeleton of a table with just a header. The table rows and table data elements will be created dynamically (as before) by the JavaScript code. The form action element: action='[plugin:renderurl copycurrentparams="true"]' specifies the render URL plug-in that is used to set render parameters. The attribute copycurrentparams determines whether the current state and the parameters that are encoded in the state are to be copied into the new URL. The default is false which is not suitable in our case. The value of this attribute must be true for our scenario to work properly. 42

43 Step 28 Restore the default size of the Script Portlet Editor panels and expand (maximize) the JavaScript pane. Replace the current code with the code shown below. Click File Save when done. require(["sbt/connections/communityservice", "sbt/dom"], function(communityservice, dom) { var createrow = function(title, communityuuid) { var table = dom.byid("communitiestable"); var tr = document.createelement("tr"); table.appendchild(tr); var td = document.createelement("td"); var input = document.createelement("input"); input.type = "radio"; input.name = "CUSTOM_CONTEXT"; input.value = communityuuid; var uuid = '[Plugin:RenderParam key="custom_context" defaultvalue=""]'; if( uuid == communityuuid ){ input.checked = true; //alert("checked=" + uuid); } input.setattribute('onclick',"rowsubmit();"); td.appendchild(input); tr.appendchild(td); td = document.createelement("td"); td.appendchild(document.createtextnode(title)); tr.appendchild(td); }; var communityservice = new CommunityService(); communityservice.getmycommunities({ ps: 10, sortby:"count", sortorder:"desc" }).then( function(communities){ if (communities.length == 0) { dom.settext("content", "There are no public communities."); } else { for(var i=0; i<communities.length; i++){ var community = communities[i]; var title = community.gettitle(); var communityuuid = community.getcommunityuuid(); createrow(title, communityuuid); } } }, function(error){ dom.settext("content", "Error code:" + error.code + ", message:" + error.message); } );} ); function rowsubmit(){ var myform = document.getelementbyid('radioform1'); myform.submit(); return false; } 43

44 The main logic for accessing the Social Platform to get a list of 'My' communities using SBT API has not changed. It has just moved to lines The createrow() function (line 3 23) was modified to dynamically create radio buttons (html <input type= radio > ) in the first column of the communities table. The community titles are now created in the second table column. The community UUIDs are not displayed anymore. They are added to the radio button values so that when a given radio button is selected the onclick function named rowsubmit() would be triggered to submit the form. 44

45 Below is a snapshot of one of the html table row <tr>...</tr> element that the createrow() function has generated in a sample run. The critical piece of code that allows for accessing public render parameters is the render parameter plugin. It is referenced in the line 12 of the JavaScript code: The render parameter plug-in tag: [Plugin:RenderParam key="custom_context" defaultvalue=""] coded above, uses the key attribute to specify the name of the render parameter to be retrieved and the defaultvalue attribute to specify the value that you want to be returned if the addressed render parameter does not exist or has a value of null. The CUSTOM_CONTEXT is the custom context public render parameter of Web Content Manager predefined ( in the portlet.xml ) and ready for use in the Script Portlet. Step 29 Restore default size and observe the Preview pane. Returned results should now be displayed differently. The table will consist of rows containing radio buttons and community titles. 45

46 Step 30 Close the Script Portlet Editor to see results on a portal page. Select any of the radio buttons and notice the page refresh resulting from the form being submitted. Step 31 Let us now introduce another instance of the Script Portlet on the same page. Change the page layout, by clicking Page Layout in the toolbar and select 2 column equal for the new layout. Step 32 A layout change confirmation message should appear in the panel. Click Create Applications to insert another instance of the Script Portlet to the right-hand side column. The Script Portlet application icon should be displayed (the previously issued search result is still in effect). Hover the mouse over the Script Portlet icon and drag it onto the dotted area in the right-hand side column on the page while holding the left mouse button down. 46

47 Step 33 Click Edit inside the newly added portlet to open the Script Portlet Editor. Step 34 Our second Script Portlet is also going to be modeled after one of the SBT samples available in the sbt.sample application. We will refer to this portlet as Community Members portlet. To get the code, switch back to the sbt.sample browser session window ( and navigate to Social Profiles Controls Community Members 47

48 This code displays community members. We will adapt the code to display community members of a community with a given UUID. This UUID would be obtained from the public render parameters created by the My Communities portlet. Step 35 Copy all the code displayed in the JavaScript tab as-is. To do that, right-click inside the panel and click Select All from the pop-up menu. Right-click again and select Copy. This code will be pasted into the Script Portet Editor JavaScript pane in the next step (for your convenience this code is also included below). require(["sbt/dom", "sbt/connections/controls/profiles/profilegrid","sbt/connections/communityservice"], function(dom, ProfileGrid, CommunityService){ var id = ""; var communityservice = new CommunityService(); var promise = communityservice.getpubliccommunities({}); var self = this; promise.then( function(communities) { if(communities.length < 0){ dom.settext("content", "There are no public communities"); }else{ var id = communities[communities.length-1].getcommunityuuid(); var grid = new ProfileGrid({ type : "communitymembers", communityuuid : id }); dom.byid("griddiv").appendchild(grid.domnode); grid.update(); } }, function(error) { dom.settext("content", error); } ); }); 48

49 Step 36 Go back to the WebSphere Portal browser window and Paste the code into the JavaScript pane of the Script Portlet Editor panel. Hint: For better clarity expand (maximize) the pane by clicking the JavaScript: Click File Save and click icon displayed next to icon to restore the default size. 49

50 Step 37 Switch back to the sbt.sample browser session window. Click the HTML tab and copy all the displayed markup (it should just contain one <div></div> tag). This markup will be pasted into the Script Portet Editor HTML pane in the next step. <div id="griddiv"></div> Step 38 Go back to the WebSphere Portal browser window and Paste the copied code into the HTML pane of the Script Portlet Editor panel. Make sure to select the HTML input focus. Click File Save. Step 39 To finish coding you need to specify all the required external references for resources the SBT code is dependent upon, similarly to what you did in the first Script portlet. In this case you can use the same markup that was already added into the <head> pane of the My Communities portlet already defined on this page. Those dependencies are in both cases the same and are shown below again for your convenience. Copy the code and add it to the <head> pane of the current portlet. Click File Save and close the Script Portlet Editor. Important: Since all required resources were already specified in the first portlet, the second portlet should function properly without adding anything. This is because both portlets are deployed to the same portal page and the resources supporting the first portlet would have been already loaded by the time the second portlet is rendered. Those resources would be available to all Script portlets placed on that page. Once Script portlets are completed, you should cleanup the <head> pane to avoid loading duplicate resources. Also have in mind that in production environment you would move those resources into the Portal theme module used for displaying your page. 50

51 <script type="text/javascript" src="/sbt.dojo180/dojo/dojo.js"></script> <script type="text/javascript" src="/sbt.sample.web/library? lib=dojo&ver=1.8.0"></script> <link rel="stylesheet" type="text/css" title="style" href="/sbt.dojo180/dojo/resources/dojo.css"> <link rel="stylesheet" type="text/css" title="style" href="/sbt.dojo180/dijit/themes/claro/claro.css"> <link rel="stylesheet" type="text/css" title="style" href="/sbt.dojo180/dojox/grid/enhanced/resources/claro/enhancedgrid.css"> <link rel="stylesheet" type="text/css" title="style" href="/sbt.dojo180/dojox/grid/enhanced/resources/enhancedgrid_rtl.css"> <link rel="stylesheet" type="text/css" title="style" href="/sbt.bootstrap211/bootstrap/css/bootstrap.css"> <link rel="stylesheet" type="text/css" title="style" href="/sbt.bootstrap211/bootstrap/css/bootstrap-responsive.css"> Step 40 The results displayed in the Community Members portlet show members of a Public community returned by the SBT API call. We will modify this code in the next few steps. 51

52 Step 41 You will now make a few changes to the JavaScript and the HTML code of the Community Members portlet. As mentioned before, our goal was to demonstrate a multi-portlet page consisting of instances of Script Portlet implementing the Public Render Parameters for the inter-portlet communication. The My Communities portlet that was deployed earlier implemented the 'Community UUID' as the public render parameter. The Community Members portlet which you are about to change will be modified to receive this render parameter and use it to return community members for the selected UUID. First, we will modify the Community Members portlet HTML section, to include the title as well as placeholders for the community title and for the error message (if any) that could be returned. Open the Script Portlet Editor for the Community Members portlet, expand (maximize) the HTML pane and replace the code with the following HTML code. Click File Save when done. <h2 >Community Members</h2> <span id="_sbtmessage_2"></span> <span id="communitytitle" ></span><br> <div id="griddiv"></div> Step 42 Restore the default size and (optionally) insert a CSS styling elements in the CSS pane, as shown. The style affects the element with the communitytitle id. Click File Save. 52

53 Step 43 Restore the default size of the Script Portlet Editor panels (if needed) and expand (maximize) the JavaScript pane. Replace the current code with the code shown below. Click File Save when done. require(["sbt/dom", "sbt/connections/controls/profiles/profilegrid", "sbt/connections/communityservice"], function(dom, ProfileGrid, CommunityService){ var uuid = '[Plugin:RenderParam key="custom_context"]'; //alert("uuid:" + uuid); if(uuid == ''){ dom.byid("griddiv").innerhtml=''; dom.settext("communitytitle", "Community not selected"); return; } try { var communityservice = new CommunityService(); var promise = communityservice.getcommunity(uuid); promise.then( function(community) { dom.settext("communitytitle", community.gettitle()); var grid = new ProfileGrid({ type : "communitymembers", communityuuid : uuid }); dom.byid("griddiv").appendchild(grid.domnode); grid.update(); }, function(error) { dom.settext("_sbtmessage_2", error); } ); }catch(err){ dom.settext("_sbtmessage_2", "Error code:" + err.code + ", message:" + err.message); return; } } ); 53

54 The modified version of the Community Members portlet main javascript code receives the CUSTOM_CONTEXT render parameter containing the community UUID (line 4) that was selected in the My Communities portlet and uses this UUID to invoke the SBT getcommunity() API call, passing the UUID for the method's argument (line 13). After the community is retrieved, the community title is extracted and the most importantly, the SBT grid (ProfileGrid) UI control is invoked to build a list of the community members. The grid containing this list includes paging and sorting controls for easy and flexible viewing. Finally, the grid is inserted dynamically into the DOM using the griddiv <div> anchor that was included in the HTML. 54

55 Step 44 Close the Script Portlet Editor to see the page with both portlets. Test the interaction by selecting different communities. Switch to the page View Mode to test the portlets again. Note the Community Members portlet reacting to the radio buttons selected in the My Communities portlet. A radio button must be selected in order to see any results. Step 45 One of the easily spotted issue with the Community Members portlet code is that the members photos are not displayed. In their places you see gray silhouettes. This is caused by a bug in the SBT SDK build used in this lab. To make these silhouettes disappear, open the Script Portlet Editor and insert an additional CSS styling into the CSS pane. The shown below CSS selector and styling will hide the visibility of every <img> element whose src= attribute value contains the substring "photo.do". Click File Save and close the editor to see the changes taking effect. Note: Hiding <img> elements using the CSS style, as coded below, could cause undesirable effect of potentially hiding other images that met the same criteria. You can always refine your selector if such a possibility exists. The selector used here is just an example of what could be done. img[src*="photo.do"]{ visibility: hidden; } 55

56 Step 46 Although both portlets are working as expected, there is one more change that should be made in the SBT JavaScript code. As stated earlier, the default SBT endpoint named connections supports the Connections Basic authentication. This does not provide the single sign-on (SSO) support and forces Portal users to enter their credentials when they access our SBT portlets for the first time, despite the fact that the SSO has been configured between Portal and Connections. For the SSO support to work properly when using SBT API, the endpoint type used must be changed. The endpoint that supports SSO is named connectionssso. In the sbt.properties configuration file this endpoint's URL was set to the hostname of our IBM Connections server. Changing the endpoint involves adding a JSON style argument to some of the SBT JavaScript methods. The format of this argument is shown below. {endpoint: "connectionssso"} Step 47 Switch to the page Edit Mode and click Edit inside the My Communities portlet to open the Script Portlet Editor. Step 48 In the Editor's JavaScript pane, edit line 24 to include a JSON style argument in the CommunityService() constructor method, as shown. Click File Save and close the Script Portlet Editor. 56

57 Step 49 Click Edit inside the Community Members portlet to open the Script Portlet Editor. Step 50 In the Editor's JavaScript pane, edit line 12 to include a JSON style argument in the CommunityService() constructor method, as shown. Step 51 In the same JavaScript pane, insert a line after the current line 17 containing a JSON style argument, as shown. Click Save and close the Script Editor. Step 52 The page should display both portlets as before. To test the SSO, log out from the Portal and clear the browser cache/cookies. Re-login using fadams/passw0rd credentials. Step 53 Navigate to the SBT Example 2 page and test the portlets. You should not be challenged to enter user credentials. Step 54 Congratulations! The lab is now concluded. 57

58 Summary: In this lab, you had an opportunity to familiarize yourself with the latest WebSphere Portal Script Portlet technology. You also learned how to use the IBM Social Business Toolkit JavaScript API in the context of a Script Portlet to build portlets accessing the IBM Social Platform, such as IBM Connections. 58

59 Copyright IBM Corporation 2014 The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. This information is based on current IBM product plans and strategy, which are subject to change by IBM without notice. Product release dates and/or capabilities referenced in these materials may change at any time at IBM s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. IBM, the IBM logo, and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at Copyright and trademark information at

Lab 1: Getting Started with IBM Worklight Lab Exercise

Lab 1: Getting Started with IBM Worklight Lab Exercise Lab 1: Getting Started with IBM Worklight Lab Exercise Table of Contents 1. Getting Started with IBM Worklight... 3 1.1 Start Worklight Studio... 5 1.1.1 Start Worklight Studio... 6 1.2 Create new MyMemories

More information

Roxen Content Provider

Roxen Content Provider Roxen Content Provider Generation 3 Templates Purpose This workbook is designed to provide a training and reference tool for placing University of Alaska information on the World Wide Web (WWW) using the

More information

Creating a HATS v7.1 Portlet Using Web Express Logon (WEL) and Portal Credential Vault

Creating a HATS v7.1 Portlet Using Web Express Logon (WEL) and Portal Credential Vault Creating a HATS v7.1 Portlet Using Web Express Logon (WEL) and Portal Credential Vault Lab instructions The objective of this exercise is to illustrate how to create a HATS portlet that uses Web Express

More information

Client Configuration Cookbook

Client Configuration Cookbook Sitecore CMS 6.2 Client Configuration Cookbook Rev: 2009-10-20 Sitecore CMS 6.2 Client Configuration Cookbook Features, Tips and Techniques for CMS Architects and Developers Table of Contents Chapter 1

More information

Dreamweaver MX The Basics

Dreamweaver MX The Basics Chapter 1 Dreamweaver MX 2004 - The Basics COPYRIGHTED MATERIAL Welcome to Dreamweaver MX 2004! Dreamweaver is a powerful Web page creation program created by Macromedia. It s included in the Macromedia

More information

Bonus Lesson: Working with Code

Bonus Lesson: Working with Code 15 Bonus Lesson: Working with Code In this lesson, you ll learn how to work with code and do the following: Select code elements in new ways Collapse and expand code entries Write code using code hinting

More information

Client Configuration Cookbook

Client Configuration Cookbook Sitecore CMS 6.4 or later Client Configuration Cookbook Rev: 2013-10-01 Sitecore CMS 6.4 or later Client Configuration Cookbook Features, Tips and Techniques for CMS Architects and Developers Table of

More information

Learning vrealize Orchestrator in action V M U G L A B

Learning vrealize Orchestrator in action V M U G L A B Learning vrealize Orchestrator in action V M U G L A B Lab Learning vrealize Orchestrator in action Code examples If you don t feel like typing the code you can download it from the webserver running on

More information

Percussion Documentation Table of Contents

Percussion Documentation Table of Contents Percussion Documentation Table of Contents Intro to the Percussion Interface... 2 Logging In to Percussion... 2 The Dashboard... 2 Managing Dashboard Gadgets... 3 The Menu... 4 The Finder... 4 Editor view...

More information

Client Side JavaScript and AJAX

Client Side JavaScript and AJAX Client Side JavaScript and AJAX Client side javascript is JavaScript that runs in the browsers of people using your site. So far all the JavaScript code we've written runs on our node.js server. This is

More information

Introduction to IBM Rational HATS For IBM System i (5250)

Introduction to IBM Rational HATS For IBM System i (5250) Introduction to IBM Rational HATS For IBM System i (5250) Introduction to IBM Rational HATS 1 Lab instructions This lab teaches you how to use IBM Rational HATS to create a Web application capable of transforming

More information

Siteforce Pilot: Best Practices

Siteforce Pilot: Best Practices Siteforce Pilot: Best Practices Getting Started with Siteforce Setup your users as Publishers and Contributors. Siteforce has two distinct types of users First, is your Web Publishers. These are the front

More information

Unified Task List. IBM WebSphere Portal V7.0 Review the hardware and software requirements Review the product documentation

Unified Task List. IBM WebSphere Portal V7.0 Review the hardware and software requirements Review the product documentation Unified Task List Software requirements The information in this topic provides details about the software required to install or develop using the Unified Task List portlet. For information about supported

More information

IBM Mobile Portal Accelerator Enablement

IBM Mobile Portal Accelerator Enablement IBM Mobile Portal Accelerator Enablement Hands-on Lab Exercise on XDIME Portlet Development Prepared by Kiran J Rao IBM MPA Development kiran.rao@in.ibm.com Jaye Fitzgerald IBM MPA Development jaye@us.ibm.com

More information

Script Portlet Installation and Configuration with Websphere Portal v8.5. Adinarayana H

Script Portlet Installation and Configuration with Websphere Portal v8.5. Adinarayana H Script Portlet Installation and Configuration with Websphere Portal v8.5 Adinarayana H Table Of Contents 1. Script Portlet Overview 2. Script Portlet Download Process 3. Script Portlet Installation with

More information

Introduction to IBM Rational HATS For IBM System z (3270)

Introduction to IBM Rational HATS For IBM System z (3270) Introduction to IBM Rational HATS For IBM System z (3270) Introduction to IBM Rational HATS 1 Lab instructions This lab teaches you how to use IBM Rational HATS to create a Web application capable of transforming

More information

Advanced Topics in WebSphere Portal Development Graham Harper Application Architect IBM Software Services for Collaboration

Advanced Topics in WebSphere Portal Development Graham Harper Application Architect IBM Software Services for Collaboration Advanced Topics in WebSphere Portal Development Graham Harper Application Architect IBM Software Services for Collaboration 2012 IBM Corporation Ideas behind this session Broaden the discussion when considering

More information

Application Integration with WebSphere Portal V7

Application Integration with WebSphere Portal V7 Application Integration with WebSphere Portal V7 Rapid Portlet Development with WebSphere Portlet Factory IBM Innovation Center Dallas, TX 2010 IBM Corporation Objectives WebSphere Portal IBM Innovation

More information

ENABLING WEBCHAT HOSTED USER GUIDE

ENABLING WEBCHAT HOSTED USER GUIDE ENABLING WEBCHAT HOSTED USER GUIDE CONTENTS... 1 Sign up Process... 2 Sign up Process (Continued)... 3 Logging In/ Out... 4 Admin Dashboard... 5 Creating, Edit, Delete A User... 5 Creating, Edit, Delete

More information

Administrative Training Mura CMS Version 5.6

Administrative Training Mura CMS Version 5.6 Administrative Training Mura CMS Version 5.6 Published: March 9, 2012 Table of Contents Mura CMS Overview! 6 Dashboard!... 6 Site Manager!... 6 Drafts!... 6 Components!... 6 Categories!... 6 Content Collections:

More information

Enterprise Modernization for IBM System z:

Enterprise Modernization for IBM System z: Enterprise Modernization for IBM System z: Transform 3270 green screens to Web UI using Rational Host Access Transformation Services for Multiplatforms Extend a host application to the Web using System

More information

Prosphero Intranet Sample Websphere Portal / Lotus Web Content Management 6.1.5

Prosphero Intranet Sample Websphere Portal / Lotus Web Content Management 6.1.5 www.ibm.com.au Prosphero Intranet Sample Websphere Portal / Lotus Web Content Management 6.1.5 User Guide 7th October 2010 Authors: Mark Hampton & Melissa Howarth Introduction This document is a user guide

More information

APAR PO06620 Installation Instructions

APAR PO06620 Installation Instructions IBM Corporation APAR PO06620 Installation Instructions IBM Counter Fraud Management 1.5.0.5 IBM Counter Fraud Development 3-31-2017 Table of Contents 1 Fix readme... 1 2 Abstract... 1 3 Contents... 1 4

More information

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments. Web Development WEB101: Web Development Fundamentals using HTML, CSS and JavaScript $2,495.00 5 Days Replay Class Recordings included with this course Upcoming Dates Course Description This 5-day instructor-led

More information

Visual Workflow Implementation Guide

Visual Workflow Implementation Guide Version 30.0: Spring 14 Visual Workflow Implementation Guide Note: Any unreleased services or features referenced in this or other press releases or public statements are not currently available and may

More information

Getting started with WebSphere Portlet Factory V7.0.0

Getting started with WebSphere Portlet Factory V7.0.0 Getting started with WebSphere Portlet Factory V7.0.0 WebSphere Portlet Factory Development Team 29 September 2010 Copyright International Business Machines Corporation 2010. All rights reserved. Abstract

More information

The figure below shows the Dreamweaver Interface.

The figure below shows the Dreamweaver Interface. Dreamweaver Interface Dreamweaver Interface In this section you will learn about the interface of Dreamweaver. You will also learn about the various panels and properties of Dreamweaver. The Macromedia

More information

Kendo UI Builder by Progress : Using Kendo UI Designer

Kendo UI Builder by Progress : Using Kendo UI Designer Kendo UI Builder by Progress : Using Kendo UI Designer Notices 2016 Telerik AD. All rights reserved. November 2016 Last updated with new content: Version 1.1 3 Notices 4 Contents Table of Contents Chapter

More information

Using the VMware vcenter Orchestrator Client. vrealize Orchestrator 5.5.1

Using the VMware vcenter Orchestrator Client. vrealize Orchestrator 5.5.1 Using the VMware vcenter Orchestrator Client vrealize Orchestrator 5.5.1 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments

More information

Create-A-Page Design Documentation

Create-A-Page Design Documentation Create-A-Page Design Documentation Group 9 C r e a t e - A - P a g e This document contains a description of all development tools utilized by Create-A-Page, as well as sequence diagrams, the entity-relationship

More information

CUSTOMER PORTAL. Custom HTML splashpage Guide

CUSTOMER PORTAL. Custom HTML splashpage Guide CUSTOMER PORTAL Custom HTML splashpage Guide 1 CUSTOM HTML Custom HTML splash page templates are intended for users who have a good knowledge of HTML, CSS and JavaScript and want to create a splash page

More information

Table of Contents HOL CMP

Table of Contents HOL CMP Table of Contents Lab Overview - - vrealize Orchestrator - Advanced... 2 Lab Guidance... 3 Module 1 - Creating Advanced vrealize Orchestrator Workflows (45 min)...9 Introduction... 10 Prompting User Input

More information

Learn how to login to Sitefinity and what possible errors you can get if you do not have proper permissions.

Learn how to login to Sitefinity and what possible errors you can get if you do not have proper permissions. USER GUIDE This guide is intended for users of all levels of expertise. The guide describes in detail Sitefinity user interface - from logging to completing a project. Use it to learn how to create pages

More information

ver Wfl Adobe lif Sams Teach Yourself Betsy Bruce Robyn Ness SAMS 800 East 96th Street, Indianapolis, Indiana, USA WlM John Ray ^lg^

ver Wfl Adobe lif Sams Teach Yourself Betsy Bruce Robyn Ness SAMS 800 East 96th Street, Indianapolis, Indiana, USA WlM John Ray ^lg^ Betsy Bruce John Ray Robyn Ness Sams Teach Yourself Adobe Wfl lif ver W ^msssi^ mm WlM ^lg^ SAMS 800 East 96th Street, Indianapolis, Indiana, 46240 USA Table of Contents Introduction What Is Dreamweaver

More information

PEGACUIS71V1 pegasystems

PEGACUIS71V1 pegasystems PEGACUIS71V1 pegasystems Number: PEGACUIS71V1 Passing Score: 800 Time Limit: 120 min Exam A QUESTION 1 Which of the following rule types does the Localization wizard translate? (Choose Two) A. Field Value

More information

Building Rich, OmniChannel Digital Experiences for Enterprise, Social and Storefront Commerce Data with Digital Data Connector

Building Rich, OmniChannel Digital Experiences for Enterprise, Social and Storefront Commerce Data with Digital Data Connector Session ID: Session Title: DDX-15 Building Rich, OmniChannel Digital Experiences for Enterprise, Social and Storefront Commerce Data with Digital Data Connector Part 3: Exploring Commerce DDC Components

More information

Getting started with Convertigo Mobilizer

Getting started with Convertigo Mobilizer Getting started with Convertigo Mobilizer First Sencha-based project tutorial CEMS 6.0.0 TABLE OF CONTENTS Convertigo Mobilizer overview...1 Introducing Convertigo Mobilizer... 1-1 Convertigo Mobilizer

More information

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML UI Course (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) HTML: Introduction The World Wide Web (WWW) and history of HTML Hypertext and Hypertext Markup Language Why HTML Prerequisites Objective

More information

IBM Software. IBM Forms V8.0. Forms Experience Builder - Portal Integration. Lab Exercise

IBM Software. IBM Forms V8.0. Forms Experience Builder - Portal Integration. Lab Exercise IBM Forms V8.0 Forms Experience Builder - Portal Integration Lab Exercise Catalog Number Copyright IBM Corporation, 2012 US Government Users Restricted Rights - Use, duplication or disclosure restricted

More information

Using Development Tools to Examine Webpages

Using Development Tools to Examine Webpages Chapter 9 Using Development Tools to Examine Webpages Skills you will learn: For this tutorial, we will use the developer tools in Firefox. However, these are quite similar to the developer tools found

More information

Enriching Portal user experience using Dojo toolkit support in IBM Rational Application Developer v8 for IBM WebSphere Portal

Enriching Portal user experience using Dojo toolkit support in IBM Rational Application Developer v8 for IBM WebSphere Portal Enriching Portal user experience using Dojo toolkit support in IBM Rational Application Developer v8 for IBM WebSphere Portal Summary: Learn how to create Portlet applications for Websphere Portal for

More information

"Charting the Course... WebSphere Portal 8 Development using Rational Application Developer 8.5. Course Summary

Charting the Course... WebSphere Portal 8 Development using Rational Application Developer 8.5. Course Summary Course Summary Description This course will introduce attendees to Portlet development using Rational Application Developer 8.5 as their development platform. It will cover JSR 286 development, iwidget

More information

Requirements Document

Requirements Document GROUP 9 Requirements Document Create-A-Page Matthew Currier, John Campbell, and Dan Martin 5/1/2009 This document is an outline of what was originally desired in the application in the Project Abstract,

More information

Developing Web Applications for Smartphones with IBM WebSphere Portlet Factory 7.0

Developing Web Applications for Smartphones with IBM WebSphere Portlet Factory 7.0 Developing Web Applications for Smartphones with IBM WebSphere Portlet Factory 7.0 WebSphere Portlet Factory Development Team 6 September 2010 Copyright International Business Machines Corporation 2010.

More information

Overview... 4 JavaScript Charting and Metric Insights... 5

Overview... 4 JavaScript Charting and Metric Insights... 5 JAVASCRIPT CHARTING Table of Contents Overview... 4 and Metric Insights... 5 Chart Types...11 Overview of JavaScript chart types...12 d3...13 Highcharts...16 Highstock...18 Google...19 nvd3...21 Dynamic

More information

Kendo UI. Builder by Progress : Using Kendo UI Designer

Kendo UI. Builder by Progress : Using Kendo UI Designer Kendo UI Builder by Progress : Using Kendo UI Designer Copyright 2017 Telerik AD. All rights reserved. December 2017 Last updated with new content: Version 2.1 Updated: 2017/12/22 3 Copyright 4 Contents

More information

PHPRad. PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and

PHPRad. PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and PHPRad PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and Getting Started Creating New Project To create new Project. Just click on the button. Fill In Project properties

More information

SPARK. User Manual Ver ITLAQ Technologies

SPARK. User Manual Ver ITLAQ Technologies SPARK Forms Builder for Office 365 User Manual Ver. 3.5.50.102 0 ITLAQ Technologies www.itlaq.com Table of Contents 1 The Form Designer Workspace... 3 1.1 Form Toolbox... 3 1.1.1 Hiding/ Unhiding/ Minimizing

More information

Using the VMware vrealize Orchestrator Client

Using the VMware vrealize Orchestrator Client Using the VMware vrealize Orchestrator Client vrealize Orchestrator 7.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by

More information

Composer Guide for JavaScript Development

Composer Guide for JavaScript Development IBM Initiate Master Data Service Version 10 Release 0 Composer Guide for JavaScript Development GI13-2630-00 IBM Initiate Master Data Service Version 10 Release 0 Composer Guide for JavaScript Development

More information

BEAWebLogic. Portal. Tutorials Getting Started with WebLogic Portal

BEAWebLogic. Portal. Tutorials Getting Started with WebLogic Portal BEAWebLogic Portal Tutorials Getting Started with WebLogic Portal Version 10.2 February 2008 Contents 1. Introduction Introduction............................................................ 1-1 2. Setting

More information

Getting Started with Web Services

Getting Started with Web Services Getting Started with Web Services Getting Started with Web Services A web service is a set of functions packaged into a single entity that is available to other systems on a network. The network can be

More information

Overview of the Adobe Dreamweaver CS5 workspace

Overview of the Adobe Dreamweaver CS5 workspace Adobe Dreamweaver CS5 Activity 2.1 guide Overview of the Adobe Dreamweaver CS5 workspace You can access Adobe Dreamweaver CS5 tools, commands, and features by using menus or by selecting options from one

More information

Web-enable a 5250 application with the IBM WebFacing Tool

Web-enable a 5250 application with the IBM WebFacing Tool Web-enable a 5250 application with the IBM WebFacing Tool ii Web-enable a 5250 application with the IBM WebFacing Tool Contents Web-enable a 5250 application using the IBM WebFacing Tool......... 1 Introduction..............1

More information

Xerte. Guide to making responsive webpages with Bootstrap

Xerte. Guide to making responsive webpages with Bootstrap Xerte Guide to making responsive webpages with Bootstrap Introduction The Xerte Bootstrap Template provides a quick way to create dynamic, responsive webpages that will work well on any device. Tip: Webpages

More information

Web Site Development with HTML/JavaScrip

Web Site Development with HTML/JavaScrip Hands-On Web Site Development with HTML/JavaScrip Course Description This Hands-On Web programming course provides a thorough introduction to implementing a full-featured Web site on the Internet or corporate

More information

Getting Started with Web Services

Getting Started with Web Services Getting Started with Web Services Getting Started with Web Services A web service is a set of functions packaged into a single entity that is available to other systems on a network. The network can be

More information

IBM WebSphere Lombardi Edition 7.2 Business Process Management Workshop

IBM WebSphere Lombardi Edition 7.2 Business Process Management Workshop IBM IBM WebSphere Lombardi Edition 7.2 Business Process Management Workshop Lab Exercises Contents LAB 1 BUILD-FROM-SCRATCH LAB - PART 1... 4 1.1 START LOMBARDI AUTHORING ENVIRONMENT... 4 1.1.1 START THE

More information

Getting started with WebSphere Portlet Factory V6.1

Getting started with WebSphere Portlet Factory V6.1 Getting started with WebSphere Portlet Factory V6.1 WebSphere Portlet Factory Development Team 29 July 2008 Copyright International Business Machines Corporation 2008. All rights reserved. Abstract Discover

More information

Web Development. With PHP. Web Development With PHP

Web Development. With PHP. Web Development With PHP Web Development With PHP Web Development With PHP We deliver all our courses as Corporate Training as well if you are a group interested in the course, this option may be more advantageous for you. 8983002500/8149046285

More information

Secure Guard Central Management System

Secure Guard Central Management System Speco Technologies, Inc. Secure Guard Central Management System Usage Information Contents 1 Overview... 7 2 Installation... 7 2.1 System Requirements... 7 2.2 System Installation... 7 2.3 Command Line

More information

Adobe Marketing Cloud Best Practices Implementing Adobe Target using Dynamic Tag Management

Adobe Marketing Cloud Best Practices Implementing Adobe Target using Dynamic Tag Management Adobe Marketing Cloud Best Practices Implementing Adobe Target using Dynamic Tag Management Contents Best Practices for Implementing Adobe Target using Dynamic Tag Management.3 Dynamic Tag Management Implementation...4

More information

Logi Ad Hoc Reporting System Administration Guide

Logi Ad Hoc Reporting System Administration Guide Logi Ad Hoc Reporting System Administration Guide Version 10.3 Last Updated: August 2012 Page 2 Table of Contents INTRODUCTION... 4 Target Audience... 4 Application Architecture... 5 Document Overview...

More information

Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS. For IBM System i (5250)

Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS. For IBM System i (5250) Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS For IBM System i (5250) 1 Lab instructions This lab teaches you how to use IBM Rational HATS to create a rich client plug-in application

More information

08/10/2018. Istanbul Now Platform User Interface

08/10/2018. Istanbul Now Platform User Interface 08/10/2018 Contents Contents...5 UI16... 9 Comparison of UI16 and UI15 styles... 11 Activate UI16... 15 Switch between UI16 and UI15...15 UI16 application navigator... 16 System settings for the user

More information

Web Dashboard User Guide

Web Dashboard User Guide Web Dashboard User Guide Version 10.6 The software supplied with this document is the property of RadView Software and is furnished under a licensing agreement. Neither the software nor this document may

More information

User Guide. Web Intelligence Rich Client. Business Objects 4.1

User Guide. Web Intelligence Rich Client. Business Objects 4.1 User Guide Web Intelligence Rich Client Business Objects 4.1 2 P a g e Web Intelligence 4.1 User Guide Web Intelligence 4.1 User Guide Contents Getting Started in Web Intelligence 4.1... 5 Log into EDDIE...

More information

Installation Guide. Kudos Boards v3.x. January ISW Development Pty Ltd

Installation Guide. Kudos Boards v3.x. January ISW Development Pty Ltd Installation Guide Kudos Boards v3.x January 2018 2018 ISW Development Pty Ltd Table of Contents Installation Overview... 3 Step 1: Setup the Java Message Service for Kudos Boards... 4 Task 1.1 - Login

More information

Code Editor. The Code Editor is made up of the following areas: Toolbar. Editable Area Output Panel Status Bar Outline. Toolbar

Code Editor. The Code Editor is made up of the following areas: Toolbar. Editable Area Output Panel Status Bar Outline. Toolbar Code Editor Wakanda s Code Editor is a powerful editor where you can write your JavaScript code for events and functions in datastore classes, attributes, Pages, widgets, and much more. Besides JavaScript,

More information

Website Creating Content

Website Creating Content CREATING WEBSITE CONTENT As an administrator, you will need to know how to create content pages within your website. This document will help you learn how to: Create Custom Pages Edit Content Areas Creating

More information

Virto SharePoint Forms Designer for Office 365. Installation and User Guide

Virto SharePoint Forms Designer for Office 365. Installation and User Guide Virto SharePoint Forms Designer for Office 365 Installation and User Guide 2 Table of Contents KEY FEATURES... 3 SYSTEM REQUIREMENTS... 3 INSTALLING VIRTO SHAREPOINT FORMS FOR OFFICE 365...3 LICENSE ACTIVATION...4

More information

Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS For IBM System i (5250)

Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS For IBM System i (5250) Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS For IBM System i (5250) Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS 1 Lab instructions This lab teaches

More information

Custom Contact Forms Magento 2 Extension

Custom Contact Forms Magento 2 Extension Custom Contact Forms Magento 2 Extension User Manual This is the user manual of Magento 2 Custom Contact Forms v100.0.0 and was last updated on 29-06-2017. To see what this extension can do, go to the

More information

Readme. HotDocs Developer Table of Contents. About This Version. About This Version. New Features and Enhancements

Readme. HotDocs Developer Table of Contents. About This Version. About This Version. New Features and Enhancements HotDocs Developer 11.0.4 Version 11.0.4 - January 2014 Copyright 2014 HotDocs Limited. All rights reserved. Table of Contents About This Version New Features and Enhancements Other changes from HotDocs

More information

IBM emessage Version 9 Release 1 February 13, User's Guide

IBM emessage Version 9 Release 1 February 13, User's Guide IBM emessage Version 9 Release 1 February 13, 2015 User's Guide Note Before using this information and the product it supports, read the information in Notices on page 471. This edition applies to version

More information

BEAWebLogic. Portal. Overview

BEAWebLogic. Portal. Overview BEAWebLogic Portal Overview Version 10.2 Revised: February 2008 Contents About the BEA WebLogic Portal Documentation Introduction to WebLogic Portal Portal Concepts.........................................................2-2

More information

JBoss Portal Quickstart User Guide. Release 2.6.6

JBoss Portal Quickstart User Guide. Release 2.6.6 JBoss Portal 2.6.6 Quickstart User Guide Release 2.6.6 Table of Contents JBoss Portal - Overview... iii 1. Tutorial Forward...1 2. Installation...2 2.1. Downloading and Installing...2 2.2. Starting JBoss

More information

Table Basics. The structure of an table

Table Basics. The structure of an table TABLE -FRAMESET Table Basics A table is a grid of rows and columns that intersect to form cells. Two different types of cells exist: Table cell that contains data, is created with the A cell that

More information

Beginning Web Administrator Training

Beginning Web Administrator Training Welcome Beginning Web Administrator Training for School Site and District Staff Welcome Please log on to your computer workstation using your SCUSD login and password Guests use our training login Username:

More information

The 60-Minute Guide to Development Tools for IBM Lotus Domino, IBM WebSphere Portal, and IBM Workplace Applications

The 60-Minute Guide to Development Tools for IBM Lotus Domino, IBM WebSphere Portal, and IBM Workplace Applications The 60-Minute Guide to Development Tools for IBM Lotus Domino, IBM WebSphere Portal, and IBM Workplace Stuart Duguid Portal & Workplace Specialist TechWorks, IBM Asia-Pacific Overview / Scope The aim of

More information

VMware AirWatch - Workspace ONE, Single Sign-on and VMware Identity Manager

VMware AirWatch - Workspace ONE, Single Sign-on and VMware Identity Manager VMware AirWatch - Workspace ONE, Single Sign-on and VMware Identity Table of Contents Lab Overview - HOL-1857-03-UEM - Workspace ONE UEM with App & Access Management... 2 Lab Guidance... 3 Module 1 - Workspace

More information

Getting started with WebSphere Portlet Factory V6

Getting started with WebSphere Portlet Factory V6 Getting started with WebSphere Portlet Factory V6 WebSphere Portlet Factory Development Team 03 Jan 07 Copyright International Business Machines Corporation 2007. All rights reserved. Abstract Discover

More information

Logi Ad Hoc Reporting System Administration Guide

Logi Ad Hoc Reporting System Administration Guide Logi Ad Hoc Reporting System Administration Guide Version 12 July 2016 Page 2 Table of Contents INTRODUCTION... 4 APPLICATION ARCHITECTURE... 5 DOCUMENT OVERVIEW... 6 GENERAL USER INTERFACE... 7 CONTROLS...

More information

Classroom Blogging. Training wiki:

Classroom Blogging. Training wiki: Classroom Blogging Training wiki: http://technologyintegrationshthornt.pbworks.com/create-a-blog 1. Create a Google Account Navigate to http://www.google.com and sign up for a Google account. o Use your

More information

Oracle APEX 18.1 New Features

Oracle APEX 18.1 New Features Oracle APEX 18.1 New Features May, 2018 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated

More information

INDEX COPYRIGHTED MATERIAL

INDEX COPYRIGHTED MATERIAL INDEX $SPUrl, 267 8-bit colors, 307 960 Grid, 352 356, 365 About.com, 163 A Add a Page menu, 273, 335 Add an App menu, 16, 24 adjacent sibling selector, CSS, 155 AjaxDelta controls, 209 210, 217 alternate

More information

Contents. 1. Using Cherry 1.1 Getting started 1.2 Logging in

Contents. 1. Using Cherry 1.1 Getting started 1.2 Logging in 1 Contents 1. Using Cherry 1.1 Getting started 1.2 Logging in 2. Site Page Hierarchy Management 2.1 Page Addition 2.2 Page Deletion 2.3 Editing Page Details 3. Page Content Modification 3.1 Page Revisions

More information

OU EDUCATE TRAINING MANUAL

OU EDUCATE TRAINING MANUAL OU EDUCATE TRAINING MANUAL OmniUpdate Web Content Management System El Camino College Staff Development 310-660-3868 Course Topics: Section 1: OU Educate Overview and Login Section 2: The OmniUpdate Interface

More information

Adobe Dreamweaver CS6 Digital Classroom

Adobe Dreamweaver CS6 Digital Classroom Adobe Dreamweaver CS6 Digital Classroom Osborn, J ISBN-13: 9781118124093 Table of Contents Starting Up About Dreamweaver Digital Classroom 1 Prerequisites 1 System requirements 1 Starting Adobe Dreamweaver

More information

Developing Intelligent Apps

Developing Intelligent Apps Developing Intelligent Apps Lab 1 Creating a Simple Client Application By Gerry O'Brien Overview In this lab you will construct a simple client application that will call an Azure ML web service that you

More information

What's Coming in IBM WebSphere Portlet Factory 7.0

What's Coming in IBM WebSphere Portlet Factory 7.0 What's Coming in IBM WebSphere Portlet Factory 7.0 IBM Corporation Legal Disclaimer The information on the new product is intended to outline our general product direction and it should not be relied on

More information

Unified Task List Developer Pack

Unified Task List Developer Pack Unified Task List Developer Pack About the Developer Pack The developer pack is provided to allow customization of the UTL set of portlets and deliver an easy mechanism of developing task processing portlets

More information

EFM Community 3.1 Portal Administration Guide

EFM Community 3.1 Portal Administration Guide EFM Community 3.1 Portal Administration Guide WHITE PAPER For technical support please call: 1-800-787-8755 Or visit: Hwww.Vovici.comH Please contact Vovici technical support if you believe any of the

More information

Liferay Themes: Customizing Liferay s Look & Feel

Liferay Themes: Customizing Liferay s Look & Feel Liferay Themes: Customizing Liferay s Look & Feel Liferay is a JSR-168 compliant enterprise portal. Starting with version 3.5.0, Liferay provides a mechanism for developers to easily customize the user

More information

Telerik Corp. Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide

Telerik Corp. Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide Contents Create your First Test... 3 Standalone Web Test... 3 Standalone WPF Test... 6 Standalone Silverlight Test... 8 Visual Studio Plug-In

More information

IBM Workplace Collaboration Services API Toolkit

IBM Workplace Collaboration Services API Toolkit IBM Workplace Collaboration Services API Toolkit Version 2.5 User s Guide G210-1958-00 IBM Workplace Collaboration Services API Toolkit Version 2.5 User s Guide G210-1958-00 Note Before using this information

More information

MicroStrategy Academic Program

MicroStrategy Academic Program MicroStrategy Academic Program Creating a center of excellence for enterprise analytics and mobility. HOW TO DEPLOY ENTERPRISE ANALYTICS AND MOBILITY ON AWS APPROXIMATE TIME NEEDED: 1 HOUR In this workshop,

More information

Oracle Application Express 5 New Features

Oracle Application Express 5 New Features Oracle Application Express 5 New Features 20th HrOUG conference October 16, 2015 Vladislav Uvarov Software Development Manager Database Server Technologies Division Copyright 2015, Oracle and/or its affiliates.

More information

Advanced Training Manual: Surveys Last Updated: October 2013

Advanced Training Manual: Surveys Last Updated: October 2013 Advanced Training Manual: Surveys Last Updated: October 2013 Advanced Training Manual: Surveys Page 1 of 28 Table of Contents Introduction Training Objective Surveys Overview Survey Table Survey Options

More information

Drupal Cloud Getting Started Guide Creating a Lab site with the MIT DLC Theme

Drupal Cloud Getting Started Guide Creating a Lab site with the MIT DLC Theme Introduction Drupal Cloud Getting Started Guide Creating a Lab site with the MIT DLC Theme In this Getting Started Guide, you can follow along as a website is built using the MIT DLC Theme. Whether you

More information