Update: Dreamforce is over for another year! Thanks to everyone who supported me and came along to the session. Salesforce have now uploaded a recording of the session here and can find the slides here.
As those following my blog will know one of the sessions I’ll be running at this years Dreamforce event is around the Tooling API and Canvas technologies. If you’ve not read about what I’m doing check out my previous blog here. I’ve now uploaded the code to the tool I’ve developed that will be show casing these technologies. I’ll be walking through key parts of it in the session, please do feel free to take a look and give me your thoughts ahead or at the session if your attending!
Installing the Tool
You now also install the tool as a managed package into your development org by following these steps.
- Install the package using the package install link from the GitHub repo README file.
- Installed is a tab which shows a Visualforce page which hosts the externally hosted (on Heroku) Canvas application.
- You need to configure access to the Canvas application post installation, you can follow the Salesforce guidelines on screen and/or the ones here.
- Click the link to configure and edit the “Admin approved users are pre-authorised” option and save.
- Finally edit your Profile and enable the Connected App (and Tab if needed)
Using the Tool
- The tool displays a list of the Apex classes (unmanaged) in your org on the left hand side, tick a class to show it in the canvas.
- Move the Apex class UML representation around with your mouse, if it or other classes reference each other lines will be drawn automatically.
- There is some issues with dragging, if you get mixed up, just click the canvas to deselect everything then click what you want.
It is quite basic still, only showing methods, properties and ‘usage’ relationships and really needs some further community push behind it to progress a long line of cool features that could be added. Take a look at the comments and discussion on my last post for some more ideas on this. Look forward to see you all at Dreamforce 2013!
November 13, 2013 at 10:43 pm
Reblogged this on Sutoprise Avenue, A SutoCom Source.
Pingback: Going Native with the Apex UML Tool and Tooling API! | Andy in the Cloud
May 18, 2017 at 5:48 pm
Is there a setting available to be able to limit or page when there are more than 1K classes? i am getting this: Collection size 2,461 exceeds maximum size of 1,000.
May 23, 2017 at 10:14 pm
No, one of the co devs is working on a new version that will solve this. What we could do as a short term fix is offer an option to use a list view defined in the Apex classes page would that work?
November 14, 2018 at 11:23 pm
I get this “bad Id at [Line: …, Column: …] while adding an item (by checking the checkbox in the panel on the left) onto the canvas. I installed version 1.5, which gave me an app by name ‘Apex UML’. I wasn’t able to do the post-installation steps. Firstly, I didn’t get the “Oops….error rendering…” message and the link to Configure. I wasn’t able to do the Profile settings too. Is there anything I’m missing out? Could you please help?
December 15, 2018 at 12:36 pm
I think, this is a duplicate question, let me know if you didn’t just see my previous response.