The blobKey identifies the image. As with all URLs, the parameters are
URLEncoded which makes them very ugly. The URLDecoded blobKey looks like:
geo_tagger_v2[@version=null and @uiVersion=null]/geotagger[@
key=uuid:f6454ba6-2485-426f-8e1a-8981e463e6fe]/Image
This is an XPath-style naming for the image element in the Xform. It
identifies the form id: get_tagger_v2, the version and uiVersion values
(from the attributes on the Xform's top-level element), the name of the
top-level element in the form (geotagger), the primary key for the
submission being referenced (uuid:f6454ba6-2485-426f-8e1a-8981e463e6fe) and
the XPath within the form to the image. In this case, the image (field
name Image) is immediately underneath the top-level element in the form.
If you had repeat groups, you would have to specify the ordinal (1..n) of
the repeat group. So for the first repeat group, you would have:
I have tried composing that link by assembling the following elements:
form id: I find this in my XML file / or in my XLS file @ the settings tab.
version and uiVersion: I found this by looking at the database table >
columns _model_version and _ui_version
*the name of the top element in the form: I am completely lost here..... *
primary key: I take this from the _URI column in my CORE table.
Xpath within the form: I am also lost here....
It would be great if someone could help me in the right direction.
The easiest way to play around with and understand this is to look at the
URL for the small image snippets in one of your submitted forms. e.g., on https://opendatakit.appspot.com , select the Miramare
form on the Submissions tab, then click one of the View buttons to see the
repeat group for one of these submissions. If you scroll right in the
pop-up, the submitter may have provided an image. Right-click on that,
choose to Copy the URL for the image, and then paste it into an editor to
see what it looks like.
The blobKey identifies the image. As with all URLs, the parameters are
URLEncoded which makes them very ugly. The URLDecoded blobKey looks like:
geo_tagger_v2[@version=null and @uiVersion=null]/geotagger[@
key=uuid:f6454ba6-2485-426f-8e1a-8981e463e6fe]/Image
This is an XPath-style naming for the image element in the Xform. It
identifies the form id: get_tagger_v2, the version and uiVersion values
(from the attributes on the Xform's top-level element), the name of the
top-level element in the form (geotagger), the primary key for the
submission being referenced (uuid:f6454ba6-2485-426f-8e1a-8981e463e6fe)
and the XPath within the form to the image. In this case, the image (field
name Image) is immediately underneath the top-level element in the form.
If you had repeat groups, you would have to specify the ordinal (1..n) of
the repeat group. So for the first repeat group, you would have:
I have tried composing that link by assembling the following elements:
form id: I find this in my XML file / or in my XLS file @ the settings tab.
version and uiVersion: I found this by looking at the database table >
columns _model_version and _ui_version
*the name of the top element in the form: I am completely lost here..... *
primary key: I take this from the _URI column in my CORE table.
Xpath within the form: I am also lost here....
It would be great if someone could help me in the right direction.