OPA Entity Model Viewer 1.0
Edit : 5/5/19 updated version available (see Shop for details)
As many readers will know, I was a fan of the Oracle Policy Automation 10 feature which allowed you to visualise the entity model of your Project:
A while ago I wrote about an idea I had, to use the same library (Mindfusion Diagrams for Windows) to build something like it. Since the advent of version 12, the way the data model is stored as changed somewhat and for various reasons, this feature is no longer in Oracle Policy Automation 12. And I think that is a shame. So I decided to keep going with the idea, and the result is the small application which I would like people to download and tell me if it works for them.
It is a ClickOnce application, that is easy to download and install. It runs by letting the user view the contents of projectDatamodel.xml (which contains most, but not all, of the interesting bits of your data model.
It has various features. It can let you see the entire data model, including enumerations, and links:
It also allows you to view the enumerations (value lists) associated with entity attributes:
You can see in the above picture that it also shows public names for attributes – great for finding those you have forgotten about. You can move the items around the page, zoom in and out, even just play with the layout until it is perfect. Some of the larger entity models might need a bit of moving around!
You can contract and expand all the entities if they are taking up too much space. You can also add the hidden upload pseudo-attributes to your diagram, if you are using the new Upload Group feature introduced recently:
You can of course print the output – to any printer or PDF generator. And you can save it as an SVG which is good for embedding in other programs.
There are a bunch of preferences, including the colors used for the diagram. Some of the more interesting options don’t actually do anything yet.
So, what am I getting at? Well, I’ve tested it on a bunch of 18D and 19A projects including the sample projects and some of my own. They all seem to work reasonably well. But of course, it only will be when lots of people test it, that I’ll know of any weirdnesses. And heaven knows, there will be plenty. I’m just a recreational coder, so I’m not looking for a sellable product. But if I can get rid of most of the obvious things, then I will be happy.
If you are interested, please download the Zip from the OPA Hub Shop and install it, and let me know if anything goes strangely. Just leave a comment an help with the OPA Entity Model Viewer!