-
How to convert this into a file
Hello I’m using the clip drop api from stable diffusion and I’m getting an image returned in this format. I’ve been told this is Jfif format but any idea on how to convert this into a file resource and ultimately an image url.
-
How to nullfill variable (equivalent of SQL coalesce)
I keep running into the use case of wanting to create a variable that is the first non-empty value of a series of other variables. For example for some final variable X: I want X to be the first non-empty value of variables A, B, and C So if A = 2, B = null, C = 1 then I want X = 2 If A = null, B = null, C = 1 then I want…
-
How do I get the content of a .txt file stored in my database?
For example, I have a .txt file saved in my database and would like to get its content. How do I get it? I only see the following: {path, name, type, size, mime, meta, url}, no body for the .txt file.
-
Xano --> Webflow -vs- Xano --> Wized --> Webflow
I know we can do both. But I am simply trying to understand when and why I would use either. Can someone please enlighten me: When to use Xano to webflow directly Vs When to use Xano to wized to webflow.
-
Looking for 2 hour consultancy on Xano Login and privacy
Hello! We are a small no-code agency, currently building a customer project with Bubble.io and Xano. We'd need some help setting up the login, authentication and reset password functions plus a check on privacy matters, such as securing the APIs. At this moment, the main objective is to get help as a 2 hour consultancy…
-
How to change fields in an object with for each loop and conditional if?
Hi, I want to loop through the fields in an object and set fields with a null value to contain the string "empty" instead. I'm trying to do it like this: But when I hit the stop and debug, all the null fields in the object are still null. What am I doing wrong here? Thanks in advance.
-
Change old user password
I have a post api to change user data, the password change function is now implemented as follows: Input "confirmOldPassword" should be equal to the old password, if this is true input "InputNewPassword" should replace the old password value. I don't know how to implement security for this logic, maybe it can be…
-
Help with planning
Hi, I am starting a personal project to build a web app for a company I work for. I am a Webflow user and I would like to build it using Wized and Xano, of course. But I am a total newbie on Wized and Xano and I would like to know if someone could give me some guidance to plan the backend. I have attached a view of what I…
-
How do I fix "Malformed UTF-8 characters, possibly incorrectly encoded"
Hi. I'm trying to parse a text file. I'll be getting some data from the file and adding them to a record however I'm receiving this error: Malformed UTF-8 characters, possibly incorrectly encoded. I have hunch that it's because of these characters: á,ü,ó, etc. I tried using the strip accent filter however I still keep…
-
Getting Xano's Google OAuth extension to work with Adalo mobile app
Has anyone had success getting Xano's Google OAuth extension to work with an Adalo mobile app? What I'm not understanding is how to give Google a redirect URI that links to my app given my app doesn't have URLs…it's a mobile app. I assume I'm just misunderstanding something and would appreciate any and all help!
-
Updating another table field after doing an insert?
I have a table of scripts, that has a filed called questions (object). This questions field stores a ref to the questionID, from my questions table. when I create a new question on my front end, I want to update the related script by adding the questionID to that object field in scripts. I cant do it as I do not know the…
-
How to use Xano in Webflow Ecommerce without using native Webflow CMS
Hey @Xano Support Chat or any others in the community. New here but stoked to be here! For context, I'm looking at using Xano to build out a marketplace where products can be sold from multiple different supplier that each have their own products. I want to connect to my own API (not in Xano). Does Xano work with the…
-
How do I apply lambda to each item in a loop?
I have this snippet saved as a lambda function: const accentedCharacters = 'áàãâäéèêëíìîïóòõôöúùûüñçÁÀÃÂÄÉÈÊËÍÌÎÏÓÒÕÔÖÚÙÛÜÑÇ' const normalCharacters = 'aaaaaeeeeiiiiooooouuuuncAAAAAEEEEIIIIOOOOOUUUUNC' let text = $var.sample.replace(/[áàãâäéèêëíìîïóòõôöúùûüñçÁÀÃÂÄÉÈÊËÍÌÎÏÓÒÕÔÖÚÙÛÜÑÇ]/g, match =>…
-
What's wrong here?
As you can see, the precondition asks if the new password is similar to the old password. In the run and debug it's different but, it's still being found as the same thing. There are no other preconditions that relate to both the new password and the old password. I'm not sure what's wrong.
-
Custom Domain - Insecure Connection Error - Please help!
When I connected my custom domain, using api.mydomain.com.. it worked, kind of. It says that it's connected and is showing my custom domain on my Xano instance, but when I try to click on the instance to open it, i get this error (image attached). Does anyone know how to resolve this? I clicked "Proceed to…
-
How to filter data by date from external api request
I have an endpoint that lists invoices. An invoice has a query parameter called “modified” which is a timestamp. How do I fetch those invoices that have been modified after my modified query parameter?
-
Uploading photo to Xano from Bubble - help needed!!
Hello, we have an issue with our Bubble app with Xano. We should be able to upload 8 different photos from Bubble and add all of them to a certain line of a certain a table (this is an order, which has photos related to it). The complexity of this, even though it's possible not that hard, is over our knowhow. Can you help…
-
How to make a data source conditional in my api endpoint
Hi, I'm planning on creating a conditional whether the data being used is “live" or “test”. If the data being used is “live”, I'll use the live api keys for my external api and if “test”, I'll use the test api keys for my external api. Do I make this by using $datasource == ‘live’ // $datasource == ‘test’? for my…
-
How do I keep the extra whitespace when using substring when looping through an array?
I have a sample file above that is downloaded and parsed in xano. I will get “RECORDS” and save it as “Row1”, the client data as “Row2”, and “END” as “Row3”. Now I'll loop through Row2 per client. I did this by slicing the client data as “Row2” so I can loop through each client data. The client data is separated by a new…
-
How to add dynamic input at the end of the api request url?
Hi! I have the following sample inputs: data[Name]=John data[LastName]=Cruz data[InvoiceDate]=01/01/2023 and I would like to add them in the end of this sample URL: https://www.pdfotter.com/api/v1/pdf_templates/tem_12345/fill? the URL will look like this:…
-
How do I add a path variable in my external api request?
Hi! I'd like to know how to set a path variable for my url in my external api request. For example I have this URL: https://www.pdfotter.com/api/v1/pdf_templates/:templateId/fill? and for the templateId it has a value of tem_1234567 for example. I can't set it as a param since it will turn the response url into:…
-
Noob question: Filter in Xano
Hi guys, I have a table events that has a column called id_neighbourhood. And I have the table neighbourhood with the name of it. I'm calling an API with an array with the neighbourhoods to use in the filter. That means I can get all the events in one or more neighbourhoods. But when I do this search: get this error: Plase…
-
My who instance was deleted?! What happened? Is this happening to anyone else?
For some uknown reason, my whole instance was deleted and I seem to have lost months of work. The application seems to still be working but we cannot access the instance on Xano. I hope this is a mistake. I even still have a credit on the account and an active card.