Configure the HTML Collection Renderer for the KM flexible user interface



Similar documents
Sales Rush Sales Order Processing S01- Lean Baseline Package. SAP Lean Baseline Package Version: V1.500 Country: UK Language: EN Date: February 2006

Global Transport Label - General Motors -

Download and Install Crystal Reports for Eclipse via the Eclipse Software Update Manager

SEM and Budget Preparation. David Reifschneider Sr. Consultant, SAP SI America

How To Configure MDM to Work with Oracle ASM-Based Products

DATA ARCHIVING IN SAP R/3 ENTERPRISE. Georg Fischer PM Data Archiving SAP AG

CREATING A PURCHASE ORDER STORE RECORD WEB SERVICE

SAP Enterprise Portal 6.0 KM Platform Delta Features

SAP xapp Resource and Portfolio Management (SAP xrpm)

How to Create Web Dynpro-Based iviews. Based on SAP NetWeaver 04 Stack 09. Jochen Guertler

Learning Management Systems. SAP Learning Solution overview. Integration. Demonstration. 5 Wrap-up. SAP AG 2002, Title of Presentation, Speaker Name 2

3 rd party Service Desk interface

Configuring Distribution List in Compliant User Provisioning

Implementing Outlook Integration for SAP Business One

Service Level Reporting for Business Process Monitoring

SAP Web SAP Logging & Tracing API. Jeff Gebo SAP Labs, LLC.

SAP NetWeaver MDM 5.5 SP3 SAP Portal iviews Installation & Configuration. Ron Hendrickx SAP NetWeaver RIG Americas Foundation Team

Integrate Third Party Collaboration Tools in the SAP NetWeaver Portal. SAP NetWeaver Product Management

Ronald Bueck SBO Product Definition

Create a New Portal Desktop

E-Recruiting Job Board Integration using XI

How to Set Up an Authorization for a Business Partner in Customer Relationship Management (CRM) Internet Sales: Sample Case

mysap PLM Lifecycle Collaboration: Transparente Produktentwicklung mit der cproject Suite Andreas Vetter Product Manager, SAP AG

Budget Control by Cost Center

SAP Master Data Governance- Hiding fields in the change request User Interface

Backup & Restore with SAP BPC (MS SQL 2005)

R&D Logistics: Clinical Trial Supply Management for the Life Sciences Industry. SAP Online Conference October 7, 2003

Maintaining Different Addresses and Ids for a Business Partner via CRM Web UI

BC407 Reporting: QuickViewer, InfoSet Query and SAP Query

Business One in Action - How can we post bank fees and charges while posting Incoming or Outgoing Payment transactions?

Integrating Easy Document Management System in SAP DMS

Using SAP Logon Tickets for Single Sign on to Microsoft based web applications

prioritize XI messages on integration server

BC481 SAP Interactive Forms by Adobe

Third Party Digital Asset Management Integration

Extract Archived Data from SAP ERP

FSC130 SAP Bank Communication Management

How to configure BusinessObjects Enterprise with Citrix Presentation Server 4.0

How to Schedule Report Execution and Mailing

SAP GRC Access Control: Background jobs for risk analysis and remediation (formerly Virsa Compliance Calibrator)

Performance Best Practices Guide for SAP NetWeaver Portal 7.3

TM111. ERP Integration for Order Management (Shipper Specific) COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

NWBC10 NetWeaver Business Client

" # Portal Integration SAP AG 2004, 3

How to Configure Access Control for Exchange using PowerShell Cmdlets A Step-by-Step guide

Integration of SAP central user administration with Microsoft Active Directory

Posting Messages into XI

Methodology to Implement SAP Process Integration

Collaboration Technology Support Center - Microsoft - Collaboration Brief

K in Identify the differences between the universe design tool and the information design tool

Single Sign-On between SAP Portal and SuccessFactors

Alert Notification in SAP Supply Network Collaboration. SNC Extension Guide

Security Audit Log (BC-SEC)

Process Archiving using NetWeaver Business Process Management

How to Configure and Trouble Shoot Notification for Process Control 2.5

OData in a Nutshell. August 2011 INTERNAL

Integrated Offshore Consulting Services Help Companies To Focus On Their Business

Analyzing Sales Data for Choosing Forecast Strategies

Integration of Universal Worklist into Microsoft Office SharePoint

SAPFIN. Overview of SAP ERP Financials COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

User Experience in Custom Apps

