Page 1 of 1

proj parameter self populating.

Posted: Fri Aug 28, 2015 9:52 am
by Joe Sharples

I have a service with the parameter 'proj'.

I use this service on multiple pages, some pages I use the 'proj' parameter, other pages I leave it blank because i want all the data.

Even though the 'proj' param is empty on calls from certain pages it still shows value when i test the app.

service under data tab:
Image

the default for the service:
Image

test using chrom dev tools:
Image

For some reason it populates the parameter even though I leave it blank.

Not sure what is causing this to happen. I tried clearing my browser data but it didnt seem to change anything.

A fix for this is to add the JS pre return "";/pre to the parameter.


proj parameter self populating.

Posted: Fri Aug 28, 2015 6:34 pm
by Serhii Kulibaba

Hello Joe,

I can't see "proj" parameter in your screenshot: https://d2r1vs3d9006ap.cloudfront.net...


proj parameter self populating.

Posted: Sat Aug 29, 2015 2:47 am
by M&M

A simple thing to do will be this: Have a local storage variable and map it to proj parameter in "Before send" event. Before calling the Service either set the local storage variable to blank, or some other value as required.


proj parameter self populating.

Posted: Thu Sep 03, 2015 5:53 pm
by Joe Sharples

Thanks M&M