Dear All,
I am trying to implement a functionality which uses external instances ( javarosa / javarosa / wiki / externalinstances — Bitbucket) which
forces me to edit my form manually and upload the form back to the edit on
commcareHQ. Whenever I upload the form, it changes structure by moving the
item set out of the question and it change the reference to null.
Befrore uploading.....
Looks like there's definitely an issue with how HQ is handling your form
upload, sorry about that!
The HQ team will follow up about that issue, but before they do I did
notice that your itemset structure is a bit off. you're referring to
instance('route_data')/route_data
as the root nodeset, which can't be the right node. The first node in an
external instance must be a single node, as it's an independent xml doc.
There should be another step there which refers to the actual repeated
node. Something like
instance('route_data')/route_data/route
Do you have the fixture uploaded somewhere we can look at?
-Clayton
···
On Wed, Jan 9, 2013 at 1:59 AM, Peter D Lubambi wrote:
Dear All,
I am trying to implement a functionality which uses external instances ( javarosa / javarosa / wiki / externalinstances — Bitbucket) which
forces me to edit my form manually and upload the form back to the edit on
commcareHQ. Whenever I upload the form, it changes structure by moving the
item set out of the question and it change the reference to null.
Befrore uploading.....
After uploading the file .........
*
*
<label ref="jr:itext('route-label')" />*
</select1>
............
..........
.........*
I am attaching the complete forms for your reference.
Any Idea of what can be causing this and how resolve it, I am stuck!
Thanks.
--
Peter Dotto Lubambi,
Information Technology Officer,
D-tree International,
Tanzania.
+255 786 087 087
PPP: http://tz.linkedin.com/in/plubambi
Just wanted to let you know that we're looking into this and are hoping to
get back to you on a timeline for resolving it as soon as we can. Sorry
about the troubles.
Cory
···
On Wed, Jan 9, 2013 at 11:39 AM, Clayton Sims wrote:
Peter,
Looks like there's definitely an issue with how HQ is handling your form
upload, sorry about that!
The HQ team will follow up about that issue, but before they do I did
notice that your itemset structure is a bit off. you're referring to
instance('route_data')/route_data
as the root nodeset, which can't be the right node. The first node in an
external instance must be a single node, as it's an independent xml doc.
There should be another step there which refers to the actual repeated
node. Something like
instance('route_data')/route_data/route
Do you have the fixture uploaded somewhere we can look at?
-Clayton
On Wed, Jan 9, 2013 at 1:59 AM, Peter D Lubambi plubambi@gmail.comwrote:
Dear All,
I am trying to implement a functionality which uses external instances ( javarosa / javarosa / wiki / externalinstances — Bitbucket) which
forces me to edit my form manually and upload the form back to the edit on
commcareHQ. Whenever I upload the form, it changes structure by moving the
item set out of the question and it change the reference to null.
Befrore uploading.....
After uploading the file .........
*
*
<label ref="jr:itext('route-label')" />*
</select1>
............
..........
.........*
I am attaching the complete forms for your reference.
Any Idea of what can be causing this and how resolve it, I am stuck!
Thanks.
--
Peter Dotto Lubambi,
Information Technology Officer,
D-tree International,
Tanzania.
+255 786 087 087
PPP: http://tz.linkedin.com/in/plubambi
.......
.......
.......
.......
This way the validator doesn't throw any more errors and the form structure
doesn't change. I am able to build app ver 812 but I ca not open the
'Anzisha rufaa form'.
Please, if you can have a look at it!
One concept I have not managed to grasp from my reading is how does
this referencing instance distinguish between data node (with the same
name) of two different forms
For example I have these two forms
in the
third_form.xml
I want to load data of route node from registration form, How do i specify
to make sure I reference to route in the registration form
?
···
On Wed, Jan 9, 2013 at 7:39 PM, Clayton Sims wrote:
Peter,
Looks like there's definitely an issue with how HQ is handling your form
upload, sorry about that!
The HQ team will follow up about that issue, but before they do I did
notice that your itemset structure is a bit off. you're referring to
instance('route_data')/route_data
as the root nodeset, which can't be the right node. The first node in an
external instance must be a single node, as it's an independent xml doc.
There should be another step there which refers to the actual repeated
node. Something like
instance('route_data')/route_data/route
Do you have the fixture uploaded somewhere we can look at?
-Clayton
On Wed, Jan 9, 2013 at 1:59 AM, Peter D Lubambi plubambi@gmail.comwrote:
Dear All,
I am trying to implement a functionality which uses external instances ( javarosa / javarosa / wiki / externalinstances — Bitbucket) which
forces me to edit my form manually and upload the form back to the edit on
commcareHQ. Whenever I upload the form, it changes structure by moving the
item set out of the question and it change the reference to null.
Befrore uploading.....
After uploading the file .........
*
*
<label ref="jr:itext('route-label')" />*
</select1>
............
..........
.........*
I am attaching the complete forms for your reference.
Any Idea of what can be causing this and how resolve it, I am stuck!
Thanks.
--
Peter Dotto Lubambi,
Information Technology Officer,
D-tree International,
Tanzania.
+255 786 087 087
PPP: http://tz.linkedin.com/in/plubambi
--
Peter Dotto Lubambi,
Information Technology Officer,
D-tree International,
Tanzania.
+255 786 087 087
PPP: http://tz.linkedin.com/in/plubambi
I'm a bit confused. External instances are read only. You can't register
data into an external instance in the manner you seem to be describing...
If you want to register data and then read it into a form, you can either
do so with Cases (you can refer to the case database as an external
instance), or you can add the data into HQ as a Fixture, and read the
fixture data through that external interface.
-Clayton
···
On Thu, Jan 10, 2013 at 5:45 AM, Peter D Lubambi wrote:
This way the validator doesn't throw any more errors and the form
structure doesn't change. I am able to build app ver 812 but I ca not open
the 'Anzisha rufaa form'.
Please, if you can have a look at it!
One concept I have not managed to grasp from my reading is how does
this referencing instance distinguish between data node (with the same
name) of two different forms
For example I have these two forms
in the
third_form.xml
I want to load data of route node from registration form, How do i specify
to make sure I reference to route in the registration form
?
Thanks
On Wed, Jan 9, 2013 at 7:39 PM, Clayton Sims csims@dimagi.com wrote:
Peter,
Looks like there's definitely an issue with how HQ is handling your form
upload, sorry about that!
The HQ team will follow up about that issue, but before they do I did
notice that your itemset structure is a bit off. you're referring to
instance('route_data')/route_data
as the root nodeset, which can't be the right node. The first node in an
external instance must be a single node, as it's an independent xml doc.
There should be another step there which refers to the actual repeated
node. Something like
instance('route_data')/route_data/route
Do you have the fixture uploaded somewhere we can look at?
-Clayton
On Wed, Jan 9, 2013 at 1:59 AM, Peter D Lubambi plubambi@gmail.comwrote:
Dear All,
I am trying to implement a functionality which uses external instances ( javarosa / javarosa / wiki / externalinstances — Bitbucket) which
forces me to edit my form manually and upload the form back to the edit on
commcareHQ. Whenever I upload the form, it changes structure by moving the
item set out of the question and it change the reference to null.
Befrore uploading.....
After uploading the file .........
*
*
<label ref="jr:itext('route-label')" />*
</select1>
............
..........
.........*
I am attaching the complete forms for your reference.
Any Idea of what can be causing this and how resolve it, I am stuck!
Thanks.
--
Peter Dotto Lubambi,
Information Technology Officer,
D-tree International,
Tanzania.
+255 786 087 087
PPP: http://tz.linkedin.com/in/plubambi
--
Peter Dotto Lubambi,
Information Technology Officer,
D-tree International,
Tanzania.
+255 786 087 087
PPP: http://tz.linkedin.com/in/plubambi