Hello,
i have a collection list of items.
with a button the user can change some information of the item.
now i want to show up the new information of the item.
i only see, that i can fetch the whole collection.
but how can i only update the changed item.
if i fetched the whole collection, the place of the item in the collection list will change in dependence of the sorting style (the user choose) and since the user didnt know, that the whole list was updated, he don
t understand, where the item is gone.
I take a random query in xano as the basis sortstyle (because i dont find a way to sort randomly in weweb self) and so with every new fetch the sequence of the items changed.
that is not fine for the user…
thanks for your ideas and help!
stefan
I think you should handle this on Xano’s side, via making an endpoint, e.g. /get_details
Hi Broberto,
thanks for your answer.
But how to bring the result of that request in a field of the collection list that refers to an result of the originally collectionlist (of all items?)
i think about a variable, that contains this new detailitam and in the field i make a formula that checks, if the variable exists. if exsists, the field take the value from the variable, if not it takes the result from the collection list.
stefan
I think you could add that whole collection into a variable, an array to be exact, and then you can change it to whatever you need. You can do so via a workflow → Change variable value, would that work?
hey guy,
you say something fantastic with short words…
that can be a great gamechanger for me.
i am new to weweb and take directly the collections for the collectionlists.
but i think i have many more options if i put the collection to an array.
you think there is a sizelimit?
in that array i load exam questions and some of them have a lot of text…
and it is possible to load also for example one or two hundred in one collectionfetch…
I think it should not be a problem. Actually Collections are Arrays too But they’re not editable directly, so if you instead save it in an Array Variable, you get the best of both worlds :))
1 Like
Just like you are standing upside down in the picture, this concept has completely repositioned itself for me. Thank you a lot!
1 Like