Contact Us Today! | vcare@wdmtech.com

WDMtech

Topic-icon Does vData feed support URL parameters?

More
09 Jun 2017 12:09 #4387

Yes you can do so. Suppose you you need to filter records based on the column name "state" where state value is on. Then you need to append the following two variables to the URL:


column=state
value=on

Let's suppose you want to apply filter on two columns, another column is "featured". You want to fetch records with filtered = 1 only. Then you need to add the following:

column=state|featured
value=on|1

which becomes:

mysite.com/index.php?option=com_vdata&task=get_feeds&type=UuT3Ohz3Vt&column=state|featured&value=on|1

Hope I could precisely explain it?


Thanks
Daniel
Last Edit: 09 Jun 2017 12:09 by Daniel.

Please Log in or Create an account to join the conversation.

  • Ken Lee
  • Ken Lee's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
09 Jun 2017 03:53 #4383

Dear WDMTech,

I have vData 2.1.0. I want to create a JSON feed whose selection criteria include a parameter provided by user when he calls the feed URL.
e.g. mysite.com/index.php?option=com_vdata........&myparam=something
Then my profile could filter records where a field equal to "something".

Is this feature supported in vData?

Thank you.

Please Log in or Create an account to join the conversation.