Git Product home page Git Product logo

Comments (7)

nzjs avatar nzjs commented on August 19, 2024

@jvarasanz
Can you answer a couple questions for me:

  1. Have you modified the AGOL information and Survey123 variables in the code?
    (org, username, password, surveyID)
  2. Does the AGOL user in the variables have permissions to access the Survey data?
    Note that I have it working with a user account that is the owner of my survey.
  3. Can you share the txt log file so we can see how far the script gets?

from automated-survey123-reports.

jvarasanz avatar jvarasanz commented on August 19, 2024

from automated-survey123-reports.

nzjs avatar nzjs commented on August 19, 2024

Couple other things that I can maybe see an issue with:

The report_template variable is set to 1 in my example script. This is pointing to the second report template in the Survey123 Reports tab. Do you have two report templates or only one? If you only have one, this should be set to 0.

Is this your code in Survey123 API Access.py? survey.generate_report(template, querySurvey123)
If so, I would try also adding utc_offset and report_title parameters as mentioned in the API docs.

I know they are optional but the remainder of my script depends on report_title existing to generate the reports and host them in the online space.
https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.apps.survey123.html#arcgis.apps.survey123.Survey.generate_report

from automated-survey123-reports.

jvarasanz avatar jvarasanz commented on August 19, 2024

from automated-survey123-reports.

nzjs avatar nzjs commented on August 19, 2024

from automated-survey123-reports.

jvarasanz avatar jvarasanz commented on August 19, 2024

from automated-survey123-reports.

nzjs avatar nzjs commented on August 19, 2024

@jvarasanz
Did you end up resolving this - can I close this issue?

from automated-survey123-reports.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.