Problem with External Sorting

Options
Hi all!

following the documentation on external sorting, I have created a new function and tried to connected to Bubble. 

The API call works well, but it looks like not the sortingby, nor the orderby inputs work....what am I doing wrong?


Here the snippet https://www.xano.com/snippet/fk--sOSa

Here some Bubble screenshots:
[image.png][image.png]
Thanks a lot!!

Comments

  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
    Your paths in your external object are set to the input values. These need to by static text. "orderBy"

    Otherwise, let's say you want to order by "name"... the result would be

    {
    "name": "name"
    ...
    }

    where it should be:

    {
    "orderBy": "name"
    ...
    }

    Your path isn't going to be dynamic, just the value
  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
    [CleanShot 2022-05-02 at 15.05.07.png]