It is currently 22 April 2025, 11:53 Advanced search

Condizione where IonAutoComplete

Domande e risposte su come utilizzare Instant Developer Cloud al meglio

Condizione where IonAutoComplete

Postby A.Piunti » 4 July 2019, 13:30

Salve,
in una view ho un serie di filtri tra cui Ruolo ed Utente.
Per il ruolo ho utilizzato una ionSelect con una datamap che carico nel load della videata.
Per l'utente ho una IonAutoComplete con datamap e query (come mostrato in allegato).
Vorrei capire in che modo posso riportare il valore di sltRuolo nella condizione where di dmUtente, in modo da eseguire la ricerca per tutti gli utenti
del ruolo selezionato in precedenza.

Graize
Attachments
AutoComplete.PNG
AutoComplete.PNG (24.7 KiB) Viewed 2504 times
User avatar
A.Piunti
 
Posts: 317
Joined: 1 January 2015, 13:20

Re: Condizione where IonAutoComplete

Postby r.zambito » 12 July 2019, 10:44

Buonasera, dovrebbe poter scrivere:
Code: Select all
where IDRuoloDefault = $sltRuolo.value
.
r.zambito
 
Posts: 122
Joined: 17 June 2014, 7:38

Re: Condizione where IonAutoComplete

Postby A.Piunti » 15 July 2019, 15:54

Salve, seguendo il suo consiglio,
ho l'errore riportato in allegato.

Ho avviato l'app, selezionato un ruolo e successivamente provato a ricercare un utente per nome.
Attachments
errore.PNG
errore.PNG (94.76 KiB) Viewed 2398 times
User avatar
A.Piunti
 
Posts: 317
Joined: 1 January 2015, 13:20

Re: Condizione where IonAutoComplete

Postby m.sirri » 23 July 2019, 7:28

Guardiamoci in assistenza che dovremmo riuscire a capire.
User avatar
m.sirri
Pro Gamma
Pro Gamma
 
Posts: 8574
Joined: 30 September 2010, 17:01
Location: Ozzano dell'Emilia (BO)


Return to Tips & Tricks - Cloud

Who is online

Users browsing this forum: No registered users and 20 guests

cron