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

  • Asked
  • Active
  • Viewed 2624 times
0

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

0

Accepted answer

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

0

Accepted answer

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

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.