Thanks for help in advance. Hoping someone knows a way to translate a list of values [title and subtitle] (dates in this example):
9/18/2022
9/19/2022
9/20/2022
9/21/2022
to a single text string, comma separated ideally ==> 9/18/2022,9/19/2022,9/20/2022,9/21/2022
thank you!
Hi Magoo,
This would be easier if youâd explain your database architecture a little bit.
I would do this with a list with timers.
You can add a âconverted to stringâ variable True / False for value added
Then have a list of 9/18/2022 et al
Have it ranked newest to oldest.
Have it set to showing a maximum value of 1 and âconverted to stringâ = False
Have a countdown timer that that at end of countdown add date âstored value, new valueâ wherever youâre trying to save this AND âconverted to stringâ = True
The list should then run through your dates adding them to the string.
Might be a little off from what I said above but I think something similar would work.
Hi Barrett - thank you for the help. For this, itâs pretty simple. I have a single collection of dates, that i am trying to transpose into a single field/text/string that is comma separated
thanks
Okay then, I think my above solution should at least lead you in the right direction.
There are a hundred ways to do anything though, so for sure others might find an easier solution.
The âListifyâ component by @knight (Adalomatic) can do the trick.
Itâs $20 on the âPaidâ components tab. It can do exactly what you need, comma-separated values of a list.
2 Likes
Thank you both! @Flawless and @barrettnash
1 Like
Hi - Been working through this problem, and while the Listify object does work, it only works at a point in time when the collection is initially filtered.
For my opportunity, I am intending to use your Listify objects to situate and pass date values (x-axis) and metric values (y-axis) to quickchart.io chart. I have tested this and it does work correctly, however when dates are changed, I canât get the chart to refresh with the new date range values, because the Listify objects donât dynamically update, even though they have filters set on them. The only way that this works, is for me to leave the screen and come back, then it updates correctly. This is a pain, and from a UX perspective, is terrible.
The Adalo âSimple Listâ object does dynamically update however, and I am curious to know if it would be possible for the Listify object to reference the âon-screenâ Simple List. Or, if folks have a thought on another workaround?
Thank you!
Also, I know there is a Quickchart.io component from @Mitch-Pragmaflow , but i canât get it to install correctly⌠I am wondering if this would solve my issue, and alleviate all the workaround logic i am trying to implement.
Thank you so much in advance
Yep this part was actually the biggest pain in making the component.
You could use make.com or xano though that may create some performance delays.
but i canât get it to install correctly
Regarding the component, I would need much more detail to be able to help.
*What steps did you follow?
*What error did you recieve?
*Do you have any logs or debug support?
Please post these as issues on the github repo and tag me.
Thanks Mitch - i definitely appreciate the help. I am hoping my issue is a simple one. Think itâs great you even have the quickchart.io component as an option, although itâs now becoming a personal challenge / goal of mine to make this workaround workâŚ
If youâve already installed it and you see that message, click on the Developers settings, click âshared with meâ and youâll see the component on the list. You must then click the 3 dot button next to the component and add the component to your team.
Thank you @Flawless, but unfortunately it is not in my âShared With Meâ list. It wonât install
Did you refresh the app after installing the component?
Watch: How to install the Arbitrary Javascript by Pragmaflow into your Adalo app - YouTube
Youâll see it doesnt appear until I refresh. Different component, same process.
I have refreshed. It doesnât install, thatâs the problem
Did you try regenerating a Access Token and adding that and try to install?
Thank you for the suggestion on the token regeneration, but that unfortunately did not work
Thatâs weird! Is it possible to show how you are doing this with a video?
If youâre not able to get it installed, I would recommend reaching out to the Pragmaflow developers. @TKOTC or @Mitch-Pragmaflow
But if you followed the steps that Iâve outlined in the video, it should install. Itâs pretty straightforward, not very complicated.
Have you enabled dev mode in adalo?
I have enabled developer mode. I actually have the âGeoLocationPFâ component installed, and was able to successfully get that to go via the same process i am trying for the quickchart component.
thanks again, all.
i have a video of the issue, iâll see about getting it published here