Inserting the Data Store component

OS info

  • Operating System : Windows 10.0.19041
  • Wappler Version : 3.4.0

Problem description

WHen i want to add a datastore, it does not appear in app structure.
In code, the line with script is added but nothing else in the code.

Something in my code should be incorrect because if i do this in a new empty page then it works.

Steps to reproduce

  1. open the php file.
  2. Add a datastore
  3. datastore does not appear

report_2020-9-19_20-6-58.zip (224.8 KB)

Where exactly and how did you add the data store? What was selected?

I click on App, then + then i select Data and then Datastore
In the video, datastore appears if i refresh (not alway the case). but if i click on it nothing appears in the code section.
2020-10-19_20-18-15

But it’s not visible from your video/screenshot - is the data store component added in the code or not? Is it probably just an UI issue?

What if you try to insert it behind a different component than App?

This is because you app is your head tag as you choose to have app connect on page level

It is not added in the code.
The only thing added is this line:
<script src="dmxAppConnect/dmxDatastore/dmxDatastore.js" defer=""></script>

@George, thank’s, you are rigth, i had to insert it after “menu_array” declaration to make it work.

I already had this kind of issue with some other component, but i never understood how i fixed the issue. Maybe by the same trick.

I’m not shure to understand your explanation, what is the real problem ?

Will see if we can improve that

I just checked and when the App root node is selected and I try to insert data store or any other component, it actually always works fine …

Maybe there is something else wrong with your page?

Could you try to reproduce the problem on a new page?

If you could also reproduce the problem and attach the debug log. See: