Code Monkey home page Code Monkey logo

Comments (4)

mchev avatar mchev commented on August 25, 2024

Unfortunately there is actually no way to update an individual answer.

I just read the doc https://odkcentral.docs.apiary.io/#reference/submissions/submissions/updating-submission-data and saw that was possible.

To create a method that update an answer it will be necessary to have a deprecatedID and the instanceID. Unless you send the whole xml as body :

<data id=\"simple\">
  <orx:meta>
    <orx:deprecatedID>uuid:315c2f74-c8fc-4606-ae3f-22f8983e441e</orx:deprecatedID>
    <orx:instanceID>uuid:85cb9aff-005e-4edd-9739-dc9c1a829c44</orx:instanceID>
  </orx:meta>
  <name>Alice</name>
  <age>36</age>
</data>

I'll try figure out to implement this in a next version.

from laravel-odk.

rbhalla81 avatar rbhalla81 commented on August 25, 2024

Thank you. It will be a great feature to have.
Will be waiting for the next version.

from laravel-odk.

rbhalla81 avatar rbhalla81 commented on August 25, 2024

@mchev I have tried to do the XML update. But couldn't succeed. Any idea or roadmap to include the feature in this component? This update feature shall be the utmost required. Please help.

from laravel-odk.

mchev avatar mchev commented on August 25, 2024

https://docs.getodk.org/central-submissions/#submission-editing

from laravel-odk.

Related Issues (8)

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.