• Stars
    star
    101
  • Rank 338,166 (Top 7 %)
  • Language
    JavaScript
  • License
    BSD 3-Clause "New...
  • Created about 11 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Create UML diagrams from Apex code using the Tooling API

Apex UML

Logo

Contributors

Currently this tool has the following contributors, please join us!

Apex UML (Native version)

Since Dreamforce 2013, I was contacted by John M. Daniel, who asked if it was possible to create a version of the tool without using a Heroku applicaiton, by consuming the Tooling API from Apex directly. About the same time James Loghry and I had also started working on a native Apex wrapper for the Tooling API. And so from this point forward the Apex UML tool is completly native, no Heroku instance is required!

Further information and blog posts...

NOTE: If you have installed the earlier version, don't worry, simply take the latest package install link below and it will automatically upgrade you to the native version.

Apex UML (Canvas version)

This version of the tool is no longer live. If you still want to know more about consuming the API from a Canvas / Java context though you can read more about this tool at my blog post here. You can also watch the Dreamforce 2013 presentation on how it was built here and download the slides from here.

Installing the Tool

  • Install via the latest package link below
  • Ensure your Apex classes are compiled
  • Assign the Apex UML permission set
  • Go to Apex Classes page and click the Compile all classes link
  • Navigate to the Apex UML page and select a class
  • Your good to go!

NOTE: If your org is not using My Domain, you will see a Remote Site setting message popup, follow it and then reload the page.

Package Versions

  • v1.7 Production Install or Sandbox Install - Fix for issue 14 collection size exceeded. Also migrated repo to SFDX and added Lightning support. Remote Site setup no longer required for My Domain orgs.

  • v1.5 Package install link - Fix for issue 5

  • v1.4 Package install link - Fix for issue 4 (depricated)

  • v1.3 Package install link (depricated)

  • v1.2 Package install link (depricated)

Known Issues

  • Read timeout error. This error currently seems to appear when the Tooling API has to demand compile code to determine the Symbol Table. We will look into ways to aviod this and/or provide feedback when this is happening. In the meantime please go to the Apex Classes page and click the Compile All Classes link before using the tool.
  • Canvas App not found error. This error occurs if you are running v1.2 of the tool, as the Canvas Connected App no longer exists, please upgrade to v1.3 or later.

Get Involved in Enhancing this Tool!

There has been great deal of interest in this tool and enhancing it since i launched it ahead of Dreamforce 2013. I'd like to start a list of ideas and enhancements for and invite the community to help build those features. Here is a list of ideas.

More Repositories

1

githubsfdeploy

GitHub Salesforce Deploy Tool
CSS
182
star
2

apex-toolingapi

Apex wrapper for the Salesforce Tooling API
Apex
134
star
3

eventlogging

Logging framework powered by Platform Events
Apex
68
star
4

apex-sobjectdataloader

A generic native SObject data loader implementation using Apex JSON support
Apex
50
star
5

apex-codeanalysis

Force.com Apex code analyser using the Tooling API and Canvas
JavaScript
50
star
6

flowtoolbelt

Dynamically call Flows at runtime to do more things with them from more places!
Apex
44
star
7

forcedotcom-enterprise-architecture

Force.com Enterprise Architecture - First Edition - Source Code
Apex
43
star
8

dependencies-cli

Sample command line utilities around the Salesforce Dependencies API
TypeScript
42
star
9

dependencies-sample

A sample collection of seemingly random metadata and below the type relationships as currently returned by the Dependencies API (Pilot)
Apex
42
star
10

custommetadataapi

Apex and Lightning Components for working with Custom Metadata Records
JavaScript
42
star
11

force-brf

Work in progress reference lib for BatchApexErrorEvent handling
Apex
36
star
12

streamingcomponent

Lightning Component for the Salesforce Streaming API
JavaScript
35
star
13

forcedotcom-enterprise-architecture-second-edition

Force.com Enterprise Architecture - Second Edition - Source Code
Apex
29
star
14

apex-sobjectfieldvalidator

Fluent SObject Field Validator
Apex
28
star
15

customnotificationdemo

Custom Notification Demos
Apex
16
star
16

flowextensions

Manage the execution and interfacing of runtime resolved Flows in Apex
Apex
15
star
17

dx-di-demo

Demonstration of DI between DX Developer Controlled Packages (DCPs)
Apex
13
star
18

df18-dx-demo

Cool demo showing various platform features for the Dreamforce 2018 DX demo session
Apex
12
star
19

littlebits-connector

Connect LittleBits devices to Salesforce without code
Apex
11
star
20

kbshortcututil

Custom keyboard shortcuts component using lightning:backgroundUtilityItem
JavaScript
10
star
21

force-di-demo

Demo packages using force-di
Apex
9
star
22

top5-jan-2021

Apex
7
star
23

listviewapidemo

Demonstrates the use of the Salesforce List View API
7
star
24

custommetadataapi-demo

Demonstration of the Custom Metadata Services library
JavaScript
7
star
25

buildtogether

Sample code the "Change is inventible so build for it!" blog
Apex
6
star
26

apex-littlebitsapi

An Apex wrapper around the LittleBits Cloud API
Apex
6
star
27

lexapidemos

Lightning Experience API Demos
JavaScript
5
star
28

df18-brk

Shell
4
star
29

fmfc

User Feedback Component powered by Feature Management
JavaScript
4
star
30

process-orchestration-with-events

Apex
3
star
31

lexutilitybardemo

JavaScript
3
star
32

githubdeploytest

Tests the GitHub Deploy to Salesforce Tool
2
star
33

asciiartservice

Simple ASCIIArt Service (Swagger Enabled)
JavaScript
2
star
34

legoev3-machinecloud

'Internet of Things - The Salesforce Lego Machine Cloud' Session Dreamforce 2014
Java
1
star