Problem with multiple users opening the same .XML - InfoPath Dev
in

InfoPath Dev

Problem with multiple users opening the same .XML

Last post 02-15-2011 11:39 PM by Ozgen Bektas. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-02-2010 07:16 AM

    • lokans
    • Not Ranked
    • Joined on 01-26-2010
    • Posts 6

    Problem with multiple users opening the same .XML

     Hi Forum!

    I have the following problem... i have an XML that it's opened with a XSN (With JScript code in it)... well...

    If user A, open the form xml (example... myform.xml), he can edit it correct it everything... thats nice, but if a second user open the same form (the form is on a Sharepoint library) a messabox says "The form is already opened by another user.... want you to open in ReadOnly mode?

    So i don't wanna that a second user open the form in readonly, because he can open it anyways and change some things and then save it, overwriter the original (or the one who's editing the first user), and all the changes maded by the first user will lost...

     Well, there's a way that i can do that? That the second user cannot save at all, even with a different name... just he can't save, o at least the second user cant open it.

     

    Greetings.

     

    PS: My english is not very good, sorry if i milspelled something or syntaxis faults...

  • 02-02-2010 07:22 AM In reply to

    • lokans
    • Not Ranked
    • Joined on 01-26-2010
    • Posts 6

    Re: Problem with multiple users opening the same .XML

     I have an XDocument::OnSaveRequest() too... maybe i can do somehthing like

    if(Form.isReadOnly == true)

    { return; }

  • 02-03-2010 07:25 AM In reply to

    • lokans
    • Not Ranked
    • Joined on 01-26-2010
    • Posts 6

    Re: Problem with multiple users opening the same .XML

     Already solved... exist XDocument.ReadOnly.

     

    :)

    Sadly nobody answers me... =( but i found it by myself...

  • 02-15-2011 11:39 PM In reply to

    Re: Problem with multiple users opening the same .XML

    Dear lokans;

    I have the same problem, multiple users should access the same xml and they should read and also write at the same time. Can you please share the related javascript code that solves the problem?

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.