Hey everyone,
I am building estimates page for clients in which I have designated page that is type estimate that will display the estimate of each client, the question is how can I get the URL that will be generated for that specific client and how can I send a link to that client to view it even when they are not registered?
So I need to change page āview estimateā instead of type estimate to be type database - search for estimates? would the page still stay dynamic?
what I still dont understand is how do I know what would be the page ID (as per your example anything after the (ā¦estimate/ ) and also how would that affect if this client has multiple estimates?
I am triggering an email sent after clicking āsend estimateā so I need to know the ID before so it can be sent as a link for the client to view in the same email.
Assuming the data youāre creating is called Estimate, when you create it in the workflow, you can reference it later in the same workflow. In the āSend emailā function, the body of the email, you could include a link to āResult of Step 1ā or whichever step creates the data.
On the page youāre directing them to, again, assuming the data type is set to Estimate, you build the page out with elements, like the header would be a text element, and itās data source set to āThis Pageās ClientNameā. Now the URL linking to the newly created estimate is going to go to a page showing the data however you have built the page to show it - and itāll know just based on the URL and automatically apply that to the page - no need to do a separate search.
Yes thats correct the type of data on that page is āestimateā.
I understand exactly what you mean with the page URL and this is also how i imagined it to look at the end but I am not understanding where can I extract those numbers and how to link it in the workflow on my email send.
I attached 2 pictures of the ācreate estimateā button preferences as well the overall workflow hopefully you would be able to spot anything.
I am using dynamic templates in SendGrid so I have the body in SendGrid with the {body} parameter which I reference later in the SendGrid Email just like your example - I realized that the source was wrong and now the link comes in the email the problem now that the data doesnt show when the estimate page opens (template is empty).
Are you intending on linking to the User ID, or the Estimate? If youāre wanting to link to the user, youāll need the āview_estimateā page set to type āUserā instead.
And then on that page, build out what data should appear, like Client Name, List of Estimates, etc.
I see then probably the issue is like you said linking user id instead of estimate id, how can i generate id for the estimates? that would essentially be the URL right?
Thatās when Bubble automatically assigns it the UniqueID. Anything else you do in that workflow can reference that newly created estimate. Iād recommend getting away from the template in Sendgrid and start with just the basic Text in the body field, get that working like you need (example.com/view_estimate/23487384738x723487393) , and once you get that link going where you need it, then you can work on dressing it up with a template or HTML. I like going to the basics and getting them working before I focus too much on the look of it - that way thereās fewer variables to deal with when troubleshooting.
Once you get an email sent with the format example.com/view_estimate/[estimate unique id] also check Privacy Rules because usually those will only allow the creator to view it but in your case you want it public.
IF esitmates are based on user, there is no need for uid or anything in the url after the page. When the user lands on the page, set the container of the page to the current user, and thatās allā¦ makes the email much easier as it can be a static linkā¦
Iām encountering an issue with user profile sharing in my Bubble app. User profiles are saved as slugs, and while sharing works correctly on desktop, the slug isnāt included in the URL when sharing via mobile. This leads users to an incomplete URL on mobile devices. Additionally, text placed on the index page is visible on desktop but not on mobile. There are no conditional settings affecting this, and Iām familiar with responsive settings, but nothing seems to explain these issues. Any help would be appreciated. Thanks.