Got a HTML code from QB Wizard see via - http://pastie.org/10291532. Error I have is error 22--Sign-in required. How do i fix it?

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered
Photo of Ben

Ben

  • 0 Points

Posted 4 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,224 Points 20k badge 2x thumb
What Are QuickBase Snippets?
Photo of Daniel A

Daniel A

  • 40 Points
Hello,


The error to request sign-in is based on the web page that your embedding and if the web form is allowed on the App to be Everyone on the internet to allow to view the Web form you create.


see more details on the Help link:

http://quickbase.intuit.com/developer/knowledge-base/whats-easiest-way-create-generic-html-data-entr...

This wizard works with application tokens. If you want to use Application Tokens with this wizard add the following token to your application: cwfcy7gdzqrsyncqbi2bn4u4kr. If not, you can leave the application's token requirement set to disabled.



-QuickBase Customer Care


Photo of Ruben

Ruben

  • 0 Points
Thanks Daniel. When I am logged in to our QB, web form (in our website) is working fine, in IE, Firefox and Chrome. So basically the information from our website (form) is passed on to our company's QB. Problem is when I am not logged in that is when I am given the XML reply that says : http://pastie.org/10293266. I already disabled the Application Token by unchecking --->under App Properties : Application Tokens Require Application Tokens (normally checked)  End goal is public can ask inquiry via Website Form, which will be passed on to our QB for data recording, I just could not find or think where I missed a step.
Photo of QuickBasePros (Laura Thacker)

QuickBasePros (Laura Thacker), Champion

  • 5,466 Points 5k badge 2x thumb
Do you have an "Everyone On The Internet" User in your Users screen, and does it have a Role with limited capabilities, or is it set to None?
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,224 Points 20k badge 2x thumb
Your code in a jsFiddle all TidyUped up and JSHinted:

jsFiddle - Embedded Version
http://jsfiddle.net/evf4adve/embedded/

jsFiddle - Editble Version
http://jsfiddle.net/evf4adve/


The action on the form uses a URL with the subdomain www when it should be your account subdomain

https://example.quickbase.com/db/bj3vc3z73
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,224 Points 20k badge 2x thumb
BTW, here is a version of your form all gussied up and looking fabulous with Bootstrap:

jsFiddle - Embedded Version
http://jsfiddle.net/4getbo7h/embedded/


jsFiddle - Editble Version
http://jsfiddle.net/4getbo7h/

I have no idea this version of the would be operational as is as there could be typos. I am just trying to demonstrate that is it easy to create custom form that looks beautiful both external to QuickBase (as in your case) or within QuickBase.
Photo of Ben

Ben

  • 0 Points
Set to None - when I Share>Manage Users>Add User>Select a group - it does not give me a selection "Everyone on the Internet". Even if My Quickbase>Manage your billing account >Summary Tab>Edit Account Properties>Allow Public Applications is already ticked.
Photo of QuickBasePros (Laura Thacker)

QuickBasePros (Laura Thacker), Champion

  • 5,466 Points 5k badge 2x thumb
I think the problem is that it's set to None.  You should create a custom-role for the EOTI User which allows them to create records but not view or modify any.  You may already have a Role for them, and it got set /changed to None by accident.
Photo of Ruben

Ruben

  • 0 Points
Got this working now. If you come across same issue please don't hesitate to contact me. Will be glad to help.