New Example Code: Collection Functions

If you have spent any time at all working in Bungee Connect, then it’s likely that you have seen that the Collection type is a fundamental tool for every project you work on. If you know how to use Collections effectively, your development skills in Bungee Connect go way up.

For that reason, the Education team at Bungee Labs has just wrapped up a first edition of sample code for all the functions found on the Collection runtime type. They are now available for you to import into your Bungee Connect workspace and check out.

To get at the sample code, log into Bungee Connect, and do the following steps:

  1. Switch to the Design tab (main IDE window, locate the Home tab, and then expand Open Example Code.
  2. Select Collection, and then click Create New to import the sample code into a new solution.
  3. Supply a solution name and DesignGroup, and click okay.

      This opens a new solution in Builder, containing a TypeLib called Collection (along with a couple supporting projects). Now you can open the Function_Examples class and start simulating forms. (See the screenshot at right.)

      Each form shows the use of one or more functions from the Collection type, each using the same code base, a collection field called people. Below, I have included a screenshot showing the Collection.findValue example. The buttons are configured to pass all parameters, so be sure to check out the Parameters property (Behavior tab) for each button to see what data is getting passed into and out of each function.

      Be sure to also check out the documentation page for the Collection type, which explains each function, and many other aspects about collections. If you find this example code helpful to your learning, please drop a comment on this post so that we know to create more of this kind of stuff.

      Ted Haeger
      Director of Developer Programs
      Bungee Labs

      1 Comment »

      1. […] import the new example code, see the instructions on the previous Collection blog. If you have already imported the Collection example code, you must do so again to access the new […]

      RSS feed for comments on this post · TrackBack URI

      Leave a Reply

      Fill in your details below or click an icon to log in: Logo

      You are commenting using your account. Log Out /  Change )

      Google photo

      You are commenting using your Google account. Log Out /  Change )

      Twitter picture

      You are commenting using your Twitter account. Log Out /  Change )

      Facebook photo

      You are commenting using your Facebook account. Log Out /  Change )

      Connecting to %s

      %d bloggers like this: