Input Parameters in Macro

guruprasad.ks's picture
User offline. Last seen 27 weeks 6 days ago. Offline
Joined: 10/10/2008
Points: 97
Groups: None

Hello Mashers,
I've implemented custom filter logic in a mashup. The mashup takes inputs -: Feed and Filter-Criteria. Here Filter-Criteria is not mandatory, ie. if user specifies a value for Filter-Criteria then I'll filter the data based on the value passed and incase no value is passed there will not be any filtering of data.

When I tried implementing the same logic using a Macro to make it available as an Action in WIRES, I found that any input paramter/s we specify in macro need to be supplied with some input value(Otherwise it says block is not configured). Is there a way to make the Input parameter of Macro a non-mandatory?. If  I specify a default value for Input parameter in the EMML code, it shows up in WIRES for a Mashup but not for a Action (Macro).
Let me know if there are any alternatives. Also are there any examples for Built-in <presto-meta> Statements for using delimiters.

Thanks,
Guruprasad

 

3
Your rating: None Average: 3 (1 vote)

I can't address the issue of macros in Wires, sorry. But maybe I could help with your last question -- if I understood it.

There are no built-in <presto-meta> statements that have anything to do with delimiters.

Where are you wanting to use delimeters? or a built-in <presto-meta> statement? and for what purpose?

Sara, technical writer/jackbe

 

guruprasad.ks's picture
User offline. Last seen 27 weeks 6 days ago. Offline
Joined: 10/10/2008
Points: 97
Groups: None

As I've indicated previously, I want to create input paramtersto Macro so that it is not mandatory to pass the values. I happened to find  Built-in <presto-meta> Statements documentation, and wanted to know if  delimiters & Presto statements be used?

Regards,
Guruprasad

 

 

Sorry, no. There are no <presto-meta> statements that have anything to do with defining or using delimeters or controlling whether input parameters are optional/required.

Sara, technical writer/jackbe