To continue with this content, please log in with your Data Access ID or create a new account.
Cancel Data Access ID
You may not be authorized to see this content. Please contact Data Access Europe for more information.
Cancel Data Access Europe
You are not authorized to see this content.
Cancel Data Access Europe
Next lesson:
Cancel

Advanced Dynamic Objects

Lesson 7 - Other Functionalities

  • In addition to inserting and removing dynamic objects, the modification phase provides support for other types of interactions. A complete list of implemented interactions can be found on the last pages of the dynamic objects manual.
  • One special interaction to note is using dynamic objects in an application. For example, suppose the sample application that was just built was to be extended with actual saving functionality. This means the ‘psValue’ of the dynamic object must somehow be retrieved, which, in turn, means the handle of the object is also needed. To get the handle of a dynamic object, the ‘DynamicObject’ function is used. This function takes the unique ID of the object, the handle is needed for, as an argument. It then creates the dynamic object on the server and returns the handle.
  • Getting and setting Web Properties of dynamic objects happens exactly as for regular objects. WebGet and WebSet operations can be used on dynamic object handles just as they would be in a normal, ‘static’ environments.

RECAP

Getting started with integrating dynamic objects into an application takes some practice. Therefore, the following five-step workflow is recommended: 

  1. In the first step, create the dynamic container to hold dynamic objects. 
  2. In the second step, define (or just identify) the specific behavior of the dynamic objects.
  3. In the third step, write the code to initially fill the container with dynamic objects.
  4. In the fourth step, instruct the container to render its content.
  5. And finally, in the fifth step, modify the content and structure of the container, by adding, moving, or removing objects.


Mentioned resources in this lesson: