---
title: "How does set the specify record based on the users' name?"
url: "https://openforis.support/questions/3031/how-does-set-the-specify-record-based-on-the-users-name"
tags: ["collect"]
status: "answered"
score: 0
answer_count: 2
asked: "2021-01-20T11:47:49"
last_activity: "2021-01-22T11:40:29"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# How does set the specify record based on the users' name?

Asked by kedarkus on 2021-01-20

Dear Sir/Madam, I would like to inform you that I am using openforis collect 4.0.8. I am trying to enter data by mulita users by creating Users and Groups. But, I wanted to allow to appear recorded data with respective users locations only. Such as user1 lies in a location: province1 only allows to enter data and appear province1 only. How we can be set the Record attribute/code list filter. I have set Attribute/code list name “province” then code 1 for user1 as Handbook instruction. But it doesn’t work to set the specific record province1 only. Kindly suggest fixing this. 

Thank you, Sincerely, Kedar


## Answer (score 0, by Stefano (OF) on 2021-01-21)

Link: https://openforis.support/questions/3031/how-does-set-the-specify-record-based-on-the-users-name/3032

Dear Kedar,  
Unfortunately with the version 4 of Collect this feature is not working anymore as expected, but it will work from version 4.0.10+.  

Meanwhile, please follow these steps:  

 - in the Survey Designer define a code list with all the provinces, with code like for example province_1, province_2, and so on
 - define a code attribute "province" and mark it as "qualifier", using the flag in the Survey Designer attribute editor
 - define user groups and for every group assign a value among the qualifier values (for example one group will have value "province_1", another one "province_2" and so on)
 - each user with only data_entry role, belonging to a group for which a value for the qualifier has been specified, will not be allowed to edit a "qualified" field (the attribute "province") and it's value will come from the specified one in the group; also in the records list, only records belonging to the same group will be visible;

Thanks a lot,  
Open Foris Team


## Answer (score 0, by kedarkus on 2021-01-22)

Link: https://openforis.support/questions/3031/how-does-set-the-specify-record-based-on-the-users-name/3034

Dear Open Foris Team, 

Thank you very much for providing useful instruction to set the specific record based on the user's name. Based on the instruction I have tried it and now having to face the following errors: 
HTTP ERROR 404 Not Found
URI:	/collect/perform_login
STATUS:	404
MESSAGE:	Not Found
SERVLET:	dispatcher

Please suggest how do I fix the problems. I have uninstalled the openforis and reinstinalled it by the newer version but still having the same error. 

Kind regards, 

Kedar
