skoleva
4 years agoIdeator I
Refreshing of Main Search Grid after creating a new revision
Hello,
Is there a way to refresh the Main Search Grid after creating a new revision of an Item?
I have an action 'Create New Revision' which has a method On Complete which refreshes the Item. For...
- 4 years ago
I found a workaround. Not sure if this is the right way to do it but it works for now [emoticon:c4563cd7d5574777a71c318021cbbcc8] Here is the code that I'm using now:
[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:650be1a9-3895-4c92-a44e-6a569c0722ce:type=javascript&text=const%20topWindow%20%3D%20aras.getMostTopWindowWithAras%28window%29%3B%20%0D%0Aif%20%28topWindow.work%20%26%26%20topWindow.work.grid%29%20%0D%0A%7B%0D%0A%20%20%20%20main.work.searchContainer.runSearch%28%29%3B%0D%0A%7D%0D%0Aelse%0D%0A%7B%0D%0A%20%20%20%20parent.onRefresh%28%29%3B%0D%0A%7D]Actually, the 'if' is taken from one of your projects, Angela [emoticon:c4563cd7d5574777a71c318021cbbcc8]