Easy Save Help!

FlowCanvas Forums Support Easy Save Help!

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1208
    chocolacode
    Participant

    Hey Gavalakis,

    I am trying to use the Easy Save nodes for loading and Saving Lists. However I don’t see the Node “EasySaveList”. Can you please help to add it?

    Also can you please provide me an example of how to save and load for a dictionary or a List?

    Thanks in advance!!

    #1209
    Gavalakis
    Keymaster

    Hey,

    For loading lists EasySaves provides a method and there also exists a node in the integration for that “EasySave/Loading/EasyLoadList(T)”.
    For saving though, there is no special method provided by EasySave. As such you can simply use the “EasySave/Saving/EasySave(System.Object)” node, to save a list (or any other type of object of course).

    Let me know if that works for you.
    Cheers!

    ( PS: I am not at office right now -no FC access- to create an example. Once I get back, I will post the example here for you! 🙂 )

    Join us on Discord: https://discord.gg/97q2Rjh

    #1210
    chocolacode
    Participant

    Hey,

    I just tried the EasySave<Object> node for List and for a Dictionary and I am receiving errors in both cases.

    I am doing something wrong?

    Thanks in advance for your help!

    easy-save-list-or-dictionary

    easy-save-list-or-dictionary-error

    Attachments:
    You must be logged in to view attached files.
    #1214
    Gavalakis
    Keymaster

    Hello,

    Hmm, that is weird. I was sure that it would work with (T) as System.Object.
    Can you please try opening up EasySaveNodes.cs, find the class called EasySave(T) at line #86 and add this attribute just above the class name [AppendListTypes].
    Doing that will make the editor also show List types to be chose for (T) and as such allow you to add the exact node type required; in this case EasySave (List<string>).

    Please let me know if that would work.
    The rest of the graph looks correct by the way.

    Join us on Discord: https://discord.gg/97q2Rjh

    #1218
    chocolacode
    Participant

    Hey,

    I made the changes as you suggested.

    I added the new node and I am still getting same errors 🙁

    Can you please check on your end?

    Thanks in advance

    #1226
    Gavalakis
    Keymaster

    Hello,
    If the error you are getting is still the one saying that “EasySave does not support this type”, maybe I think that we should contact the EasySave author, since all that the FC integration nodes do, is directly calling EasySave functions (no tricks in between).
    The EasySave API [LINK], shows that it should work:

    I will check this out in the weekend too.

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.