Need basic help with anonymous screen

Hello Cuba community,

I’m trying to create a basic screen accessible prior to login from an entity called Survey. It needs to be a link on the login screen that is accessible from a linkButton called “survey”. When I create this screen, I can’t seem to find a way to link it to the Survey entity. Everything that I’ve tried gives errors. In fact, the sample project I’ve tried to create is full of errors so I can’t compile it.

Is there any information you can provide as to how to create a screen that is connected to an entity, which is accessible outside of the login process?

Thanks,
Adam

Hi,

Please, take a look at Anonymous Access to Screens doc topic.

Regards,
Gleb

I appreciate your reply, Gleb, as always. I have great respect for your background of teaching and all that. However, I don’t see any examples of anonymous screens that are connected to an entity. The problem that I can’t yet figure out is how to properly attach an entity to an anonymous screen. I need the dropdowns from the entity, and not just “dumb” screens. Everything that I have tried is full of errors, so I was hoping for an example of how to incorporate an entity to a “Blank” screen for anonymous use.

Thanks,
Adam

Hi,

It would be helpful if you attach a stack trace so that I can try to figure out the cause of the errors

Unfortunately, documentation can’t cover all possible cases but still provides clue, e.g. in order to enable Info screen for anonymous users, it suggests the following:

Enable Info screen for anonymous users: start the application, go to Administration > Roles , create the Anonymous role in the role editor screen, and enable access to the Info screen for the Anonymous role. Assign the newly created role to the anonymous user.

The same is applicable for entities, you need to add permissions for an entity and its attributes.

Regards,
Gleb

Hello Gleb,

After working with it for a while, I think you are correct. I’m pretty sure there was an issue with the anonymous user having access to the entity/attributes.

Thank you,
Adam