Categories
Uncategorized

How To: Handle Qualtrics .csv reordering in Pitt Form

unknown

  1. This work spec is no longer in use and soon to be removed.
  2. In Qualtrics, export a .csv file (seen in grey above) containing data from the PITT Form survey (seen in blue above) that has experienced a change in question order. Unzip them to your desktop. The name of this file is very important – DO NOT RENAME IT from either “PITT_Form2”, “PITT_Form__Class_of_2018”, or “PITT_Form__Class_of_2019” AKA <<Name>>.
  1. In FileMaker, delete the table named “<<Name>>” (seen in purple above). Also remove the Table Occurrence for this table. Delete layouts “<<Name>>:All” and “<<Name>>:Blank”.
  1. Select File>Import>File… and <<Name>>.csv from your Desktop.  Click Open.
  1. From the “Target” dropdownselect New Table: <<Name>>. Be sure to check the bottom left box next to “Don’t import first record (contains field names)” before clicking Import.
  1. This creates the proper new table, as well as a new layout. Rename this automatically generated layout to “<<Name>>:All”. Move it to the layout subdirectory “Admin/All/CSV Processing Tables/”.
  1. Switch to Table View. Delete all records.
  1. Duplicate the layout “<<Name>>:All”. Rename it to “<<Name>>:Blank”. Click Modify in the top right corner, and uncheck all fields. Click OK. Move this layout to the layout subdirectory “Admin/Blank/” and uncheck it from the list of displayed layouts.
  1. In the FileMaker Script Workspace, open the script “importCSV(TableFileName)”. Scroll to the code block beginning at line 51.  In the If/Else If statement, double click the Import Records script step executed if $tableFileName = <<Name>>.  From the top left “Source” dropdown, select <<Name>>.  From the “Arrange by:” dropdown, select matching names. Click OK. Click Import on the ensuing popup. Save and exit the script.

Note:  If questions or answer options have been added, there is also a need to add those fields to the Qualtrics table.

Categories
Uncategorized

Add Mentor to the Special Topics DB

Trigger: A student has requested a mentor who is not listed in the Special Topics DB. When they submit their form, it is marked as “pending” and a help ticket is generated. The help ticket becomes the trigger

  1. Check with Registrar to see if the person is in her system so that she can register the student with that person
  2. FWD to Susan for approval
  3. if Yes,
  4. Add person to faculty table in special topics
  5. Add name to the value list “Faculty List Used”
  6. go back to appendix A,
  7. change Mentor to the requested person
  8. Trigger script to submit appendix A
  9. Send a help ticket to have the mentor added to RX-FMS-SpecialTopicsFac
  10. Notes: The reason the value list is manually edited rather than the list being  dynamic value list is so that the names are in alpha order instead of creation order
Categories
Uncategorized

Adding persons and other changes to PharmSchool DB

Trigger: Get a DM Update from Kellie

Overall process:

Download and save the xlsx file from Kellie

Rename the file to look like this: “08_15_19_DMdatachanges.xlsx”

Open XLSX spreadsheet: Summary Tag

Make list of emails for those who left to use in Mailman

Delete anyone who left
Revise any record with changes
Add new people

Delete process

Go to layout Person:All

Find the person to be deleted and export the field distlist_export

Manually delete records for those who left

Go into the appropriate email lists and delete

Revise Process

Based on what data needs to be revised, go into the appropriate table and make the revision

Adding process overview:

Add to person table
Export out with new Person ID
Import into Directory table

Import into Faculty out other tables as needed
Import into address table

export for addition to email distribution lists

Add to person table

NOTE: Need a way to fix the office addresses–

Make row K “MGT”
Put an X in row K for all that are being added
Drag XLS to FMP to convert to a DB- use “Demographic”
Do a find for MGT = x
show ommitted
Delete all found
Revise field names to be:
Name first -> name_First
Name last -> name_Last
UNIV ID -> UnivID
Degree -> name_Degree
Dept -> department

Add field “Person_ID”
Add field “activeDirectoryUsername” calc field =  LeftWords (Email; 1)
Add field Type

Import record to the Person table of PharmSchool
Go to the DM converted DB and Link it to PharmSchool with match field as activeDirectoryUsername or UNIVID

Update records in the DM converted to add id_Person to the matching records

Go to the Directory:All layout and import the records from DM Converted
Use matching names, EXCEPT set activeDirectoryUsername to import to the field username

NEED to add instructions about filling “username”

In PharmSchool, go to layout Address: All do import from DM Converted

id_Person -> id_Person
Office -> Line 1
Need to add code to change building abbreviation

Go back and add a photo or a placeholder photo in the person table

Go into the Person table, and do export of distlist_export, and add to the appropriate lists

Find all MGT = x and set that fields to be empty

If any “type” is faculty, post doc or grad student there is more to do

For Grad and Faculty where Annual Review is “1”

Add records to the AR table and AR calc table

Add names to the “Bold” script.

Categories
Uncategorized

OverdoseFreePA Error Logs: Weekly Report

Unzip the zipped file.

Name error log with date MO_DA_YR_php55_errors.log

Drag error log onto FMP and convert to DB

Open the clone, and import into the clone

Find all rows that start with a “[“

Run script Trim and Set

Then find by Month and do Setas[month] scripts

Then you can do a find based on the field timestamptimestamp

At the end, so a “save as” compact file

Then do a delete all records

Categories
Uncategorized

Prep Student Scholarship Application Each February 1

How to set up the Scholarship Application each year

Note Spring 2019:  The plan is to move to a University managed system (was to be 2019 but more likely 2020) If we use our system again, a process needs to be sorted out for the incoming class data and keeping it up to date in the RxStudent table and the way that impacts the “import” steps below. Idea: Use the emplid upon first import, and then use emplid on subsequent imports, but after the first use “update matching records/add new.  This won’t delete any students who have decided not to attend- that will still have to be done nmanually

Delete all applicants

On the Utilities :All layout, export the worksheet to desktop

Add new Utilities record

On layout Applicant: Home, confirm or revise the open and deadline dates

Import a file FROM RxStudent where class year = the 3 years plus the incoming P1 class

Needed in the import file”

  • id (id_rxstudent)
  • username
  • email
  • nameF
  • nameL
  • nameMid
  • ClassYear

Update webtech password in the onOpen script

Make screen grab of page6 to update the worksheet.

Update worksheet and store it in the DB- on the Utilities record

Ask TJ to delete members of the AD group,  XXXX and import the current committee members.

Enable the student CDS group and the committee group