Select to view content in your preferred language

Identify Widget 2.5

875
2
Jump to solution
07-31-2013 10:41 AM
SamBishop
Deactivated User
I am having an issue with the most recent version 2.5.8 of the Identify Widget.
I have only two layers I wish to define hyperlinks for.
When <layers onlythese="false"> the tool returns information for both.
When <layers onlythese="true"> the tool will return information and display hyperlinks for the wells (points) layer ONLY.
The Correlations layer (polyline) returns nothing.
Config.xml file attached.
I would be grateful for any assistance.
(Limited to using 2.5 version due to enterprise version of Flash)
Cheers
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Sam,

  So there are a couple of things to check.

One thing that trips up most is that Flex is a CaSe sensitive language. So you need to check that

"All Well Correlations (HYP)" is the ExAcT name as listed in the Rest Service directory. (your All wells (HYP) has lower case w and this one has a upper case W).

Next is to check the field names:
            <fields>                 <field name="XSECTION_DESCRIPTION" alias="" />                 <field name="SOURCE" alias="" />                 <field name="Hyperlink" alias="" />             </fields>


The name attribute is suppose to be the ExAcT ALIAS as listed in the Rest service directory.

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Sam,

  So there are a couple of things to check.

One thing that trips up most is that Flex is a CaSe sensitive language. So you need to check that

"All Well Correlations (HYP)" is the ExAcT name as listed in the Rest Service directory. (your All wells (HYP) has lower case w and this one has a upper case W).

Next is to check the field names:
            <fields>                 <field name="XSECTION_DESCRIPTION" alias="" />                 <field name="SOURCE" alias="" />                 <field name="Hyperlink" alias="" />             </fields>


The name attribute is suppose to be the ExAcT ALIAS as listed in the Rest service directory.
0 Kudos
SamBishop
Deactivated User
Hi Robert,

Thanks for your quick response.  I thought I had checked and double-checked the layer and field names and ruled out the possibility something was amiss there.  Anyway, this morning I modified the names (in my mapservice and within the config) to:

<name>All Well Correlations</name>
<fields>
<field name="XSECTION_DESCRIPTION" alias="" />
<field name="SOURCE" alias="" />
<field name="HYPERLINK" alias="" />
</fields>


And all seems to work.  I am not sure this made the difference, rather that I should have perhaps triple-checked yesterday!

Thanks again
Sam
0 Kudos