API Pack is a 4D plugin with more than 100 commands that gives you access to features that are only available through the 4D Plugin API. Here you will find commands for:

  • Retrieving information about 4D’s runtime environment.
  • Opening the method, formula or the picture editor.
  • Getting method ID’s, executing methods by ID, tokenizing expressions and executing tokenized expressions.
  • Commands that give you “under the hood access” to 4D’s internal resources like methods, forms, style sheets etc.
  • Sending and receiving documents to and from 4D Server.
  • Blobbing and un-blobbing records.
  • An extensive command set that gives you access to 4D’s virtual structure.
  • Perform fast search and replace operations on blobs.
  • Blob handles to make passing blob data between functions more efficient.
  • Many array manipulation functions that can be used on local arrays.

Especially the commands that give you access to 4D’s internal resources give you the tools that can really help you enhance your own development environment. With them you can:

  • Create your own method explorer that groups methods by their prefixes.
  • Retrieve information from your structure file like names of project methods, comments, form names, lists, tool tips, style sheets, formats and filters.
  • Get access to the modification date and time of each resource, so you can get an idea what was modified and use it as a simple version control system.
  • Procedurally create resources for which no 4D commands exists (like tooltips, style sheets etc.).
  • Get or set the contents of a project method.
  • Extract comments from a project method.

This plugin gives you the tools. To actually do it, you have to write some code in 4D yourself. In the demo application you’ll find some examples of the many things you can do. API Pack is available for Mac OS 9, Mac OS X and Windows. It works with 4D version 6.7 and higher. API Pack is compatible with 4D v11 SQL.


Support API Pack

API Pack is available for free, but ...

We've spend a considerable amount of time in creating API Pack, the documentation, the samples and helping people wherever possible. Still we like to provide API Pack free of charge to the 4D Community.

If you want to show your appreciation for all this work, you can make a donation by going to the online order page. Your contribution will help to make sure we continue adding great new features to API Pack.

Version 2.3.3 is now available!

API Pack is available for the Macintosh and Windows platform. Click on the links below to download the latest version.

API Pack version 2.3.3 for Macintosh

API Pack version 2.3.3 for Windows

Support API Pack by making a donation.



Hot Topics:

Always wondered why a certain command was missing from 4D? API Pack gives you lots of extra commands.

Got lots of project methods and hate it that 4D shows them as one long list in the explorer. Well API Pack shows you how you can create your own method explorer.

Get instant access to 4D's internals like table, field and form definitions.

Extend the use of 4D's virtual database structure.









Pluggers Software © 2001-2010