Log Analysis Tool for SAP NetWeaver AS Java

USDL XG WP3 SAP use case. Kay Kadner

UI Framework Logo exchange without skin copy. SAP Enhancement Package 1 for SAP CRM 7.0

Workflow extended notifications

R/3 and J2EE Setup for Digital Signature on Form 16 in HR Systems

mysap Business Solutions on Linux

NetWeaver Business Client (NWBC) for Incentives and Commissions Management (ICM)

HR400 SAP ERP HCM Payroll Configuration

Roster Configuration (Payroll) in SAP ECC 6.0 Tips & Tricks

Table of Contents. How to Find Database Index usage per ABAP Report and Creating an Index

Enterprise Software - Applications, Technologies and Programming

PE Training and Event Management. SAP ERP Central Component

Sample Universe on Microsoft OLAP Cube

Balance Sheet and Profit & Loss Statement in SAP BW

Developing Applications for Integration between PI and SAP ERP in Different Network Domains or Landscapes

Understanding HR Schema and PCR with an Example

SAP CCMS Monitors Microsoft Windows Eventlog

Business Requirements... 3 Analytics... 3 Typical Use Cases... 8 Related Content... 9 Copyright... 10

Integration of Outlook Web Access (OWA) into SAP Enterprise Portal

AC200. Basics of Customizing for Financial Accounting: General Ledger, Accounts Receivable, Accounts Payable COURSE OUTLINE

How to Add an Attribute to a Case, Record and a Document in NW Folder Management (ex-records Management)

UI Framework Simple Search in CRM WebClient based on NetWeaver Enterprise Search (ABAP) SAP Enhancement Package 1 for SAP CRM 7.0

Grants Management - Grantee Workshop. Keith Harmon Product Manager, SAP Labs LLC

Data Archiving in CRM: a Brief Overview

Application Lifecycle Management

Utilities for downloading and uploading OO ABAP classes in XML format

Problems with your Data Model in SAP NetWeaver MDM Do s and Don ts

UI Framework Task Based User Interface. SAP Enhancement Package 1 for SAP CRM 7.0

How to Create a Support Message in SAP Service Marketplace

BW370 BI Integrated Planning

Installation Guide Customized Installation of SQL Server 2008 for an SAP System with SQL4SAP.VBS

SAP Service Tools for Performance Analysis

BC450 ABAP Performance: Analysis and Optimization

Debugging Portal Applications

How To Balance In Sap Bw

How To Use the ESR Eclipse Tool with the Enterprise Service Repository

How To... Migrate Custom Portal Applications to SAP NetWeaver 7.3

Secure MobiLink Synchronization using Microsoft IIS and the MobiLink Redirector

SAP Sales and Operations Planning Software Product (xsop)

Transcription:

How to Configure the HTML Collection Renderer for the KM flexible user interface ENTERPRISE PORTAL 6.0 SP2 ASAP How to Paper Applicable Releases: EP 6.0 SP2 March 2004.

Table of Contents 1 SCENARIO...1 2 RESULT...1 3 THE STEP BY STEP SOLUTION... 1 3.1 Preparation...2 3.2 Create an HTML Page...4 3.3 Configuring the HTML Collection Renderer...6 3.4 Creating a Layout Set...7 3.5 Create a KM Navigation iview...9 3.6 Entering CM commands in your HTML Page...13 3.7 Including Images in your HTML Page...14 3.8 Displaying document properties in an HTML Page...15 1998 SAP AMERICA, INC. AND SAP AG TABLE OF CONTENTS

1 Scenario This How-to Guide describes how to configure the HTML Collection Renderer for the KM Flexible User Interface. The HTML Collection Renderer allows you to display an HTML page as part of a Layout Set. The HTML page can contain special parameters to display links to any content in CM folders such as files, links, and other folders. You can also include UI commands in the HTML page as well as display images. 2 Result An HTML Page is rendered as part of a layout set. An example of using the HTML Renderer is the ability to display an HTML Page at the top of a layout for a folder which describes the folder contents. The actual the list of documents can be shown in the lower portion of the layout using another collection renderer. 3 The Step By Step Solution Description of the Example The example you will construct for the HTML Collection Renderer. It will display an HTML page on top with a document list for a folder below. The GridList Layout Controller will be used for this purpose. Important Learning Note: The names of the paths, folders, documents, etc. in the steps that follow are only examples. However, use these names exactly when creating your HTML Renderer or else the HTML commands in the example will not work. You can easily copy these configurations for your own purposes when you have completed the learning process. 2004 SAP AG 1

