- Heather@FootAnstey
- Posts : 57
Join date : 2018-12-19
C# Questions Passing highlighted value to form
Sat 18 Apr 2020 - 12:21
Original Post: Chris Witsel SMSS 07/02/2011 17:02:46
"We are attempting to design a task client/matter reassignment form/wizard. Is there a way through Matter Centre C#/object to select or recognize the task the user
highlighted before clicking on the wizard? For example, if we have 3 tasks with the taskID of 1, 2 and 3 and the user selected #2 before clicking the wizard, the wizard
understands #2 is the selected task. Thanks."
Responses:
RichardA 07/02/2011 17:30:41
"Hi Chris,
If you are calling the wizard from a button on a searchlist using one of the built in button commands (Edit, EditWizard, EditDialog, AddFrom etc) then all the fields that
are in the Search lists return fields collection will automatically be passed through.
You can then access them on your wizard either by setting the default value of a control to %returnFieldName% or in script by accessing the key value collection in
EnquiryForm.Enquiry.ReplacementParameters.
If you are calling the wizard using your own scripting then you can pass the return fields collection from the searchlist which is contained in
SearchControl.SelectedItems[0].
Regards
Richard"
"We are attempting to design a task client/matter reassignment form/wizard. Is there a way through Matter Centre C#/object to select or recognize the task the user
highlighted before clicking on the wizard? For example, if we have 3 tasks with the taskID of 1, 2 and 3 and the user selected #2 before clicking the wizard, the wizard
understands #2 is the selected task. Thanks."
Responses:
RichardA 07/02/2011 17:30:41
"Hi Chris,
If you are calling the wizard from a button on a searchlist using one of the built in button commands (Edit, EditWizard, EditDialog, AddFrom etc) then all the fields that
are in the Search lists return fields collection will automatically be passed through.
You can then access them on your wizard either by setting the default value of a control to %returnFieldName% or in script by accessing the key value collection in
EnquiryForm.Enquiry.ReplacementParameters.
If you are calling the wizard using your own scripting then you can pass the return fields collection from the searchlist which is contained in
SearchControl.SelectedItems[0].
Regards
Richard"
Permissions in this forum:
You cannot reply to topics in this forum
|
|