Update JSON file without deleting the associated AJAX action

Get help using Construct 2

Post » Sun Jul 12, 2015 4:46 pm

Hi,

I am populating an array via a JSON project file. It all works fine. However, if I want to change the data in the file I have to re-import it which automatically deletes the associated AJAX "request file" action. There must be a way to easily edit these files without having to re-insert the deleted action every time, any clues?

Thanks.
B
4
Posts: 5
Reputation: 212

Post » Sun Jul 12, 2015 9:45 pm

You can double-click (or right-click -> open) the file in C2 to open it and then edit and save. Or if you have the project saved as a project folder you can edit the file in the folder directly.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,630

Post » Sun Jul 12, 2015 10:45 pm

Ah, excellent. I was editing my original un-imported file and (obviously) not seeing any changes. I hadn't noticed the "Files" sub-folder.

Thanks for that, appreciate it.
B
4
Posts: 5
Reputation: 212


Return to How do I....?

Who is online

Users browsing this forum: Malhog and 12 guests