Dynamic dataset for a regular page?

are dynamic datasets only meant for dynamic pages?

YES .

Dynamic-Datasets would not exist, if there wouldn’t be any difference between ordinary ones and dynamic ones.

Ordinary ones are able to show you the whole data of your DATABASE.
Dynamic ones will give you back always just ONE-ITEM, only.

Also you will recognize some outgreyed DATABSE-FIELDS inside of your database, after you have turned your normal page into a dynamic one.

This outgreyed fields will represent your dynamic pages (working like a link to one of the dynamic pages (dynamic items) → conclusion dynamic dataset.

Getting the current item on a dynamic page will always gives you back as result the current item on each of selected dynamic pages.

Getting current item on an ordinary page without getting a specific ID of an item, it will always return you one and the same item (as i can remember → always the first one, or was it always the last one?) test it.

Before the ordinary dataset can give you back a real result, you will have to tell which one of the items you want to get exactly…

Example:

$w("#myDataset").getItems(3, 2)
  .then( (result) => {
    let items = result.items;
    let totalCount = result.totalCount;
    let offset = result.offset;
  } )
  .catch( (err) => {
    let errMsg = err.message;
    let errCode = err.code;
  } );  

Or you have to use an elements like …

  1. repeater
  2. table
  3. …or any other element to determine which item is the current one at the moment, only then you are able to use → “getCurrentItem()” on an ordinary dataset.

So you recognize now the difference?

Question!
What does represent a → loaded dynamic-page <— regarding your database?