CLICK Documentation

CLICK Documentation

Videos Available

Note that all of these topics are available in videos on YouTube.

  1. Install and Run

  2. User Interface Overview Part 1

  3. User Interface Overview Part 2

  4. Excel Documentation

  5. Other Features & Wrap Up

Table of Contents

CLICK in a Nutshell

CLICK is a tool available to AgGateway members that helps business analysts and developers comprehend and implement AgGateway Open Standards.

Getting Started with CLICK

Download

  1. Log in at http://www.aggateway.org.

  2. In the menu, select eConnectivity | eConnectivity Tools |CLICK. (This may change in the future as AgGateway improves the structure of its website.)

  3. Click on the download link.

Install

  1. Go to your download folder.

  2. Right click on the zip file.

  3. Choose properties.

  4. Check the Unblock checkbox if you see one.

  5. Click OK.

  6. Right click on the download file.

  7. Choose Extract All.

  8. Choose a folder to which you would like the files extracted (e.g., Documents folder).

  9. Once the files are extracted, go to that folder.

Run

  1. Double click on the CLICK folder.

  2. Double-click on CLICK.exe to launch the application.

Create a Desktop Shortcut (optional)

  1. Right click on CLICK.exe.

  2. Choose Send To from the pop-up menu.

  3. Choose Desktop (create shortcut).

  4. Go to desktop.

  5. Double-click the shortcut to launch CLICK.

User Interface Overview

  1. In the top-right is CLICK version 3.1.0.0. Your version is likely to be a later version.

  2. Next is the standard and version dropdown list.

  3. CLICK supports AgGateway Open Standards going back to version 4, OAGi Chem eStandards going back to version 4, and AgXML version 4.

  4. Next is the Context dropdown list.

  5. Over the years, AgGateway has collected notes on implementing standards in various contexts, e.g., crop protection for Canada, seed and feed for the United States.

  6. Next is the Open New Window button, which will be addressed later in this documentation.

  7. In the Search section, you can search by All Elements in the standard, or by Messages Only.

    REPLACE

  8. Choose Messages Only.

  9. In the search box, type order.

  10. Note that the search results include any message with order in its name, which includesOrderChange where Order begins the message name and RetailerOrderSummaryReport where Order occurs in the middle of the name.

  11. Click on one of the search results and note that the structure is shown in the treeview in the center.

  12. Next, search All Elements.

  13. Search for product.

  14. As you may expect, there is a large number of search results. There are so many, that it exceeds the current supported number of search results displayed.

  15. You may need to narrow your search to find the results you seek.

  16. Search ordercreate.

  17. As it appears in the search results, click on it so that its structure appears in the main tree view.

  18. As you click on the disclosure triangles, the structure unfolds.

  19. As you click on various items, in this case ProductIdentifier, content on the right is filled in for that selected item.

  20. For ProductIdentifier, we see the definition: The unique code or number for a specific product.

  21. We see Notes, which includes synonyms.

  22. We see a list of Parent Elements.

  23. We see a list of Messages in which ProductIdentifier appears.

  24. When you click on Agency, there is no information to the right. However, there is a code list which includes AGIIS-ProductID, ANSI, AssignedByBuyer, and others.

  25. There are a number of visual cues in CLICK.

  26. Items that are in bold indicate required, which is supported by the occurrence listed after the item.

  27. For example, Header indicates 1..1, which means a header is required. One is required and only one is permitted.

  28. Moving down to OrderCreateProductLineItem, it indicates 1..*, which indicates that one is required but many may occur.

  29. There are also icons to the left of the text, that give some indication of whether or not an element has structure, or whether it is just a value and whether or not an item may occur many times.

  30. The icon next to OrderCreateProductLineItem is a structure icon with a plus sign on it, which indicates that there can be more than one. That visual cue is complemented supported by the text that follows, 1..*.

  31. Consider ShipNotice.

  32. Choose the USA | Feed context.

  33. Choose ShipNoticeStatus.

  34. Hide Parent Elements and Messages to provide more room and resize the Notes section.

  35. You then will see that there is a Context Note.

  36. The notes indicate that when you implement ShipNotice in the context of a feed related process in the United States, that this note applies.

  37. It says, "In this context [USA | Feed] the elements use is conditional [i.e., depends on the situation]. If a ShipNotice is updated, then send Update as the status otherwise would not use this on an original ShipNotice."

  38. Notice that when you click on ShipNoticeStatus in the Search Results, which brings ShipNoticeStatus to the top, the context notes go away. This is a very important point because context notes require a drill-down starting at the root of a message.

  39. Click on ShipNotice in the Messages section to go back to the top.

  40. Switch back to OrderCreate.

  41. Drill down to ScheduleDateTimeInformation under the OrderCreateProductLineItem.

  42. Examine DateTimeInformation. Notice that it is composed of a choice. An implementer would choose DateTime, or DateTimeRange as required.

  43. CLICK indicates this by having a Choose... item in the treeview with enclosed options.

  44. Notice that when you hover the mouse over DateTimeRange, a tool tip appears.

  45. In this case it says "Structure for ranges of date/time information. All DateTime elements need to conform to ISO 8601."

  46. Next, examine ContractProductLineItem.

  47. Note that a child of ContractProductLineItem is itself, ContractProductLineItem. If you drill down on that you see another ContractProductLineItem.

  48. This is recursive. CLICK allows you to keep drilling down as far as you want.

  49. As we'll see later, when we produce Excel documentation, that situation is addressed by just including the first occurrence and just adding the word recursive in parenthesis afterwards.

  50. Another CLICK feature, is to right-click on an element and choose Hoist from the context menu.

  51. Doing so hoists the selected element to the top and that makes it the root of the displayed tree.

  52. Another handy feature is Open New Window. Click on Open New Window.

  53. Doing so creates a new window.

  54. Set the windows side by side and hide various panels.

  55. In the left panel, choose AgGateway Open Standards Version 4.0.0.

  56. Search for Partner Information again.

  57. You'll notice that in Version 4, UnloadingPoint and LoadingPoint are just text.

  58. In Version 5.3, they are structures.

  59. A final feature to note is that you can navigate by using the arrow keys. Click on an item in the tree view, and the up and down arrow keys go up and down. The right-left arrow keys will expand or collapse structures.