- Support Forum
- /
- Main Forum
- /
- Joomla Extensions Support
- /
- vData
- /
- Does vData feed support URL parameters?
Does vData feed support URL parameters?
- Daniel
-
- Offline
- Administrator
-
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
Please Log in or Create an account to join the conversation.
- Ken Lee
-
Topic Author
- Offline
- New Member
-
- Posts: 17
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.