Forum Discussion

quyenth's avatar
quyenth
Ideator I
5 years ago
Solved

Have any document about aras javascript object?

Hi,

 I want to work with some object as Form, Tab, Grid, add or remove items in grid ... of aras using javascript. Where can i find documents or have any way to start investigate?

Thanks,

QuyenTH

  • Hi QuyenTH,

    I would recommend taking a look at the blogs on this site. Aras Labs has multiple blogs on working with forms and grids using JavaScript.

    On top of that, within innovator there is a Javascript API reference which can get you started. It can be found here:

    AJ

2 Replies

  • Hi QuyenTH,

    I would recommend taking a look at the blogs on this site. Aras Labs has multiple blogs on working with forms and grids using JavaScript.

    On top of that, within innovator there is a Javascript API reference which can get you started. It can be found here:

    AJ

    • quyenth's avatar
      quyenth
      Ideator I

      Hi asebastian

      I don't really understand how to use Javascript API document. 

      I see the default search method has bellow function:

      const searchMode = window.currentSearchMode;
      if (searchMode.setPageNumber(1)) {
              pagination.showMoreButton();
              searchMode.removeCacheItem('itemmax');
              searchMode.removeCacheItem('pagemax');
              searchMode.removeCacheItem('itemsWithNoAccessCount');
              searchMode.removeCacheItem('criteriesHash');
              if (window.searchContainer) {
              window.searchContainer.runSearch();
              }
      }
      if (window.refreshGridSize) {
              window.refreshGridSize();
      }
      Where can I know about some objects as [currentSearchMode or parent, top ...]?
      Thanks.