Skip to main content

Creating a custom column in Job Monitor for IBM Datacap Taskmaster Capture


Technote (FAQ)


Question

How to create a custom column in the Taskmaster Client Job Monitor.

Answer

To add a column:

  1. In the tmBatch table in the Taskmaster engine database, add a column, giving it the desired name preceded with pb_ (ex: pb_MyColumn).
  2. Save the table.
  3. For SQL only, also do the following:
    1. Open the JMView view for design.
    2. Delete each item appearing in the 'Alias' column.
    3. Press the ! (exclamation mark) icon.
    4. Save the view.
    5. Open the JobMonitor view for design.
    6. Press the ! (exclamation mark) icon.
    7. Save the view.
  4. Restart Taskmaster Server.
  5. To populate this field with dynamic content, scripting is required.
    • If using a Batch Pilot form, the following command is used.
      pilot.XtraBatchFieldValue("pb_MyColumn") = "my value"
    • If using a Rulerunner action, the pilot.XtraBatchFieldValue parameter must be uppercase. For example:
      sValue = pilot.XtraBatchFieldValue("PB_MYCOLUMN")
    • The value passed to the property must be valid for the database field. That is, it cannot exceed the maximum number of characters that can be held in the database field or contain characters not valid for that field type.

Rate this page:

(0 users)Average rating

Copyright and trademark information

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 www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Datacap Taskmaster Capture


Software version:
7.6, 8.0.0, 8.0.1


Operating system(s):
Windows


Reference #:
1500306


Modified date:
2012-04-09

Translate my page

Content navigation