The retrieved material does not provide enough reliable documentation to explain why your specific tablePane setup is not updating, and the closest items are community discussions rather than authoritative guidance for this exact pattern. [1][2][3][4][5]
What the retrieved examples do show is:
- A
tablePanecan be refreshed from client-side JavaScript by getting the component and callingexecuteQuery(). [2][3][4][5] - In one example using
OnCreateResultSet, the server-side code reads parameters frompInfo.parms(...), and the example explicitly adjustspInfo.parmsso that the executed query uses the intended parameter list. [2][3] - In another case, inconsistent refresh behavior was caused by timing/synchronization: the second table refreshed before the server-side work that populated its data had completed. The workaround shown was to force the server call to complete before refreshing the table. [4][5]
Important: Reduce to only the parameters specified/used. Kill pInfo.parms Merge pInfo.parms = parameters [2][3]
Based on the retrieved material alone, the most relevant things for you to verify are:
- Confirm that
resultsTable.executeQuery()is actually the supported refresh mechanism in your page flow, since that is the pattern shown in the examples. [2][3][4][5] - Check whether your table’s query invocation expects parameters in the same way as the documented
OnCreateResultSet/QueryInfo.parmspattern, because the retrieved material does not document that assigningtable.parameters = params;is valid for yourqueryClass/queryNamesetup. [2][3] - Check for timing issues if any server-side work must complete before the refresh, since one retrieved example showed stale data when the refresh happened too early. [4][5]
Because the returned documents do not directly document how %ZEN.Component.tablePane with queryClass/queryName should receive named parameters from JavaScript in the way your code is doing, I can’t give you a more specific fix without going beyond the provided sources. [1][2][3]
Sources:
- Log in to post comments