Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open Navigation Result in the Page Builder
  2. Click on navNew and click on Properties
    1. Into the Callback Action Text tab add: EcxPageNav.Util.openManagedPage(null, navDetailFromNew); after the second line, for the final result of

      Code Block
      window.__newRecordId = args['Id'];
      window.__newRecordName = args['FirstName'];
      EcxPageNav.Util.openManagedPage(null, navDetailFromNew);
      grdResult.getStore().reload();
    2. Click Save
  3. Add a Page Action called navDetail
    1. Click on Properties
    2. Set its Data Source to Navigation Detail
    3. Set the store adapter to storeResult[List]
    4. Set the Column of Id to Id
    5. Add a parameter called BaseName and set its value to Client
    6. Add a RecordName and set its Column to FirstName
    7. Set its Callback Action Text to: grdResult.getStore().reload();
    8. Click Save
  4. Add a Script Action called openDetailPage
    1. Into Script Action Text add: EcxPageNav.Util.openManagedPage(arguments[0].record, navDetail);
    2. Set its store adapter to storeResult[List]
    3. Add an argument called allArgs and set its column to Id
    4. Click Save
  5. Add a Page Action called navDetailFromNew
    1. Set Data Source to Navigation Detail
    2. Set the value of Id to @window.__newRecordId@
    3. Add a parameter called BaseName and set its value to Client
    4. Add a parameter called RecordName and set its value to @window.__newRecordName@
    5. Image RemovedImage Added
    6. Set its Callback Action Text to grdResult.getStore().reload();
    7. Click Save
  6. Add a Script Action called scriptDeleteRecord
    1. Click on Properties
    2. Set its Script Action Text to EcxPageNav.Util.recordDelete(arguments[0].record);
    3. Set its store adapter to storeResult[Delete]
    4. Add an argument called allArgs with column set to Id
    5. Click Save

...