3.1 Preparation 1. Print a copy of the documentation for the HTML Collection Renderer Settings from the Administrator Guide for EP 6.0 SP2. You will use these settings as a reference during this How-to Guide. Note: Documentation can be found at : http://help.sap.com/ep 2. You need the following roles in the portal to perform the steps in this document: System Administration - for System Configuration of Knowledge Management to configure User Interface Content Administrator - for creating iviews 2004 SAP AG 2

3. Create a folder named HTML and List in the /documents/public Documents Note: From Content Management role click on the Detailed Navigation Documents to get to the /documents repository. 4. Create another folder named KM Documentation in the /documents/public Documents Upload some documents into this folder. 5. Navigate to the HTML and List folder and upload a small image file (approx. 130x130 pixels) Image.JPG in this example. 2004 SAP AG 3

3.2 Create an HTML Page 1. The first step in setting up an HTML Collection Renderer is to create the HTML page you will use. This can be accomplished with any text editor including the one delivered with KM. (Do not use the HTML Editor as you will not get the desired result.) In the HTML and List folder, create a new text file. 2. Cut and paste the HTML code on the next page into text window. We will analyse the HTML later. Save the file with the name KMdocinfo.html Warning: This information is case sensitive. 2004 SAP AG 4

<html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> </head> <body> <table border="0" width="99%" cellspacing="1" height="138"> <tr> <td width="94%" height="43"> <h2 align="left">km Documents Area</h2> </td> <td width="28%" rowspan="2" height="134"> <p align="center"><img border="0" src="http://com.sap.cm/documents/public Documents/HTML and List/Image.JPG" width="133" height="128"></p> <p align="center"><a href="http://com.sap.cm/documents/public Documents/HTML and List/KMdocinfo.html?uicommand=edit_online"><font face="arial" size="1">edit this header</font></a> </p> </td> </tr> <tr> <td width="94%" valign="top" height="87"> <font face="arial" size="2">this is a public folder where you can <a href="http://com.sap.cm/.?uicommand=new_file">drop your KM Documents</a>. All members will have access to them. You might want to <br> <a href="http://com.sap.cm/.?uicommand=feedback">give feedback</a> on the content of this folder or participate in a <a href="http://com.sap.cm/.?uicommand=discussion">discussion</a> on its contents. To see other feedback, browse the <a href="http://com.sap.cm/.?uicommand=details">details</a> of this folder. If you want to be informed about changes of the content in this folder, you can simply <a href="http://com.sap.cm/.?uicommand=subscribe">subscribe</a> yourself.</font> </td> </tr> </table> </body> </html> 2004 SAP AG 5

3. You should now have a folder with two files as shown. 3.3 Configuring the HTML Collection Renderer 1. Navigate to System Administration System Configuration Knowledge Management Configuration Content Management User Interface Settings Collection Renderer Settings HTML Collection Renderer Settings Click New 2. Enter the following values: Name: HTMLandList Description: HTML Collection Renderer HTML File Name: /documents/public Documents/HTML and List/KMdocinfo.html Note: If you copy the path to the HTML File Name from the Access Links property, replace any value of %20 in the File Name with a blank. Click OK. Note: You can change the Breadcrumb Style but the rest of the fields do not apply. They are simply there due to the java class that has been 2004 SAP AG 6

implemented for this collection renderer. 3.4 Creating a Layout Set 1. Navigate to System Administration System Configuration Knowledge Management Configuration Content Management User Interface Settings Layout Set 2. Enter Grid in the Filter field and click Filter. Note: Filters are case sensitive. Enter Grid not grid. We will duplicate the ConsumerGridList for this example, but you can create your own layout set if you wish. 2004 SAP AG 7

3. Select the checkbox next to ConsumerGridList and click Duplicate. 4. Enter the following fields to complete the Layout Set: Name: HTMLandList. Description: Layout set for HTML Collection Renderer and List 5. Collection Renderer: Deselect the ConsumerTaxonomyCollectionRe nderer Select the HTMLandList Collection Renderer Do not deselect the ConsumerFileListRenderer 6. Leave the other fields and click OK. Important: Always use the GridListLayoutController for this layout. 2004 SAP AG 8

3.5 Create a KM Navigation iview 1. Navigate to Content Administration Portal Content 2. Right click on Portal Content and create a folder for your iview by clicking New Folder. 3. Enter HTML Renderer Folder for the Folder Name and HTMLRendererFolder for the Folder ID and and click Finish. 2004 SAP AG 9

