4 Replies Latest reply: Aug 10, 2010 5:06 PM by XRayLarry
XRayLarry Level 1 Level 1 (10 points)
HI all,

My problem is that users are being listed by email address in the weekly report. These are logins that are mediated by transfer scripts. I am suspecting that it might be the format of the unser information text strings that is the problem.

(In the samples below, some letters have been changed, but critical symbols have not)

Here is an account that works:
userIdentifier: "adam-ZZ"
username: "mradam"
displayName: "De Anza College"
emailAddress: "mradam\@deanza.edu"

Here is an account that doesn't work:
userIdentifier: "stu-classaa-0001"
username: "Student ClassAA"
displayName: "Student-ClassAA"
emailAddress: "teacher\@deanza.edu"

For the one that's failing, am I violating any rules concerning the format of the user information strings? A citing of the appropriate section/subsection of the iTunes U Administration Guide would be appreciated!

iMac 2GHz Intel Core 2 Duo, Mac OS X (10.4.11)
  • 1. Re: User information strings - userIdentifier, displayName, etc
    richwolf Level 3 Level 3 (725 points)
    The admin guide doesn't explicitly say (not that I remember anyway) that identity strings must take a particular form…and, ultimately, iTunes U data lives in SQL databases (and a string is a string in SQL)…but I might not put that space in username. Or, put it this way, if I wanted to test for funky characters, I'd get rid of the space in username and see if it works as you expect. I am not sure how Apple generates weekly spreadsheets from SQL data, but I have always noticed the way track names are the last item in each string of daily log data. My supposition has been that Apple does that to make our parsing lives simpler…spaces would normally only occur in track names and not many other places.

    Just thinking out loud.
  • 2. Re: User information strings - userIdentifier, displayName, etc
    XRayLarry Level 1 Level 1 (10 points)
    I'll try removing the space in username. I just wish there was a way to test the way the users are identified in the weekly reports without having to wait a week every time I change something!
  • 3. Re: User information strings - userIdentifier, displayName, etc
    richwolf Level 3 Level 3 (725 points)
    One way to get more immediate results would be to use the GetDailyReportLogs web service. It would show what Apple thinks you're sending in an identity string within about 24 hours. What's especially nice is that it will show what Apple gets in raw form…so if there's a parsing problem on Apple's end, it'd be easier to determine that.
  • 4. Re: User information strings - userIdentifier, displayName, etc
    XRayLarry Level 1 Level 1 (10 points)
    I've tried the GetDailyReportLogs API, and I'm getting a "403 Forbidden" - "You don't have permission to access this document on this server" error. I'll work on it some more, and if I get the same error, I'll post a separate question in a new thread.