VALID IF - NEGAR CADASTRO & LIMITAR BOTÃO DE CADASTRO PARA USUÁRIOS

Olá, você pode me ajudar a configurar o botão de cadastro da plataforma para que ela faça a seguinte validação. Caso a RE apresentado não conste da LISTA AUTORIZADA, O CADASTRO NÃO DEVE SER REALIZADO, SE POSSÍVEL, SERÁ EXIBIDA UMA MENSAGEM EM VERMELHO COM AS INFORMAÇÕES: USUÁRIO NÃO PERMITIDO.
SEGUNDA AJUDA: COMO POSSO RETIRAR O BOTÃO DE CADASTRO DA LISTA AUTORIZADA PARA ALGUNS USUÁRIOS ESPECÍFICOS?

Captura de tela 2022-12-20 183855.png

 

Captura de tela 2022-12-20 184012.png

 

Captura de tela 2022-12-20 190949.png

 

0 7 244
7 REPLIES 7

I don't understand all your questions. In case it helps, here are some points.

  • Remove "Valid_IF - " from your Valid if expression. That's meaningless and likely a misinterpretation of some instruction somewhere.
  • Use a column's Invalid value error property to display an error message to the user if the value entered yields a result of false for the Valid if property's expression.

Vou tentar simplificar! 

No ícone HV ACESS, EU QUERIA FAZER COM QUE AO DIGITAR UM NUMERO DE MATRICULA, ELE VALIDASSE NA TABELA "LISTA DE AUTORIZADOS", A SE A MATRICULA CONSTA NELA, SE O VALOR A MATRICULA EXISTIR, O CADASTRO É CONCLUÍDO, SE A MATRICULA NAO EXISTIR NA TABELA, O Usuário NAO CONSEGUE FINALIZAR O CADASTRO.

Segunda ajuda! 

Queria limitar alguns botões a determinados usuarios da plataforma. 

Ex: NA LISTA DE AUTORIZADOS

TIRAR O BOTAO DE INSERIR UMA NOVA PESSOA 


@RodrigoFranco wrote:

No ícone HV ACESS, EU QUERIA FAZER COM QUE AO DIGITAR UM NUMERO DE MATRICULA, ELE VALIDASSE NA TABELA "LISTA DE AUTORIZADOS", A SE A MATRICULA CONSTA NELA, SE O VALOR A MATRICULA EXISTIR, O CADASTRO É CONCLUÍDO, SE A MATRICULA NAO EXISTIR NA TABELA, O Usuário NAO CONSEGUE FINALIZAR O CADASTRO.


You're on the right track with the IN function. You want the expression to return true if the column value is valid. So, perhaps you need to remove the NOT function from your expression.


@RodrigoFranco wrote:

Queria limitar alguns botões a determinados usuarios da plataforma. 


Limit users to particular tables, views, and actions - AppSheet Help

Current User (Slice) | How to conform your app a... - Google Cloud Community

Flexible user role management - Google Cloud Community  

ELE ABRIU UMA LISTA COM TODOS OS QR CODES CADASTRADOS, MAS GEROU UMA TELA NOVA. 

É POSSIVEL CAIXA INICIAL DE RE SEM GERAR UM OUTRA TELA?

Captura de tela 2022-12-20 215445.png

Maybe not. If you're indeed using an IN expression, then it looks like AppSheet is treating that yes/no Valid if condition the same as if you provided a list expression in the Valid if property.

Thanks for the first support.

My second need is to eliminate a button for a given user, and I couldn't either through the links.

Can you guide me too?

 

In the action's Only if this condition is true property, enter an expression that results in false for the user. For example:

USEREMAIL() <> "user@example.com"
Top Labels in this Space