• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Tile widget performance in NAB

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tile widget performance in NAB

    Hi,
    Working with the tile widget in the NAB is very slow, because its trying to load all the data. Is there a way to speed this up? In the app only 1 record is selected and the performance is alright.
    Regards,
    Theo

  • #2
    Hi Theo,

    You can cache your data source so it doesn't have to run each time while designing widgets etc while in Nitro App Builder "Designer". Please see the attached image.

    NAB DS Cache.png

    Thanks

    Comment


    • #3
      Hi Theo -

      Maybe try to cache the data source. This option is available when you click the left side menu against a data source.

      Comment


      • #4
        Thanks for your quick replies.
        That actually made it worse.
        I do not get in the Edit widget anymore.

        Just to be complete:

        I have some html code in the tile widget. I needed more layout functionality than available in the form widget. Thats why I use the tile widget in combination with html.

        I removed the cache, now I can edit the widget again. (with poor performance)

        Comment


        • #5
          The html code:


          <table class="blueTable" style="width: 100%">
          <colgroup>
          <col span="1" style="width: 35%;"/>
          <col span="1" style="width: 65%;"/>
          </colgroup>
          <!-- Put <thead>, <tbody>, and <tr>'s here! -->
          <tbody>

          <tr><td colspan="2"><strong>Details</strong></td></tr>
          <tr><td>Article number</td><td>{ARTICLE_NUMBER}</td></tr>
          <tr><td>Brand</td><td>{BRAND}</td></tr>
          <tr><td>Description</td><td>{ARTICLE_DESCRIPTION}</td></tr>
          <tr><td>Search code</td><td>{SEARCH_CODE}</td></tr>
          <tr><td>Duty percentage</td><td>{DUTY_PERCENTAGE}</td></tr>
          <tr><td>Statistics code</td><td>{STATISTICS_CODE}</td></tr>
          <tr><td>EAN code</td><td>{EAN_CODE}</td></tr>
          <tr><td>Country of origin</td><td>{COUNTRY_OF_ORIGIN}</td></tr>
          <tr><td colspan="2">&nbsp;</td></tr>
          <tr><td colspan="2"><strong>Packaging</strong></td></tr>
          <tr><td>Units in master</td><td>{UNITS_IN_MASTER}</td></tr>
          <tr><td colspan="2">&nbsp;</td></tr>
          <tr><td colspan="2">
          <table class="blueTable" style="width: 100%">
          <colgroup>
          <col span="1" style="width: 35%;"/>
          <col span="1" style="width: 30%;"/>
          <col span="1" style="width: 35%;"/>
          </colgroup>
          <tbody>
          <tr><th>Dimensions</th><th>Unit</th><th>Master</th></tr>
          <tr><td>Lenght in cm</td><td>{LENGHT}</td><td>{MASTERLENGHT}</td></tr>
          <tr><td>Width in cm</td><td>{WIDTH}</td><td>{MASTERWIDTH}</td></tr>
          <tr><td>Height in cm</td><td>{HEIGHT}</td><td>{MASTERHEIGHT}</td></tr>
          <tr><td>Bruto weight in kg</td><td>{UNIT_BRUTO_WEIGHT}</td><td>{BRUTO_WEIGHT}</td></tr>
          <tr><td>Netto weight in kg</td><td></td><td>{NETTO_WEIGHT}</td></tr>
          <tr><td>Volume in M&sup3;</td><td>{UNIT_VOLUME}</td><td>{MASTER_VOLUME}</td></tr>
          </tbody>
          </table>
          </td></tr>
          </tbody>
          </table>

          Comment


          • #6
            Hi Theo,

            Would you be available to show us the issue you encountered after caching the data source? If so, could you just send us an email at support@cnxcorp.com and we will schedule a time.

            Comment

            Working...
            X