Why can’t it be the sign up screen though?
That’s why I asked you this question. If it redirects to the original URL, you should be able to grab the parameter from the screen the user is viewing.
Why can’t it be the sign up screen though?
That’s why I asked you this question. If it redirects to the original URL, you should be able to grab the parameter from the screen the user is viewing.
because it returns their OWN user ID? im really sorry to be this lost. been trying this for 3 days now and my head is about to burst. i was really proud to have built this app, and it works great as long as new signup selects the correct sponsor. but im well aware this can cause a lot of problems and start a fight among sponsors if their referrals err in selecting someone else by mistake.
and that’s why auto-assigning the correct sponsor is critical.
from the current setup: the referral link points to to current screen and retrieves the signed-in user’s User ID. so when a new user signs up, their own User ID is fetched.
i guess it works as intended - given as the QR code is set to the current URl, so they are viewing their own screen. in that way, yes it works as expected. meaning it;s not the solution for what im trying to achieve. i havent really gotten enough sleep, just going thru this. which is why i cant think right.
im sure im not too far away. all i really need is:
im sure at least one expert should be able to help me.
please dont give up on me.
yes, it is indeed sourced from current screen URL:
but: my current URL has an addtiional element, the signed in user’s Row ID which i named User ID):
does it need to be changed? thanks
When you share the link from an existing user (user A) to another user (user B) who hasn’t had a profile yet, the expectation would be:
ok thanks for your patience. i will try this later.
main difference:
current - A sends B his reflink. B signs up with email/PIN. gets to this Home screen:
clicks Complete your Profile that opens up a new details screen:
this is a generic screen that doesnt hold A’s User ID. i think that’s the part that’s missing. (i used to have a dropdown here to select the sponsor).
the last button (I Agree) - is where i put the custom action to set column value Sponsor ID. i imagined that might have been enough.
change required:
when clicking complete your profile - pass the param to the next screen here, which should be dynamic, in this case - A’s user ID. not on the next screen.
im not 100% i’d be able to do this, but will do my best. will advise the outcome.
thank you so much in advance.
Why don’t you just add the entry components right on that screen? Navigating to another screen would probably lose you the parameter.
Also, I expected that the onboarding screen will be the only thing users see when they’re at that stage, navigating to other tabs would also lose you the parameter.
ok thanks. that’s what ill do then. ill be out for 2hrs then try this. really appreciate your advice.
i’ve identified the problem but still cant figure out how to resolve it.
on the editor, the sponsor’s User ID is displayed (because he’s currently logged in within the editor): (represented here as a temp text)
but on the lve URL, the new signup’s ID is shown on that temp text:
meaning the error is in the way im appending the current screen URL, currently by the template currentScreen+loggedInUserID:
what’s the correct way of appending the current URL screen, if that is indeed the solution? thanks.
my apologies for my inequiy.
I think you are stuck on thinking the “current url” is going to be coming from a table column. It’s not. The current url is the url that the browser is referring to.
You need to retrieve that part appropriately.
Don’t try to get the sponsor id from a url you built. Get it from the url of the screen you are viewing. Just note that this is something you’ll have to test in the published app instead of the builder, as it’s actually looking at your current screen url of the builder when you are in it.
Also, the url you are pre-building is fine for building the QR code. Use is for that, but don’t keep trying to also use it as the current screen url, because it’s not.
yea thanks. i realize it is the current screen, precisely as is called. i think it’s the panic setting in, as i’ve tried a myriad of things trying to pass on the parameter to the person signing up. i just cant reset my mind as iv lost a lot of sleep over this. i feel so close to finishing the app.
so this has nothing to do with the way im cheating the append URL by combining the currentScreenURL with the logged in user’s ID? is it from the custom action? funny thing is there’s a lot of stuff i did in the app that i would consider more complex, only to be stumped by this.
edited the column to get part of the URL.
so now no User ID can be retrieved. how do i pass on the sponsor ID from here? really sorry to bother the top guys in the community. thanks
You have a space between sponsor and ID, there should be none.
I think they get the right URL even if it’s in the builder, it’s a very nice feature.
But what screen are you actually on in the app? You can just test it in the production app to see if it works.
im on the signup screen in the editor, but tested the live app. no sponsor ID was captured. the only setup i have to capture this is thru the custom action, with this config:
is the error from get sponsor ID column in the data editor, or in the custom action? really wish you can figure it out based on these screenshots. thanks