How to Include LOBTools changes with new Widget

If you are creating a new widget, please remember to make the appropriate LOBTools changes as well. Without these the business cannot manage the pages from Commerce Composer.

You can generate LOBTools files using JET, below is the sample file to generate the lobtools files using JET.

<pageLayout vendor="Vendor name" targetFolder="NewWidgetProject">
  <widget>
    <widgetDef identifier="Identifier_of_Widget"  
     UIObjectName="ObjectNameOfWidget" 
     displayName="Display Name Of Widget" 
     description="This widget is to display some section"
     widgetDisplayGroups="AnyPage,SearchPage" 
     widgetRestrictionGroups="AnyPage,SearchPage" >
    </widgetDef>
    </widget>
</pageLayout>

JET Transformation generates a set of file directories and files that you can use to help create your custom widget. The generated file directories contain three main folders directly under your project folder. The three folders represent the three WebSphere Commerce components and tools that you must use or customize to create your widget:

  • Management Center – LOBTools
  • Storefront – Stores
  • Data Load utility – DataLoad.

The Data Load utility files include the configuration and CSV input files that you must use to register your widget and have a store subscribe to your widget. Using generated LOBTools folder you can update/create files accordingly in the LOBTools folder.

Leave a Reply