Kbase 19488: ADM2 - Adding Custom Links as Supported Links
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/4/2000 |
|
When adding custom links to objects as "supported links" so that the AppBuilder will invoke the Advisor to ask you whether the link should be automatically created for you, you need to make certain that you do the following or the following errors will be generated at runtime:
User-defined function 'get<X>Source' invoked dynamically but could not be found. (5639).
User-defined function 'get<X>Target' invoked dynamically but could not be found. (5639).
When you add a link to supported links addLink assumes that this link is fully defined in Source and Target. This means that there must be a <X>Source property in the target where the Source handle is stored (and get/set<X>Source functions to support this), and vice versa for the object on the other end. To do this you need to create a couple of "custom" include files for the the two objects that can be linked via this new link type. This is relatively a lot of work, so unless you really need this behavior in the AppBuilder you are probably better off just entering the link in the Link Editor when needed.