Is anyone have an idea how to convert this.
I am going to ask users to add their phone number.
Once it is recorded on table or GS i need to add the whatsapp web link which always have this pattern: ‘Share on WhatsApp’ where the first numbers (or number) is the number of the country.
I guess it is something related to strings. Once the string is built should it be “passed” to an url column so I can call it in a component?
In my project it will be a button with the label CONTACT THE SELLER
You can built that using a template column. I don’t know if the country code is part of the number column or in a separate column. If it isn’t then it’s as simple as building a template column like this:
https://wa.me/{number}
And create a replacement for {number} to point to your number column. That template column will be your url.
@Jeff_Hager Yesterday that seems to me so obvious but I did not had a chance to try it. Today, yes, but I couldn’t figure it out. I only have about 10 days experience…
I’ve done all the process but I am missing something.
If someone else tried what explained Jeff, could you share plz?
Looks like you are using the phone number from the user profile and you are previewing the app as Hounaiine (sorry about spelling). Does that user have a phone number on their user profile?
Changed what? The value you are setting for the replacement needs to be populated with something. If it’s empty, then it’s going to replace with an empty value. I don’t know what else to tell you. Based on what you showed in your screenshots, I can only assume that the phone column in the user profile for the user you are previewing as is empty. I can’t see what’s in your users table, so I don’t know of there is a value or not.
As you can see in my new try when changing "numberphon"e by “number”
there a kind of a bug since when I enter the replacement in template column I have my own phone that is displayed automatically
Of course it’s going to be your number. You are pointing the replacement to the user profile, so it’s always going to pull in the number of the signed in user.
IT WORKS. Thanks a lot.
I understood what happened.
I could not find the right fake user I created because when you create a user with google login it gives different emails so the cell was empty.
Thank you so much for the time spent to help.
I’ll repay you I’m still new but I know a lot about concepts …