Recolha offline
Colocar formulários e listas de pessoas inquiridas num dispositivo, recolher dados sem ligação e o modo como as respostas são enviadas quando volta a estar em linha.
O trabalho de terreno acontece onde não há rede. O CommonLynk Forms pode ser instalado num telemóvel ou num tablet e utilizado sem qualquer ligação, guardando no dispositivo o que for recolhido até ser possível enviá-lo.
Instalar o Forms num dispositivo
Abra a lista de formulários no navegador do dispositivo. Se o navegador o suportar, surge uma faixa com a proposta: Adicione o CommonLynk Forms ao ecrã principal para utilização offline, com um botão Instalar e um botão Mais tarde.
Escolha Instalar e é adicionado ao dispositivo um ícone do Forms, junto das restantes aplicações. Não há nada a obter numa loja de aplicações: o que instalou é a própria plataforma, preparada para abrir como uma aplicação.
Colocar os formulários no dispositivo
A collector's device ticks for download the forms that collector is assigned to, the forms it already holds, and the forms marked Available to all collectors in their Settings. The rest are offered behind Show all. The setting decides what a device downloads by default, never who may open a form.
The device button in the top bar opens On this device (it stays in the top bar at every width; on a form's fill page it sits beside the ⋮ menu). It is a short summary, the same on every page: how many forms are ready for offline use, how many drafts and how many responses waiting to send are on this phone, each a link (the forms list, Responses and the outbox), and Check for updates. On a form's own page it starts with that form: ready or not, its version, its drafts and what is waiting. The forms you collect on are chosen on the forms list, under Forms for offline use: each form, the version the device holds and whether it is ready. A form with a respondent list is ready only when its list is on the device too, and the list shows how many people it holds and when it was last updated.
On wifi, forms and their respondent lists download in the background, with nothing to answer. On mobile data, and whenever the browser cannot tell which kind of connection it has (only Chrome on Android reports this), nothing large downloads by itself: the readiness line says what is waiting and how large it is, and a tap downloads it. This is checked when your home page opens (your dashboard, or the forms list if that is where you land after signing in), when you open Forms for offline use on the forms list, and whenever the connection comes back. Opening a form that is not yet on the device while on mobile data asks you once, stating the size.
While forms download, a slim line at the top of every page says where the download is: "Downloading forms: 3 of 5". The total stays the same until that batch is done; a form that arrives meanwhile starts the next batch. If the app or the browser is closed during a download, the next time it opens the line says "Finishing the forms download: 3 of 5" and continues the same batch. A form that could not be downloaded is named with the reason, such as a weak connection or not enough space on the phone, with Try again; the others go on. When everything is downloaded, the line says "All forms are ready offline" once, then goes.
In the CommonLynk app a download also finishes in the background: when the app sends saved forms while it is closed, it finishes the current download batch too, on the network chosen under Send automatically (wifi only, or wifi or mobile data). It downloads only the forms already chosen for offline use, and removes nothing.
Quando é publicada uma versão mais recente de um formulário, um dispositivo que tenha conhecimento dela transfere a nova versão antes de iniciar uma nova resposta; sem ligação, a página indica que é necessário atualizar primeiro. Uma resposta já em curso é concluída na versão em que foi iniciada.
With no connection, tapping a form that is ready on the device, in the forms list or on Fill Survey, opens it for a new response. A page that is not on the device says so, and links to Forms on this device.
A form that is ready on the device opens the same page with or without a connection: the same version, the same first page, the same buttons, the same question when you press Exit and the same checks. With a connection the device first asks whether its copy is still current. After a new version is published, or an update to CommonLynk changes the form page, the device replaces its copy at its next update, and until then opens the page from the server. Save keeps the response on the device, under In progress on this device. Without a connection the phone collects on the version it holds, and the page says when a newer one exists.
Trabalhar sem ligação
Sem ligação, o trabalho prossegue normalmente. As respostas são guardadas no armazenamento próprio do navegador nesse dispositivo: uma resposta que esteja a meio é mantida como rascunho, e uma resposta submetida é adicionada a uma fila de espera para envio.
Enquanto o dispositivo está offline, uma faixa no topo do formulário indica-o e mostra quantas respostas estão em espera. Submeter offline adiciona a resposta à fila e confirma-o com a mensagem Guardado offline. Uma resposta a que falte uma resposta obrigatória não é aceite no dispositivo; a página mostra o que está em falta.
Photo, video, file and voice questions work without a connection. What you capture is kept on the phone with the response and sent with it, so nothing is lost when the signal drops. Photos are made smaller on the phone before they are kept. A recording stops and is kept if you leave the app or move to another question. When the phone is low on storage it says so before you record: send your saved forms.
Uma resposta relativa a uma nova pessoa pode ser iniciada sem ligação quando o formulário e a sua função permitem registar pessoas. Os dados da pessoa acompanham a resposta, e a pessoa é registada quando a resposta chega ao servidor.
Quando o formulário tem uma lista de pessoas inquiridas, a lista fica guardada no dispositivo. Toque em Preencher e a página pergunta Quem está a entrevistar? Pode pesquisar por número de identificação nacional, telefone, nome ou referência, sem rede. Quando a pessoa é encontrada, o formulário abre com respostas preenchidas a partir do respetivo perfil, identificadas com a data da lista existente no dispositivo. Quando não há correspondência, pode registar uma nova pessoa, se o formulário e a sua função o permitirem; os agregados familiares e os estabelecimentos que não constam da lista são registados em linha. Uma pessoa que não consta da lista, ou que ainda não cumpre o critério do formulário, pode mesmo assim ser entrevistada, e a página indica que a resposta ficará pendente de decisão.
A form that uses a platform list carries that list on the phone, in every language the form uses, including the links between levels, so a location question that follows another one works with no signal. When the list changes, the form gets a new version and "Check for updates" downloads it.
The form on a phone
On a phone the fill page keeps the screen for the question. The top bar holds ✕ Exit, the form's name and the ⋮ menu. Below it, one line names the section you are in and how far along you are, and one small line says who the response is for. Back and Next stay in a bar at the foot of the screen, and on the last screen Next becomes Submit. Saving stays in the top bar: Save beside the ⋮ menu on a wider screen, Save progress inside it on a narrow phone.
When a response cannot be submitted yet, one summary opens listing each answer to check, and each line is a link to its question. A reason the server gives sits under the question it is about.
All questions, in the bar at the foot of the screen, lists every question you can reach, in the form's order, and says of each whether it is answered, required and not answered yet, or not answered, in words and with a mark. Each entry of a repeat is a group of its own, named by the repeat, its number and its first answer, for example Crop 1 followed by Onion: open it to see its questions, and the entry you are in opens by itself. A repeat with no entries yet is one line that opens the repeat. Choose a line to go to that question. Questions the form's rules hide, calculations and notes are not listed.
The last line of the ⋮ menu names the version of the form you are filling and, once this device keeps the form for offline use, the day it downloaded it, for example Version 8 · downloaded 18 Nov. On this device shows the same on each form's row.
When the device learns of a newer version while a response is open, one line says so. The response is finished on the version it started on, never switched under it, and you update the form afterwards.
O que contém a lista de pessoas inquiridas no telemóvel
A lista contém o que um agente de recolha de dados precisa para encontrar as pessoas. São visíveis os nomes, os números de referência e os últimos quatro caracteres de cada número de identificação. Um campo do perfil só fica no telemóvel em formato legível se o formulário o preencher a partir do perfil. Os números de identificação e os números de telefone circulam como hashes, utilizados apenas para pesquisa: não são apresentados, o que os oculta de um olhar casual mas não os protege. Os campos relativos à situação de proteção, como o grupo populacional e a deficiência, nunca são colocados num telemóvel.
A lista é cifrada no dispositivo. Isso impede que alguém leia o respetivo armazenamento copiado do telemóvel. Não impede que alguém utilize o telemóvel desbloqueado.
Quando a lista sai do telemóvel
A lista de pessoas inquiridas é retirada do telemóvel:
- quando termina sessão, incluindo sem ligação;
- quando outra pessoa inicia sessão no telemóvel;
- quando o formulário, ou a respetiva lista, deixa de lhe estar atribuído;
- quando um gestor ou uma gestora marca a recolha do formulário como concluída.
Depois de um gestor ou uma gestora marcar a recolha como concluída, nenhum dispositivo volta a transferir o formulário e não é iniciada nenhuma nova resposta offline com ele. Cada dispositivo retira de si próprio a página e a lista de pessoas inquiridas do formulário da próxima vez que se ligar, e apenas depois de ter comunicado que nada relativo a esse formulário aguarda envio, incluindo uma resposta em curso. O que é retirado fica guardado à parte no telemóvel durante 30 dias, pode ser restaurado em Neste dispositivo, na secção Removido deste dispositivo, e é depois eliminado. As respostas tardias continuam a ser aceites.
Um gestor ou uma gestora pode indicar a um dispositivo que nunca irá comunicar, como um telemóvel perdido ou avariado, que deve ser limpo mesmo assim. As respostas que não tenha enviado permanecem nele e continuam a ser enviadas se alguma vez se ligar.
Nenhuma destas situações remove uma resposta que ainda não tenha sido enviada.
Rascunhos e respetivo restauro
Um rascunho guarda-se automaticamente enquanto escreve, cerca de um segundo e meio depois de parar. Não precisa de premir nada para que isso aconteça, e acontece quer haja ligação, quer não.
Your drafts and the responses waiting to send are listed at the top of Responses, under On this device, online and offline. Each draft shows its title, when it was saved, how far along it is and whether the server already holds its latest save; Continue opens it on the version it was started on, where you left it.
Enviar o que recolheu
Uma resposta submetida é enviada quando o Forms está aberto com ligação: quando uma página é carregada, quando a ligação é restabelecida e, periodicamente, através de um temporizador de nova tentativa enquanto a página permanece aberta. Nos navegadores que o suportam, como o Chrome, pode também ser enviada em segundo plano. Uma resposta só sai do dispositivo quando o servidor confirma que a guardou, ou que já a tinha, pelo que uma nova tentativa nunca cria uma segunda cópia.
O envio requer que tenha sessão iniciada. Uma resposta recolhida numa conta fica em espera no telemóvel até que o respetivo agente de recolha de dados volte a iniciar sessão.
Uma resposta que o servidor não consegue contabilizar tal como está, por exemplo relativa a alguém que não consta da lista, com um número de identificação já registado ou com um valor que não foi possível guardar, é guardada mesmo assim: como incompleta, para ser concluída pelo agente de recolha de dados, ou pendente de decisão de um gestor ou de uma gestora. Não permanece no telemóvel.
A lista de formulários mostra quantas respostas aguardam envio e as que o dispositivo não conseguiu enviar, com o respetivo motivo. O envio é interrompido após falhas repetidas, e Tentar novamente retoma-o.
Se o endereço do seu espaço de trabalho tiver mudado, as respostas ainda em espera no endereço antigo são enviadas a partir do Forms no endereço antigo enquanto este ainda responder, e o Forms encaminha-o depois para o novo endereço.
A form that does not say who it is about (it has no respondent group) cannot register a new person typed on a phone. If a phone still sends one, nobody is registered: the response is kept with every answer and the details typed, and waits in Needs resolution for someone to decide.
The first time someone signs in through the CommonLynk app on a phone, a page called Getting this phone ready for field work shows what that person needs offline: their settings and language, the lists of places, the forms, the respondent lists and the pictures and files the forms use, each with a mark and a count, and the space used on the phone. Done, start working becomes available once everything is on the phone; Start now goes straight on while the rest downloads in the background. It is the same download as the On this device panel, and someone with nothing to download offline never sees the page.
The app's own screens appear in every language the workspace offers, with no app update. Their texts come from the platform's translations; for a language those do not cover yet, the workspace can fill the missing texts in its Translation Manager, under App texts, and until then those texts show in English.
Signing out on a shared phone
Responses not yet sent and drafts are encrypted on the phone. When you sign out with responses still waiting, you are asked first: send them now, or delete them from the phone and sign out. Nothing is deleted unless you confirm. A session that times out keeps everything.
O que requer ligação
Algumas operações requerem ligação:
- No formulário de nova pessoa, a escolha de uma localização abaixo do primeiro nível e a verificação de um número de telefone.
- O registo de um agregado familiar ou de um estabelecimento que não conste da lista de pessoas inquiridas.