Neither this document nor any part of it may be copied or reproduced in any form or by any means or translated into other languages without the prior consent of Lawson Learning. Document Control Template Version Document Version Release Date Last Review Date Previous Release Date Owner of Document Approved By Name of File Software Version Software Environment Legal Notices Lawson does not warrant the content of this document or the results of its use. Lawson may change this document without notice. Export Notice: Pursuant to your agreement with Lawson, you are required (at your own expense) to comply with all laws, rules, regulations, and lawful orders of any governmental body that apply to you and the products, services or information provided to you by Lawson. This obligation includes, without limitation, compliance with the U.S. Foreign Corrupt Practices Act (which prohibits certain payments to governmental officials and political parties), U.S. export control regulations, and U.S. regulations of international boycotts. Without limiting the foregoing, you may not use, distribute or export the products, services or information provided to you by Lawson except as permitted by your agreement with Lawson and any applicable laws, rules, regulations or orders. Non-compliance with any such law, rule, regulation or order shall constitute a material breach of your agreement with Lawson. Trademark and Copyright Notices: All brand or product names mentioned herein are trademarks or registered trademarks of Lawson, or the respective trademark owners. Lawson customers or authorized Lawson business partners may copy or transmit this document for their internal use only. Any other use or transmission requires advance written approval of Lawson. Copyright 2006 Lawson Software. All rights reserved. Arena Katarina Kaste Lawson Learning SMCA_Lawson Smart Client Advanced_Workbook_1.0.doc 3.3 1.0 16-Nov-07 5-Dec-07
Table of Contents
TABLE OF CONTENTS 1 INTRODUCTION 1.1 1.2 1.3 1.4 1.5 1.6 2 3 Using this Workbook Topics Covered System Prerequisites Knowledge Prerequisites Course Objectives Course Agenda 2 3 3 3 3 3 3 4 5 6 6 7 8 8 8 10 10 11 13 15 16 17 18 19 20 20 20 22 22 23 23 24 27 27
CONCEPT PROCESS FLOW MANAGING PERSONALIZATION 3.1 3.2 3.3 3.4 3.5 Personalization Storage Global and Role Personalization Updating Personalization Personalization Lookup and Priorities Enable and Disable Personalization
SCENARIOS - PERSONALIZATION OF MFORMS 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 Create Hyperlinks Create Conditional Styles Add Shortcuts Edit Labels Edit Tab Order Show/Hide Fields Personalized Scripts Show/Hide Personalized Settings
SCENARIOS - HINTS AND TIPS 5.1 5.2 5.3 5.4 5.5 5.6 5.7 Export to Excel Favorites User Settings Item Toolbox Example Service Process Example Google Lookup Example Additional Hints and Tips
1 Introduction
This is a four-hour Lawson Learning level 2 course for Lawson Smart Client from a user perspective. Lawson Smart Client user interface is a core element of the overall M3 7.1 applications release. With this user interface, Lawson is redefining how people will interact with their Lawson applications. Smart Client is an easily deployed and managed client application located on a central server. It delivers an intuitive user interface that allows user-specific customization and personalization to put the right tools and information on every user's screen.
Configure hyperlinks Rename field headings Remove unwanted fields from panels Edit the tab order Create conditional styling of panel content Link personalized scripts to a panel
Process Flow
Review
2 Concept
What is the purpose of personalization? Why have we created the tools that exist in Smart Client? When do you use personalization? What parts does personalization contain? Results Uses
Describe why the Smart Client personalization has been developed. What were the problems with customizing earlier M3 user interfaces? _________________________________________________________ _________________________________________________________ _________________________________________________________ _________________________________________________________
When would you use the personalization? _________________________________________________________ _________________________________________________________ _________________________________________________________ _________________________________________________________
Describe the results and the uses of the Smart Client personalization. _________________________________________________________ _________________________________________________________ _________________________________________________________ _________________________________________________________
Personalization Storage
Global and role personalization are created by adding personalization files to the role folders or the GLOBAL_CUSTOMIZATIONS folder. The easiest way is to create personalization with one user and then copy the personalization files for that user to the role folder or the GLOBAL_CUSTOMIZATIONS folder. To remove global or role personalization, simply delete the files for the programs that should no longer be personalized.
What are the main steps in creating personalization? __________________________________________________________ __________________________________________________________ __________________________________________________________ __________________________________________________________
What is important to think about when analyzing the personalization needed? _________________________________________________________ _________________________________________________________ _________________________________________________________ _________________________________________________________ _________________________________________________________ _________________________________________________________
situation and take action to prevent possible planning shortages. Click Close to return to (OIS301). Summary You have now learned how to create hyperlinks. Give an example of when you would use a hyperlink: _________________________________________________________ _________________________________________________________
Copyright Lawson
10. If you create conditional styling that exchanges the original values with other descriptions, it is recommended that you show the original value as a tooltip. Click the checkbox 'Show original value as tooltip'. 11. The rule is that, when the value of the status field is equal to 33, the text 'allocated' will be displayed in the list view. To make the status more visible, add a color to the style. Click the cell color drop down menu. 12. Select among the available colors and click, for example, the yellow color. 13. In addition, it is possible to change the text color and the text style, but this time stay with black text and normal font. Click Next to save the formatting. 14. In the last panel of creating the conditional style, enter a description for the style and select to activate it. The condition and a preview are displayed. Type 'Status 33' in the Description field. 15. When everything is ready, click the Finish button to complete the creation of the conditional style. 16. The new style is displayed in the list of existing conditional styles. Click Close. 17. In (OIS301) enter a search of 20-33 as Status and click Apply. 18. Look at the column status column. Instead of 33, the value is now Allocated. To make the information consistent, it would be proper to enter rules for all the other status codes in the same way. In the list view the status code 33 has now been exchanged by the text allocated. The question you would have to consider, then, is if each single value (33, 34, etc.) should have a text on its own or if all statuses starting with 3 should have the text Allocated. It is important that the view is not misleading after the styling is done, so be careful when doing these types of changes. Next step is to create a new style that distinguishes the lines that have a quantity that remains to be allocated. 1. Select the Tools menu and the menu option Personalize/Create Conditional Styles. 2. Click New to create a style. 3. As the purpose is to distinguish all unallocated lines with red color, the field for status should be selected again. 4. Click 'His (ORST)'. 5. The Condition has to be changed because this rule cannot use the 'Equal to' as there is more than one status value for unallocated lines. There are several possible Conditions that could be applicable in this case, for example: o < (Less than) 30 o <= (Less than or Equal to) 29 o Starts with 2
6. Select '<= (Less than or Equal to)'. Click the field Value and type 29 in the field. 7. Click Next. 8. In the Work with Formatting window, change the Cell color to red (browse and pick among available colors). 9. Mark the field Enable style for entire row. 10. Click Next. 11. In the Finalize and Preview Style window, type Unallocated in the Description field. 12. Click Finish. 13. The new rule is displayed in the Create Conditional Styles window. Click Close. 14. In (OIS301,) enter a search of 20-33 as Lowest status and click Apply. 15. Note that the lines with a status less than 30 are red. Summary You have now learned how to create conditional styles. Give an example of when you would use conditional styling: _________________________________________________________ _________________________________________________________ _________________________________________________________
Copyright Lawson
options. The available options are of three categories; Function keys, List options, and Headings. Select Heading. 4. Below, an input field for the Heading opens up. Type Main Activities. 5. Click the > button. The Heading Main Activities has been added to the Selected options list. 6. Change the category to List options. 7. The first shortcut should be to 'Allocation. Perform Detailed' (MMS121). Select Allocation (15) and click the > button. 8. The Selected options list now has the header 'Main Activities' and one shortcut 'Allocation (15)'. Now add a shortcut to CO Delivery. Display Lines' (OIS356). 9. Select 'Dely lines' (33) and click the > button. 10. The last Main Activity shortcut in this example is 'Customer Order. Reschedule' (OIS130). 11. Select 'Reschedule (41)' and click the > button. 12. The first heading, 'Main Activities,' now has the related options for Allocation, Delivery lines, and Reschedule. Now create the heading 'Supporting activities' with the related options Delivery Toolbox and Supply Chain. Start by adding another heading for the Supporting activities. Click the 'Available options' dropdown menu. 13. Select Heading. 14. Type in 'Supporting Activities' as the heading and click the > button. 15. Below this new heading, another two shortcuts should be added so change the 'Available options' to 'List options'. 16. The first shortcut should be to 'Delivery. Open Toolbox' (MWS410). Select 'Delivery Toolbox (43)' and click the > button. 17. The second shortcut should be to 'Active Supply Chain. Display' (MWS150), list option 'Supply Chain (45)'. 18. Now both headings and all shortcuts have been added to the Selected options list. To make the list easier to read, add a separator line before the second heading. At the top of the list of list options you find <Separator>. Add this to the selected options. 19. The Separator is added to the end of the list, but it needs to be moved up above the Supporting Activities heading. Click the Move Up button until the Separator is in the correct position. 20. Click Save to return to the Customer Order Toolbox. 21. View the result of the personalization in the toolbox area. The two headings with the different shortcuts are displayed. The separator makes the grouping of the shortcuts more obvious. 22. Test the shortcuts by marking a line and then clicking the applicable shortcut.
Summary You have now learned how to create shortcuts. Give an example of when you would use shortcuts: _________________________________________________________ _________________________________________________________
Copyright Lawson
15. Back in the G panel, the curser is placed in the 'Customer order number' field since that had tab order number 1. Type in a number. 16. To move to the 'Your reference field,' use the tab key. 17. In the 'Your ref 1' field, enter the name of the reference person at the customer. 18. The necessary information has been entered. Click Next to proceed in the customer order flow. Summary You have now learned how to edit the tab order. Give an example of when you would edit the tab order: _________________________________________________________ _________________________________________________________
Copyright Lawson
Summary You have now learned how to hide fields. Give an example of when you would hide fields: __________________________________________________________ __________________________________________________________
Summary You have now learned how to use a personalized script. By passing program, label, and position as parameters, you can use the same script for any program anywhere on any panel. Give an example of when you use personalized scripts: _________________________________________________________ _________________________________________________________ _________________________________________________________
Copyright Lawson
5.2 Favorites
The field Favorites is a tool that enables saving a list of the most commonly used values for a field. Favorites can be used both on fields with predefined values and text fields. Workflow In this scenario, the task is to enable favorites for Your reference field on a customer order. This can be very useful if your customer has a couple of different contact persons that place the orders. Steps 1. Start the program Customer Order. Open (OIS100). 2. In F13=settings, set the panel sequence to G5, opening panel to A, and order type to 100. 3. In (OIS100/A), create a customer order for customer 70007. 4. Enter tomorrows date as the Requested delivery date and select Next. 5. In the (OIS100/G) panel, the reference information is entered.
2. Smart Client Advanced_Workbook_1.0.doc Page 20 of 28
Copyright Lawson
6. Right click on the 'Your ref 1' field. 7. Click Personalize. 8. Click 'Enable Favorites.' 9. Enter the name of the reference person for this order, for example, 'Tom Smith.' 10. When the field favorites tool is enabled, this field will remember the text entered so that it can be reused on other orders. Click Next. 11. Work with Customer Order. Open Line (OIS101). 12. Enter 174 as the Whs. 13. Enter 702010 as the Item and enter 1 as the Order qty and select Add. 14. The customer order is ready. Click Close. This order is ready for the rest of the order flow. Now, return to OIS100/A and create a new order. 1. In (OIS100/A), create another customer order for customer 70007. 2. In panel G, the system will recognize the name you used last time when you start typing it. Type T in the 'Your ref 1' field. 3. As soon as you start typing the name, the favorites list is displayed and it is possible to select a name from the list. 4. Select 'Tom Smith'. The name has been entered in the field much quicker than if you had to type the entire name. If Tom was the only reference person for this customer, you would enter his name in the customer master, but if there are a number of different contacts, this can be very time saving. When using other values in this field, they are also added to the list. There is a built in logic in the list that is a combination of latest and most commonly used values at the top of the list. The list can hold up to seven different values. 5. Change the reference person on the order to another name a couple of times until you have a little list to test how this works. Summary You have now learned how to enable field favorites. Give an example of when to use favorites: _________________________________________________________ _________________________________________________________
Copyright Lawson
Summary You have now seen an example of how personalization can be used to improve ordinary M3 toolbox views. Give an example of how personalization can be used in toolboxes: _________________________________________________________ _________________________________________________________ _________________________________________________________ _________________________________________________________ _________________________________________________________ _________________________________________________________
Copyright Lawson
Refer to the following: Learning Accelerator TryMe Google Lookup. Summary You have now seen an example of how personalized scripts can be linked to an M3 panel. Give some example of how personalized scripts can be used: __________________________________________________________ __________________________________________________________ __________________________________________________________ __________________________________________________________ __________________________________________________________ __________________________________________________________ __________________________________________________________ __________________________________________________________
Script examples Below, find some examples of what our solution design people have used scripts for: > Google Search Checks the value of a field in a panel and googles on that value (for example, customer name). > Show image In MMS001/B, checks the ITNO value and shows a picture at the right of the list in the B panel. > Google maps In one demo, they made sure that all equipment in (MOS272) had a GPA position. When a user clicked the equipment (MOS272), the location was displayed on a map.
2. Smart Client Advanced_Workbook_1.0.doc Page 24 of 28
Copyright Lawson
> Attach Document Checks the value of a field in the E panel (for example, customer order number) and checks if there are any documents attached. Click a button to view the document. > Start URL Adds a button that starts an external URL (for example, http://www.lawson.com). > Start IBrix Add a button that starts an Ibrix.
Organizing Favorites Once you have saved your Favorites when working in Smart Client, you quickly realize that the programs you have saved are in a fixed order and they cannot be changed. In order to change the order that these program calls appear, you have to work with the Favorites.lfv files which is usually found in your documents folder. This file is created when you export your Favorites. Open the file using Notepad and then edit the text to create the program order you desire. For example: <folder Name="Customer Order Management" UTCTime="04/06/2007 15:59:49" CanLaunch="False" UniqueID="mango://flr41021858-d80d-4da5-a42e-49644f5fd8b5/"> <task>mforms://ois100/</task> <task>mforms://ois301/</task> <task>mforms://crs610/</task> <task>mforms://ois300/</task> <task>mforms://ois017/</task> <task>mforms://ois325/</task> </folder>
This becomes: <folder Name="Customer Order Management" UTCTime="04/06/2007 15:59:49" CanLaunch="False" UniqueID="mango://flr41021858-d80d-4da5-a42e-49644f5fd8b5/"> <task>mforms://ois325/</task> <task>mforms://ois301/</task> <task>mforms://crs610/</task> <task>mforms://ois300/</task> <task>mforms://ois017/</task>
2. Smart Client Advanced_Workbook_1.0.doc Page 25 of 28
Copyright Lawson
<task>mforms://ois100/</task> </folder> It is also possible to include whole sections under a heading so that your Favorite sections are also in the order you require. Note1 : The syntax is very important Note 2: It is sensible to create a copy of your original Favorites.lfv file prior to modification so that you can revert back to it if things go wrong. You must also clear the Favorites out of Smart Client before importing the new settings. An alternative: The exported file that the Smart Client widget produces (Favorites.lfv) is actually an xml file. Therefore, renaming the file temporarily to .xml extension and using an xml editor allows much easier editing and repositioning of the items within the code structure. Just remember to rename your edited xml content back to .lfv to allow import into the Widget.
6 Review
6.1 Test
Please answer the questions below to review your understanding. To be able to personalize Smart Client, you need an add-on tool to M3. True False On which three levels is it possible to have personalization? User User group Role Globally What is important to consider when creating personalization (two correct answers)? To create the personalization with the correct user. What role is going to use the personalization? That it is only possible to use one type of personalization in a panel. How to combine standard M3 with the personalization. If you would like to highlight an issue in a list view, what type of personalization would you use? Conditional styling Edit labels Hyperlink Shortcuts If you have a related option that you use often, what two types of personalization could help you? Conditional styling Edit labels Hyperlink Shortcuts If you use terminology other than standard M3, what type of personalization would you use? Conditional styling
Copyright Lawson
Edit labels Hyperlink Shortcuts What formatting is available in the conditional styling (three correct answers)? Change field value to text Set color on a cell Add an icon Change a label If there are a lot of fields on a panel that you do not use and you feel that the panel is cluttered, what type of personalization would you use? Conditional Styles Edit Labels Edit Tab Order Show/Hide Fields If you configure the user settings in one M3 program, the settings are valid for that program only. True False