Book a Demo

Author Topic: RunHTMLReport and element locks  (Read 2960 times)

FlorianBeer

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
RunHTMLReport and element locks
« on: March 04, 2020, 03:14:45 pm »
When running the HTML report for generating a easily accesible documentation for our non-technical staff, we've found an interesting behavior.
After running the report the elements in the exported package are lock if they haven't been locked already by someone else. With CTRL+SHIFT+L I can manually open the view of my locks and release the elements manually.

There are two questions open for me:
  • Is there a way do this unlock over the scripting interface? Many projects in a nightly run are hard to handle manually...
  • Why does the export need write access and lock the elements?

Can anyone help at least with the first question?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: RunHTMLReport and element locks
« Reply #1 on: March 04, 2020, 03:31:00 pm »
Florian,

That is weir behavior. I've never seen that before, are you sure your script isn't applying a user lock as well?

And yes, you can lock and unlock elements using scripts. I have seen however that EA needs some time to process the fact that an element is locked, but that shouldn't be an issue when unlocking.

Geert