Skip to Content

DeskI report open state

Hi All,

Is it possible to get the state of a DeskI report whether it is opened or closed?

I could not find any property to the state of the document. I would like to know if the document is already opened. If not, need to refresh and save else need to display a message Document is accessed by another user.

I have written a custom program to automate the change process for DeskI reports. In this multiple users can run the program and if the same report is being accessed by these programs from multiple machines, report is getting corrupted and creating an another report with'~' appended to the report name.

If I can get the state of the report and if it is opened by one of the programs, then other programs will be skipped accessing the report and there can overcome the report getting corrupted.

Please provide your valuable inputs if this is possible.


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 02, 2012 at 12:29 AM

    As Adam said, you will not find a status that tells you a report is being edited.

    That said, you can easily store the edited report cuids in a file or db table and have your custom program check upon that table to make sure the file is not already in use.

    just make sure you add and remove the file or db entry when your custom app starts or exits ;-)

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 01, 2012 at 04:17 PM

    There is nothing in the report properties that will tell you that this report is currently opened by another user. If you need to control this, you need to come up with your own way of controlling concurrency to the report.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.