CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Community Sponsored Improvements (Moderator: Donald Lobo) »
  • spreadsheet-like data entry interface
Pages: [1]

Author Topic: spreadsheet-like data entry interface  (Read 7499 times)

julianbrelsford

  • I’m new here
  • *
  • Posts: 28
  • Karma: 2
spreadsheet-like data entry interface
January 27, 2011, 03:01:48 pm
We are wanting to have a spreadsheet style data entry interface for people who are used to a very simple system of tracking addresses. My estimate is that it will only take a few hours of coding / testing before the system is workable. This will be done using PHP/javascript. Please let me know if you have a tool that already does this, or if you have suggestions to make this project work well.



Reasons for wanting spreadsheet style interface:
o spreadsheets are familiar to many of our users
o Save time navigating from record to record (versus one-record-at-a-time interface)
o Being able to see multiple records at once allows the user to see data inconsistencies
(for example, if the other records use the abbreviation “apt” for apartment, or a date-
format with slashes in it, you’ll be able to follow the example of those other records)
o Using a “main” view that only includes the most-frequently-used columns (see above)
will reduce confusion

Column headings will be:
o first name (informal)
o last name
o address (#-street,city, state, zip)
o email
o phone
o membership-status,
o date-of-birth
o hidden columns: raiser’s edge ID;CiviCRM ID

initially, the output will be a simple import file that can be imported by CiviCRM. depending how things work out, we may later set this module up to use CIVICRM's APIs instead of creating a CSV file that can be imported.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: spreadsheet-like data entry interface
January 27, 2011, 05:58:51 pm

few thoughts:

1. might want to use a jQuery based spreadsheet. We use the dataTables for some spreadsheet like stuff:

http://www.datatables.net/

2. might be easiest to actually do this via AJAX. CiviCampaign uses a grid for data entry in the "Interview Process"

3. Would be great if you can build "extensibility" into it from the beginning. Will allow other folks to modify it much more easily

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: spreadsheet-like data entry interface
January 27, 2011, 10:30:15 pm
with the ajax api, you have the backend ready, and datatable is highly recommended indeed

you might want to use profiles as a way to let admin choose what fields they want to use

check the chapter in the book, should get you started.

good luck

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

miko

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 2
  • CiviCRM version: 3.4.5
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.77
  • PHP version: 5.2.11
Re: spreadsheet-like data entry interface
April 13, 2011, 12:00:16 pm
what chapter?  what book?  :)  I have Using CiviCRM.  But I really wan to know the easiest way to remove fields from profiles and make a compact quick in-out data entry screen.  I'll go look at DataTables but was hoping to avoid another "product."

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: spreadsheet-like data entry interface
May 13, 2011, 08:20:46 am
this js component is already part of civi.

No matter your way, you will have custom code. I'm sure the UI will be better with datatable, and almost sure it would be faster to code it this way.

Did you hack a solution already ?
X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: spreadsheet-like data entry interface
December 23, 2011, 03:47:19 pm
How is this idea different from the existing "Update contacts via profile"?
Try asking your question on the new CiviCRM help site.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: spreadsheet-like data entry interface
December 24, 2011, 05:33:08 am
One difference might be to allow to add, not only modify.

The other would allow to modify only the rows that you really modify. I think the batch update save them all, no matter if they were changed or not.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: spreadsheet-like data entry interface
December 24, 2011, 08:13:30 am
As an aside,  slickgrid is a jquery grid that makes it easy to add in place editing and that seems to be getting a lot of traction
https://github.com/mleibman/SlickGrid/wiki
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Community Sponsored Improvements (Moderator: Donald Lobo) »
  • spreadsheet-like data entry interface

This forum was archived on 2017-11-26.