kingrukawa / acra

Automatically exported from code.google.com/p/acra
0 stars 0 forks source link

Support for Google Apps for Domains? #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Has ACRA been tested trying to post crash reports to a Google Doc that's under 
a Google Apps for Domains account (as opposed to a regular public Google 
account)? I'm trying to use a Google Apps account but not getting any crash 
reports in the doc/form.
Is there any other way to troubleshoot why ACRA isn't posting the crash reports?

Original issue reported on code.google.com by eric.ri...@gmail.com on 3 Jan 2011 at 5:09

GoogleCodeExporter commented 8 years ago
It has not been tested with Google Apps domains.

The default behaviour is to send reports to 
http://spreadsheets.google.com/formResponse?formkey=XXXXXXXXXX

If your form post URL is different, you can provide a custom one with the 
parameter formUri.

Original comment by kevin.gaudin on 3 Jan 2011 at 5:17

GoogleCodeExporter commented 8 years ago
I tried with a Google Apps for Domains form URL like this:
formUri = 
"https://spreadsheets.google.com/a/mydomain.com/viewform?formkey=XXXXXXXXX" but 
it still didn't work. I even modified the form to allow all public access.
Is there any way to get some logging out of ACRA, or some other way to try to 
determine the details of the failure?

Original comment by eric.ri...@gmail.com on 4 Jan 2011 at 4:52

GoogleCodeExporter commented 8 years ago
Could you try again replacing viewform with formResponse ?

If this does not work, could you send me a link to your real Google Form 
(kevin.gaudin@gmail.com)

Original comment by kevin.gaudin on 4 Jan 2011 at 8:50

GoogleCodeExporter commented 8 years ago
I'm using an Apps for Domains account, and the default works fine for me.

I did transition my domain to the new system that allows me to log in with my 
domain ID directly on gmail, etc. Perhaps you can do that, and anyway Google 
will force the transition in the next few weeks.

Original comment by pa...@paour.com on 5 Jan 2011 at 9:35

GoogleCodeExporter commented 8 years ago
@paour> do you only use the default formId parameter ? no need to override the 
formUri ?

Original comment by kevin.gaudin on 5 Jan 2011 at 11:57

GoogleCodeExporter commented 8 years ago
Good news, I was able to make this work. I tweaked a number of settings, but it 
seems the key was making sure the form (not the spreadsheet, but the form) has 
DISABLED the option "Required My Domain sign-in to view this form."
You can change that option by clicking the Form menu on the spreadsheet and 
selecting Edit Form. In the Form window, that option is listed at the top; make 
sure it is NOT checked.
I also have the domain Docs settings set up to allow sharing docs with people 
outside of the domain, but I think that's not really relevant, since what we 
need to share for ACRA to work is the form, not the document itself.

Original comment by eric.ri...@gmail.com on 5 Jan 2011 at 3:27

GoogleCodeExporter commented 8 years ago
One more piece of information regarding the solution: with the form settings as 
described above, I was able to use just the formKey param to ACRA; no need for 
a custom URL with the formUri paramater.
In fact, I noticed that once I had the form configured this way, it's URL 
changed to eliminate any reference to my domain ( /a/mydomain.com/ ).

Original comment by eric.ri...@gmail.com on 5 Jan 2011 at 4:08

GoogleCodeExporter commented 8 years ago
ACRA3HowTo was updated with your finding. Thanks a lot!

Original comment by kevin.gaudin on 23 Jan 2011 at 11:59