Start a new topic
Answered

Force a collection to refresh

Is there a way to force a collection to get refreshed after an action is taken. We change statuses in the background depending on a user action by submitting a change to the SA tables, which then updates the golden record.


We would like to be able to get the collection view to then auto refresh once that change is completed in the job


Best Answer

Hello Gavin, a wait dialog has been implemented and is available for configuration since 2023.3.0. See https://www.semarchy.com/doc/semarchy-xdm/xdm/2023.3/Install/release-notes/2023.3.html#_wait_dialog_and_automatic_refresh for the releases notes notice.


I hope this helps.

Stéphanie.


Hello Gavin


Unfortunately, there is no way to do auto refresh you can either refresh the UI or browser

Answer

Hello Gavin, a wait dialog has been implemented and is available for configuration since 2023.3.0. See https://www.semarchy.com/doc/semarchy-xdm/xdm/2023.3/Install/release-notes/2023.3.html#_wait_dialog_and_automatic_refresh for the releases notes notice.


I hope this helps.

Stéphanie.

Sure - 

1. Top field:

 

'<h2>Change Summary</h2>'

 

Notes:

 

'<!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8">

  <title>Form Action Options</title>

  <style>

    body {

      font-family: Arial, sans-serif;

      margin: 40px;

      color: #333;

      /* background-color removed so no grey outer box */

    }

    .note {

      background-color: #fff9c4; /* pale yellow sticky note */

      border: 1px solid #f0e68c;

      border-radius: 8px;

      padding: 20px;

      max-width: 650px;

      box-shadow: 3px 3px 10px rgba(0,0,0,0.15);

    }

    .note h3 {

      margin-top: 0;

      font-size: 20px;

      font-weight: bold;

      text-transform: uppercase;

    }

    .note ul {

      margin-top: 12px;

      padding-left: 20px;

    }

    .note li {

      margin-bottom: 14px;

    }

    .note strong {

      font-weight: bold;

      font-size: 16px;

      color: #000;

    }

    .note em {

      color: #555;

    }

  </style>

</head>

<body>

  <div class="note">

    <h3>Note</h3>

    <p>The following options are available in the bottom‑right corner:</p>

    <ul>

      <li>

        <strong>Claim Ticket</strong><br>

        Assigns the ticket #' || RequestNumber || ' to your user account.

      </li>

      <li>

        <strong>Save for Later</strong><br>

        Saves your progress. You can resume work on this form by navigating to 

        <em>My Tasks &gt; In Progress &gt; Claim Ticket &gt; Select the ticket &gt; Resume</em>.

      </li>

      <li>

        <strong>Release</strong><br>

        Releases the form so that no reviewer is assigned.

      </li>

    </ul>

  </div>

</body>

</html>

'

 

2. Second code (Notes):

Since we concatenated an attribute, SemQL is used.


3. Value consistency:

The value remains exactly the same across all scenarios.

Login to post a comment