Simple URL Redirect

  • 0
  • 1
  • Question
  • Updated 4 months ago
  • Answered
Our business has a number of applications that are all "connected" to one dummy application that houses the "Homepage" for Web Entry.

Right now, to access this homepage, users need to have the link sent them. I believe it would be easier if the users could enter something like :

www.company-name.quickbase/db/homepage

instead of:

www.company-name.quickbase/db/xxxxxxxxxx

Is this possible?
Photo of Noah McBride

Noah McBride

  • 356 Points 250 badge 2x thumb

Posted 8 months ago

  • 0
  • 1
Photo of Matthew Neil

Matthew Neil

  • 31,438 Points 20k badge 2x thumb
Different applications use and App ID, which is that 9 character 'xxxxxxxxx'.

There is no way around this, you have to have the app id.

If it is really too much for them to click the link sent to them, and you need a simple web address, you could buy a domain (www.mywebsite.com) and have that redirect them to the QB application.  Then it is easy to brand it as you'd like.

They go to the website, click a button "Enter My Info" and thats it...
Photo of Noah McBride

Noah McBride

  • 356 Points 250 badge 2x thumb
Thanks for your answer.

I figured this was the case. I will have to look into some other options
Photo of Andrew

Andrew

  • 192 Points 100 badge 2x thumb
If you do have a domain/site for your business, you can also eliminate the need to host the form entry on quickbase. You can create (code) a form to be hosted on a site and have it automatically add a record to the table of your choosing by using Quickbases API_AddRecord (https://help.quickbase.com/api-guide/add_record.html). I've implemented this and it works well. You can add similar functionalities to forms using js/jquery, bootstrap, and html.
(Edited)
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 26,512 Points 20k badge 2x thumb
>There is no way around this, you have to have the app id.

There is away around it using Service Workers. I can't demo it live because it would effect all of my demos but I assure you it can be done. One thing Service Workers can do is respond to "unknown" URLs with custom responses or responses from other known URLs.

I can demonstrate a similar type of URL manipulation with an existing application.

If you visit the home page of my Pastie application

Pasties Database ~ Home Page
https://haversineconsulting.quickbase.com/db/bgcwm2m3z

a Service Worker will be automatically registered.

Subsequent visits to any URL directed to the Pastie table such as this URL

https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=q&qid=125

Will always display the ?a=q&qid=1 response. Yes it is magic but it can be extremely useful and practical. Note that there is no query with qid=125. The Service Worker is simply intercepting the URL and always responding with the ?a=q&qid=1qid=1 response.
You can also use a URL shortener like https://bitly.com/ to redirect your users to any page in your app with a short easy to remember URL.

You can even create custom versions like: http://bit.ly/qbjunkie
Photo of Noah McBride

Noah McBride

  • 356 Points 250 badge 2x thumb
This was the solution that I came to. Thank you for the suggestion.