View/review only mode

Discussions about CSEntry
Post Reply
dilysmoore
Posts: 1
Joined: August 21st, 2024, 6:03 am

View/review only mode

Post by dilysmoore »

Good Day CSPro Team,

Is there any way that i can make the data (from a csdbe file) in an open CSEntry available for viewing only? the modification of data that are already encoded is prohibited. It's like review mode of the contents of csdbe using csentry. I tried modifying the .pff file by adding lock commands but unfortunately it does not work.

Thank you so much in advance!
justinlakier
Posts: 238
Joined: November 21st, 2022, 4:41 pm

Re: View/review only mode

Post by justinlakier »

Hello,

To get Read-Only Mode for a case, you can use Case.view(). You can also put data in a templated HTML report and call Report.view(). Case.view allows you to easily view the data of a specific case once loaded, however you would need to have some other way to load each case you want to review, such as selecting the Case by ID from a list. Report.view requires more HTML work but allows you to put any data in the HTML page that you want, including data from across multiple cases.
If you are experienced with the Action Invoker from JavaScript you can call Case.view() from within the Report, however this is likely more complicated than you require. Either Case or Report views enable view-only access to parts of the CSDBE.

Hope this helps,
Justin
Post Reply