![]() | ![]() |
|
Form segments that rely on 'other business objects' are not as re-usable as they could be, because the parameters passed to the 'other business objects' they use may need to be set by the process, not the library.
For example, I may create a form segment to display the error log for a specific mapName and place it in a library. There is not a mechanism to re-use this form segment in a process and pass in a different mapName. (please tell me I'm wrong)
One way to fix this would be to 'promote' the data object's parameters up to the form-segment. The idea being that this segment could be put in a library, then later include in a process, dropped on a form, and the dependent business object parameters would be available to set according to the needs of the process.
There may still be an enhancement idea here.
I see that it is possible to use the local variables of a form segment to 'pass-along' information from the form to the components in the segment. Thank you for that info it is very helpful.
When trying to do more than just display data with the segment, but have some actions based on grid selection, it would appear there is some limitation related to being able to access 'non-static' variables.
Complicated situation, but basically I am trying to make a typical admin form that has a grid to select values and label fields + buttons to perform insert/update/delete. This works fine on a form. Would like to put this in a segment now so it can be re-used for several processes. Each process-specific form will have different access rights. The error I get is below if that helps understand the limitation I'm suggesting be removed. 'Grid1' is in the form segment.
Cannot access a non-static member of outer type 'Metastorm.Runtime.Models.ww_scripting.wwAppLookup
The example and advice from Tony and Jerome addressed all the problems I was having. This 'idea' can be deleted as the functionality I was asking for already exists. Thanks again.
Tom
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
How to Be Notified of New Releases
How to Suggest Product Enhancements
Metastorm BPM 7.6.4 Hotfix 2 (7.6.4.2) is now available for download in the 'Patches' section of the Knowledge Center here.
Metastorm BPM Widgets Release 2 for OpenText Smart Business Workspace Version 9.1 and Metastorm BPM 9.1.3 is now available for download in the 'Patches' section of the Knowledge Center here. For more information see this post.
Metastorm BPM 9.1 SR3 (9.1.3) is now available for download in the 'Patches' section of the Knowledge Center here. For more information see this post.
Metastorm BPM 9.1.2 Hotfix 2 (9.1.2.2) is now available for download in the 'Patches' section of the Knowledge Center here.
Note: Software and documentation are now in the Knowledge Center (KC) located here.
Have a question about the Community Site? Contact Us
![]() |
![]() |
![]() |
|
|
![]() |
![]() |
![]() |
















