How do I import CSV file to be used in Rex plugin CSVTOARRAY

0 favourites
  • 7 posts
From the Asset Store
Convert multiple Excel files into JSON files and import them into construct3.
  • I want to import a csv file that I created to be used in the plugin CSVTOARRAY, this file is currently in the Files folder in my project.

  • I'm not sure if you can directly use the name of the file, but if you can't you can request it with ajax and use ajax.lastdata..

    for more information have a look at the manual for ajax and project-files..

  • LittleStain I tried the ajax option but the problem is that the project snap

    can you check the screenshot to see if I am using the ajax correctly

    "https://drive.google.com/drive/folders/0B1pGW-xaP8VfMXVpRWZPZVo2Y0U"

  • LittleStain I tried the ajax option but the problem is that the project snap

    can you check the screenshot to see if I am using the ajax correctly

    "https://drive.google.com/drive/folders/0B1pGW-xaP8VfMXVpRWZPZVo2Y0U"

    If you could give a link that I can open, I could take a look..

    This link can't be opened..

  • oh sorry here is the link "https://drive.google.com/open?id=0B1pGW-xaP8VfN3p6cUpFY2RzdE0"

  • Well yeah, that will not work..

    How to make a request:

    The basic usage of the AJAX object consists of:

    • Use the Request action to load a URL.
    • A moment later after the request completes, On completed triggers.
    • The LastData expression can be used to access the content of the response.

    There's an event "Ajax on completed", which will trigger when the request is completed..

    Before the request is completed, you won't be able to use the ajax.lastdata..

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • LittleStain Thank you so much, helped a lot

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)