4. Create an iview in the folder by clicking the right mouse on the folder name and selecting New iview. 5. Select KM Navigation iview and click Next. 6. Enter the iview Name and iview ID as HTMLandList. Click Next. 2004 SAP AG 10

7. Select Open for editing when wizard completes and click Finish. 8. Select Show All Property Categories 9. Enter HTMLandList in Layout Settings 2004 SAP AG 11

10. Enter /documents/public Documents/KM Documentation in Path to Initially Displayed Folder. 11. Click Preview to test the iview. Your iview should look similar to the one below. See below. Tip: To see future changes to your iview, click the right-mouse in the iview window and click Refresh. If you do not see your changes: 1. Close the iview window. 2. Click Refresh 3. Click Preview. 2004 SAP AG 12

3.6 Entering CM commands in your HTML Page 1. First, try all the CM commands on your iview by clicking on the links in the paragraph: a. drop your Documents b. give feedback c. discussion d. details e. subscribe f. Edit this header You will learn how to configure these commands in the following steps. 2. Any access to CM functions in your HTML page must be prefixed with this text: http://com.sap.cm For example, the command for editing a document edit_online. Use the syntax?uicommand= as shown below. The path to the document to be edited, in this case KMdocinfo.html is the CM path. In this example it is: /Public Documents/HTML and List/KMdocinfo.html A path to a document in the same folder as the HTML page is prefixed with./ in one folder up from the same folder as the HTML page../ and in any folder../folder/ Note: Type this HTML code on one line not on separate lines as shown. Note: Command names are found in the path System Administration System Configuration Knowledge Management Configuration Content Management User Interface Commands UI Commands 2004 SAP AG 13

<a href= "http://com.sap.cm/documents/public Documents/HTML and List/KMdocinfo.html?uicommand=edit_online"><font face="arial" size="1">edit this header</font></a> 3. You can also code the command so that the command label is automatically displayed. In this case the text Edit this header is not needed. The syntax is?uicommand_with_label= <a href= "http://com.sap.cm/documents/public Documents/HTML and List/KMdocinfo.html?uicommand_with_label=edit_online"><font face="arial" size="1"></font></a> 3.7 Including Images in your HTML Page 1. You can include images from a CM folder in your HTML Page. The syntax is the path to the file as in: /documents/public Documents/HTML and List/Image.JPG <p align="center"><img border="0" src= http://com.sap.cm/documents/public Documents/HTML and List/Image.JPG width="133" height="128"></p> 2004 SAP AG 14

3.8 Displaying document properties in an HTML Page 1. Edit the KMdocinfo.html page by clicking on the Edit this header link on your HTML page. 2. Add the createdby property to HTML page by entering the following html code after the image statement. Click Save and Unlock then refresh your iview to display the property. The property is displayed using its property renderer. In this example, the user name that displays is John Smith. <p align="center"><img border="0" src="http://com.sap.cm/documents/public Documents/HTML and List/Image.JPG" width="133" height="128"></p> <p> <a href="http://com.sap.cm/documents/public Documents/HTML and List/Image.JPG?property=createdby"></a></p> <p align="center"><a href="http://com.sap.cm/documents/public Documents/HTML and List/KMdocinfo.html?uicommand=edit_online"><font face="arial" size="1">edit this header</font></a> </p> 3. Click on the user to display the business card. 2004 SAP AG 15

4. To display the property in a text string rather than using the property renderer, add the following parameter after the property name: &asstring=true For an example, try the create date property (created), with and without this parameter. The example to the right displays the property created with the property renderer. <p> <a href="http://com.sap.cm/documents/public Documents/HTML and List/Image.JPG?property=created&asString=true "></a></p> 5. This example to the right displays the property created with the text string. 2004 SAP AG 16

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, WINDOWS, NT, EXCEL, Word, PowerPoint and SQL Server are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix and Informix Dynamic ServerTM are trademarks of IBM Corporation in USA and/or other countries. ORACLE is a registered trademark of ORACLE Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, the Citrix logo, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, MultiWin and other Citrix product names referenced herein are trademarks of Citrix Systems, Inc. HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. JAVA is a registered trademark of Sun Microsystems, Inc. JAVASCRIPT is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One. SAP, SAP Logo, R/2, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are trademarks of their respective companies. 2004 SAP AG 17