Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Yuval Lombard 14 posts 44 karma points
    Mar 12, 2014 @ 11:02
    Yuval Lombard
    0

    Get all records from Form

    Hi!

    This operation takes a lot of time:

    Umbraco.Forms.Data.Storage.RecordStorage rs = new Umbraco.Forms.Data.Storage.RecordStorage(); Guid formGuidGuid = Guid.Parse(formId);

        string mId = m.Id.ToString();
        var records = rs.GetAllRecords(formGuidGuid)
    

    is there any way to make it faster?

    thanks !! :)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 12, 2014 @ 14:52
    Jan Skovgaard
    0

    Hi Yuval

    Is it when loading the records inside the Umbraco backoffice it takes a lot of time? And is the code snippet from the Contour core?

    Or are you trying to fetch them by yourself in another context?

    The reason I ask is becuase if it's Contour that is slow in general then it's better to create a Contour issue at the issue tracker here http://issues.umbraco.org/issues

    Looking forward to hearing from you.

    /Jan

  • Yuval Lombard 14 posts 44 karma points
    Mar 12, 2014 @ 15:15
    Yuval Lombard
    0

    Hi Jan, Many thanks for your quick reply! No it is not in the umbraco backoffice but inside a macroscript that create a query against the relevant form. Do you know of a quicker way of query the form entries? Regards, Yuval

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 12, 2014 @ 15:17
    Jan Skovgaard
    0

    Hi Yuval

    Not neccesarily...but could you tell me what it is you're trying to achieve? Why do you need to fetch all records for instance.

    Looking forward to your description :)

    /Jan

  • Yuval Lombard 14 posts 44 karma points
    Mar 12, 2014 @ 15:25
    Yuval Lombard
    0

    Hi Jan

    I have members stored inside a database, and i need to fetch some data of a member so i can display some of it

    Thanks :)

    Yuval

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Mar 24, 2014 @ 15:27
  • Dan 1288 posts 3921 karma points c-trib
    Mar 24, 2014 @ 15:43
    Dan
    0

    I'm currently using the latest nightly (3.0.20 WIP) which seems stable so far, and is supposed to include some of the performance updates mentioned in that blog post, although I've not volume-tested it.

    It would actually be great if you were able to upgrade to this version and see if it does help - I'm sure Tim (from the HQ, who built Contour) would appreciate the feedback.

    Cheers,

    Dan

  • Allan Joey Laluan 24 posts 105 karma points
    Aug 06, 2015 @ 12:20
    Allan Joey Laluan
    0

    Hi Yuval,

    We are experiencing the same thing. Have you resolve your issue already? If yes, can you let me know how you solve it?

    Regards,

    Allan

Please Sign in or register to post replies

Write your reply to:

Draft