Difference between revisions of "Legislative Information Lookup"

From SmartWiki
Jump to: navigation, search
m (How to Configure the Feature)
m (How to Use the Feature)
Line 12: Line 12:
  
 
=How to Use the Feature=
 
=How to Use the Feature=
Note multiple address types must NOT be enabled if you wish to use this feature. (Global Settings > System Tab).
+
<u>'''Note:'''</u> Multiple address types must NOT be enabled if you wish to use this feature. Go to '''Global Settings''' >''' System''' tab to view settings. 
  
 
# Open an organization record that has a U.S. address.
 
# Open an organization record that has a U.S. address.
# Next to the '''Address''' standard field, click "Populate Legislative Information."
+
# Next to the '''Address''' standard field, click "Populate Legislative Information" (arrow button). 
 
# Click '''Save''' to store the populated data in the record.
 
# Click '''Save''' to store the populated data in the record.
  

Revision as of 22:38, 17 February 2025

Overview

The Legislative Information Lookup feature allows administrators to pull legislative data into Text Box – Single or Multiple Line custom fields. This data includes the Representative Name, District Name, and District Type for both the Assembly (lower house) and the Senate (upper house) based on the organization's address.

Note: This feature is NOT available if multiple address types are enabled. You can check this setting under Global Settings > System tab.

How to Configure the Feature

  1. Navigate to Global Settings > Organizations tab and toggle on Enable Legislative Information Lookup on Organization Address Standard Field.
  2. Click the Add button to insert a new mapping row.
  3. In the Mapping Field column, enter the path to the desired data (Example: "reps\lower\full_name").
  4. In the Custom Field column, enter or paste the name of the "Text Box – Single" or Text Box - Multiple Line" custom field where you want the data to be stored. If the field exists, it will appear below the input. Note: You must select the field after pasting or typing the name.
  5. Click Save. Repeat the process for any additional data mappings.

How to Use the Feature

Note: Multiple address types must NOT be enabled if you wish to use this feature. Go to Global Settings > System tab to view settings. 

  1. Open an organization record that has a U.S. address.
  2. Next to the Address standard field, click "Populate Legislative Information" (arrow button). 
  3. Click Save to store the populated data in the record.

Mapping Field Paths

Upper and Lower house data is sourced from OpenStates.org.

State Senate (upper house)

Data Mapping Field
Representative Name: reps\upper\full_name
District Name reps\upper\district
District Type reps\upper\party

State Assembly (lower house)

Data Mapping Field
Representative Name: reps\lower\full_name
District Name reps\lower\district
District Type reps\lower\party

House of Representatives (Data no longer available) Google has sunset this data feed as of April 2025. https://groups.google.com/g/google-civicinfo-api/c/9fwFn-dhktA We will continue providing state legislator data for both the upper (Senate) and lower (Assembly) houses using a feed from openstates.org (above) however Federal Legislator Data (below) will no longer be available. If you have organization mappings with entries like "city\X" in the mapping column, those fields will stop returning data. You may wish to remove these mappings and hide the associated custom fields. This setting can be adjusted under: Global Settings > Organizations. The specific fields to review are listed in the "Custom Field" column.

Data Mapping Field
Representative Name: city\offices\offcials\name
District Name city\name
District Type city\offices\offcials\party