Create buttons to trigger data generation and export

Create buttons that trigger custom NetLogic methods.
  1. Create the export button:
    1. In
      Project view
      , right-click
      MainWindow (type)
      and select
      New
      Base controls
      Button
      .
    2. Hover-over the button, select
      Edit
      , and enter
      ExportButton
      .
  2. Configure the export button:
    1. In
      Properties
      , set
      Text
      to
      Export Data
      .
    2. In
      Events
      , next to
      MouseClick event
      , select
      Add
      and select
      ProjectName
      NetLogic
      ExportTableData
      ExportCSV
      .
    3. Create a dynamic link between
      tableNodeId
      and
      ProjectName
      DataStores
      Store1
      Tables
      Table1
      .
      For more information about dynamic links, see Create dynamic links.
  3. Create the generate data button:
    1. In
      Project view
      , right-click
      MainWindow (type)
      and select
      New
      Base controls
      Button
      .
    2. Hover-over the button, select
      Edit
      , and enter
      GenerateDataButton
      .
  4. Configure the generate data button:
    1. In
      Properties
      , set
      Text
      to
      Generate Data
      .
    2. In
      Events
      , next to
      MouseClick event
      , select
      Add
      and select
      ProjectName
      DataStores
      Store1
      GenerateRandomData
      InsertRandomValues
      .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.