1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

webservice list plugin

Discussion in 'Community' started by jo-ka, Jul 30, 2020.

  1. jo-ka

    jo-ka Member

    Level: Community
    I have an external provider which gave me access over webservice to a REST(json) API, which I would like to use on a Fabrik list.

    I saw the video available here: https://www.screencast.com/t/D9Tuxn4Bb, I've mapped all the necessary fields and set the foreign key, etc.


    I've mapped also the fields:


    The API doesn't have any kind of authentication, and when I use the URL provided on a web browser, I get the values correctly (this is a simple example of the provided data, just one ID and a name).


    But when I press the button, I get all the 34 records, which are the number of records returned from the URL, but the values on the fields are not correct, because are being filled with the webservice field names and not the real value.


    What am I missing here?
    Thanks in advance.

    Attached Files:

  2. jo-ka

    jo-ka Member

    Level: Community
    I think I've found it.
    I had to put the origin fields in between { }.
    I think it's working now.


    troester likes this.
  3. troester

    troester Well-Known Member Staff Member

    Level: Community
    Thanks for reporting.
    In this old tutorial (saved by @startpoint ) it's showing the {}
    I've put it in the WIKI.
    jo-ka likes this.
  4. jo-ka

    jo-ka Member

    Level: Community
    Perfect, although this is old, it helps a lot.
    Thanks troester.

Share This Page