Create an link from GP tool with parameter as input
Hello
I have an GP tool that reurn an GPString that I want to use as an "variable" in my new link. I want to take this string and create an Hyper Link with the tool DisplayHyperLink in an workflow. The link are a System.String and I try to add the last string parameter from the GP tool.
Example: "http://someadress/some?giscase=" + variable , the variable are the output from GP tool. This output are an GPString. As I see I have to convert this GPString to an system string. What are the best practice to do this?
Best regards
Jan-Henrik Nilsen
-
You should be able to assign it to a new System.String variable using it's Value property, for example
newString = gpString.Value
You can then use newString as the variable in your hyperlink.
See (http://help.arcgis.com/en/webapi/silverlight/1.2/apiref/topic1269.html) here for more information on GPString
-Victoria
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar