Comments (9)
I think this is already done here: https://github.com/medic/medic-configurer/blob/c4ef0febd85c553b5e9f7f4526f8c0df9022a58e/src/fn/upload-collect-forms.js#L5
Is it not working anymore?
from cht-conf.
I just tested on beta-1.5.11
and it works, but only if you don't have a json properties file for that form with a context
field.
from cht-conf.
Right, so I think we need to have it working for forms that already have json properties files, which will apply to many of our projects that are upgrading to 2.13.
from cht-conf.
I think the current behaviour is correct.
I just tested on
beta-1.5.11
and it works, but only if you don't have a json properties file for that form with acontext
field.
What are you setting in the context
field, if you aren't setting collect: true
? Are there other options which might be relevant for a Collect form?
from cht-conf.
It looks to me like all the standard forms have unnecessary context
fields set in their properties files. PR to remove these at https://github.com/medic/medic-projects/pull/2805.
from cht-conf.
I've already removed those in the 2.13 branch that I've been working on this week as part of the Standard push.
from cht-conf.
Previously we had:
{
"context": {
"person": false,
"place": false,
"expression": "false"
}
}
and collect:true
covers all of that
from cht-conf.
Great 👍
from cht-conf.
Thanks guys!
from cht-conf.
Related Issues (20)
- Allow schedules.start_from to be string or an array HOT 1
- Recent cht-conf commits were not published to npm HOT 1
- Use AuthSession cookie for login instead of basic auth HOT 2
- Allow self signed certs by default for localhost-like hosts HOT 2
- Error: Cookie has domain set to the public suffix "localhost" which is a special use domain. HOT 2
- Error trying to upload a config - ERR_OSSL_EVP_UNSUPPORTED HOT 1
- Error: backup-all-forms is failing when I try to upload a config HOT 3
- Update npm dependencies in CHT Conf
- The `compile-app-settings` action crash with the error `Module not found: Error: Can't resolve 'eslint-loader'` HOT 1
- Name and email address missing from `users.csv` when using `csv-to-docs`
- latest cht-conf fails to upgrade app settings to latest CHT endpoints HOT 4
- Support Node 20 HOT 2
- Drop support for old Node versions
- ERROR Invalid Adapter: undefined on form validation HOT 11
- Add SonarCloud configuration HOT 1
- Add editorconfig configuration with respect to the style guide
- Phython 2 is still needed to use xls2xform HOT 2
- Python error when installing pyxform medic on Linux
- Add form validation for `note` timers
- Include `assetlinks.json` when compiling app settings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cht-conf.