Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Get Parameter Index

Hi,

 

Is there a way to get a collection of all "Parameter Indexes" that related to operation?

I want to be able to do something like this:

	for (String parameterIndex : parameterIndexCollection)
	{
		System.out.println(someOperation.getStringValue(parameterIndex));
	}

Thanks,

Tal.

 

3 REPLIES

Re: Get Parameter Index

Re: Get Parameter Index

[ Edited ]

Do you have this code in JAVA too?

Solution
Solution
Accepted by topic author TalZamir
‎08-21-2016 01:38 AM

Re: Get Parameter Index

[ Edited ]

Thanks for the reply, but still I don't get how can I get the relevant Index Parameters in order to get information on an operation.

 

EDIT:

 

GOT IT Smiley Happy

 

UFSession ufSession = ClientAndServer.getUFSession();
AskRequiredParamsData data = ufSession.param().askRequiredParams(i_Operation.tag());
	
for(int i : data.indices)
{
	System.out.println(ufSession.param().askParamAttributes(i).name);
}

Thanks!