cancel
Showing results for 
Search instead for 
Did you mean: 

DeskI report open state

0 Kudos

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.

Thanks
Naresh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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 😉

0 Kudos

Thanks Antoine. I believe the only option is to track using a file or db table.

Answers (1)

Answers (1)

Adam_Stone
Active Contributor
0 Kudos

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.