Hi,
I am new to Action script and i am facing a problem that how can i pass optional parameter in action script for a GP Server which have some optional parameters and some require parameters. for example
Parameter:Input_stops
Display Name:Input Stops
Direction:esriGPParameterDirectionInput
Data Type:GPFeatureRecordSetLayer
parameter Type:esriGPParameterTypeRequired
Parameter:Input_Barriers
Display Name:Input Barriers
Direction:esriGPParameterDirectionInput
Data Type:GPFeatureRecordSetLayer
parameter Type:esriGPParameterTypeOptional
if i doesn't provide optional parameter to GP Server it returns fault error.is there any way to solve this problem.if any one have solve this problem please give me some code example.
Thanks
Adeel Ahmed