Data Link replacement tokens with workflow 5 and RunWorkflowByUrlAndInputs
Hi,
Hope someone can help. GCX 4.11, GVH 2.10.1, WF5 5.13.0
I have a layer with a data link configured. I can use the data link replacement tokens in my feature description using {DataLinkID.FieldName}. This works as expected.
From the feature description I'm trying to run a workflow 5 workflow using the RunWorkflowByUrlAndInputs command and passing the data link token as one of the inputs. But the data link token fails to resolve. This command works fine if I just pass in a field token from the layer rather than the data link token,
Looking at the browser console I can see a warning :
"The token syntax {AboriginalCommunitiesFacilites.Nearest_assessmentCentres} was detected, but could not be matched to a valid replacement value"
Is there a different syntax for this?
I can also see that the value of the input is the actual token string ie {AboriginalCommunitiesFacilites.Nearest_assessmentCentres}
Can I confirm that what I'm attempting is supported and should work and also if the syntax is correct.
cheers
Ben
-
Hi Ben,
Could you provide the syntax that you currently have configured in the feature description?
Here's an example of what should work:
<a href="command:RunWorkflowByUrlAndInputs?url=https://latitudegeo.maps.arcgis.com/home/item.html?id=YourWorkflowId&inputs={$Geometry}">Highlight</a>
Thanks, Stefan
0 -
ahhhh...knew i forgot something.
An example that doesn't work, bolded part doesn't resolve, but same syntax underlined works:
<a href="command:RunWorkflowByUrlAndInputs?url=https://dohwa.maps.arcgis.com/home/item.html?id=e200025f25b944dab908170f3f864526&Type=AC&Name={AboriginalCommunitiesFacilites.Nearest_assessmentCentres}">{AboriginalCommunitiesFacilites.Nearest_assessmentCentres} ({AboriginalCommunitiesFacilites.Distance2NearestAssessmentCentr}km)</a>
An example that does work, uses the feature token, not the data link token:
<a href="command:RunWorkflowByUrlAndInputs?url=https://dohwa.maps.arcgis.com/home/item.html?id=e200025f25b944dab908170f3f864526&Type=AC&Name={Nearest_assessmentCentres}">{AboriginalCommunitiesFacilites.Nearest_assessmentCentres} ({AboriginalCommunitiesFacilites.Distance2NearestAssessmentCentr}km)</a>
cheers
Ben
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare