amaro.silva Posted September 25, 2012 Posted September 25, 2012 Hi Nick, I was wondering if we could perhaps pre populate the Google Docs username field for our users? We use Google Apps avidly here but we at the moment have an unwieldy domain name. It would make it significantly easier for our students/staff if we could pull their 'email' from active directory. Can I just say a BIG Thank You, this is just a fantastic app! Kind regards, Amaro
nickbro Posted September 25, 2012 Posted September 25, 2012 Edit ~/myfiles/default.aspx Line 40: Line 780: $("#googleuser").val("<%=ADUser.Email%>").removeClass("loading"); That should do it
amaro.silva Posted September 25, 2012 Author Posted September 25, 2012 Don't want to be picky but can I increase the field size for the username (and password)? At the moment it doesn't cope with our full domain name...
amaro.silva Posted September 25, 2012 Author Posted September 25, 2012 Thanks, that has changed the text box size, where can I change the whole "Sign in to Google Docs" box to cope with the bigger size?
nickbro Posted September 25, 2012 Posted September 25, 2012 Hmm, have you resized the box before? As it remembers what size it was before. It should autosize to the content
amaro.silva Posted September 26, 2012 Author Posted September 26, 2012 Yes, but when I hit Ctrl+F5 it resizes back to the size on the screenshot. Sorry about this, not that versed in HTML/CSS
amaro.silva Posted September 26, 2012 Author Posted September 26, 2012 My MyFiles\Default.aspx looks like this at the moment: : :
nickbro Posted September 26, 2012 Posted September 26, 2012 Ok try adding the style="width: 400px" to the top div
peterdwyer Posted September 27, 2012 Posted September 27, 2012 Some additional comments/observations about this feature 1. It's a great addition! 2. Might the suggested change in the previous post (ie. style="width: 400px") possibly be retained as a permanent part of the myfiles\Default.aspx for future version releases. Our Google Apps logins were also failing, due to length of "userID @ domain name" and it took the above recommendation to fix it. 3. If you aren't logged into gmail with the same account that you are "saving to Google Apps" with, the file copies OK but the resultant popup gives an error message asking you to login to the "school" Google Apps domain (if you have one). All our school mail is on Google but most staff/students have "private" gmail accounts as well 4. If you "Save to Google Apps" for one file and then choose another to "Save to Google Apps", the Google Apps user ID is not in the prompt second time around (it's blank) All of these are minor niggles and are reproducable Thanks
nickbro Posted September 27, 2012 Posted September 27, 2012 2. I'll try and remember 3. That error can't be fixed unfortunately 4. Make sure you've done line 780 as well
peterdwyer Posted September 27, 2012 Posted September 27, 2012 Thanks for your reply. In regard to point 4, here are the appropriate lines from our Default.aspx and they seem to be correct: Line 40 Line 780 $("#googleuser").val("<%=ADUser.Email%>").removeClass("loading"); Point 3 isn't really that important. I can always add a message to the "Announcements"
nickbro Posted September 28, 2012 Posted September 28, 2012 Line 780 should be resetting the google user box to the AD User Email address. Very odd
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now