Jump to content
  • 0

Parameters Not Showing


Louie

Question

Hi There,

I'm having issues with this tutorial. I have successfully completed all steps, however, the redirection on login isn't working.

My table looks as follows:

Screenshot2023-06-14at23_29_47.png.6dac01d0cccc6ca51338fb432397a43e.png

However, when I am creating the DataPage for 'Login Screen', I do not see any List DataTypes within the Insert Parameter drop down.

Screenshot2023-06-14at23_30_11.thumb.png.933924e9f239dd654db2617135bffeae.png

I have tried manually typing the parameter in, but this causes the script to jump straight to else and return the incorrect page. I hope this makes sense!

 

If someone could advise why the parameters aren't appearing and why they're not being looked up when manually typed in, I'd be grateful!

 

Thanks in advance.

 

Screenshot 2023-06-14 at 23.29.47.png

Screenshot 2023-06-14 at 23.30.11.png

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello @Louie,

It looks like the List data type is not supported in auth parameters.
I tested the same field as in your table to check the value in the browser console and it is empty:
YKMMW5F.png

Console:
ySHaysL.png

Please note that the List data type is not rather normal for the databases. So, it has some restrictions that are mentioned in this article. I cannot see exactly this restriction so you may check with the support team  https://howto.caspio.com/tables-and-views/data-types/list/

It is always better to use the Text(255) field instead of List_String. 

Link to comment
Share on other sites

  • 0

Hello @Louie,

I checked with the support team and they confirmed that the List data type is not supported in the Authentication Fields parameters.
They will update this article https://howto.caspio.com/tables-and-views/data-types/list/
So, please change the data type for the Role field. It should be Text(255).

If you have further questions, feel free to update this thread. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...