Select to view content in your preferred language

Using jpg as link and search results

1005
8
04-05-2013 10:57 AM
AnjuSingh
Emerging Contributor
Hi Robert, I have attached my xml file.  Will appreciate your help.
Thanks,
Anju
Tags (2)
0 Kudos
8 Replies
RobertScheitlin__GISP
MVP Emeritus
Anju,

  I will have a look and post back here.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Anju,

  
I cannot get the "Results" to work and "link".  I have a jpg that I would like to add as link.
I don't see anywhere in the code that you have tried to set a particular field in a layer to have a link... What layer and what field has this JPG info?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Anju,

   Also I can not understand why you are specifying polyline symbology for all your layers and none of them are lines?...

            <symbology>
                <simplelinesymbol color="0x000000" alpha="0.8" width="2" />
            </symbology>


AND

Your Nonncped layer has a title field of:
<titlefield>Nonmember Last Name</titlefield>
Which is not a field at all for that layer...

I think you need to proof your work some more...
0 Kudos
AnjuSingh
Emerging Contributor
Sorry, Robert, I guess sent you a different version.  I am attaching the 'link' and it is for Nonncped.
Should Multifield search work?  I tried and it did not work.
Thank You
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Anju,

  UNC paths are for Intranet Applications and not internet applications like the flex viewer. You need to create a virtual directory so that you have an actual URL. Based on your link xml code are you trying to use the same image for each result when someone clicks on the i_overview.png?... Multi field searches definitely work there are MANY people using them. I don't see in your first XML where you are setting up any expression to use multiple fields.
0 Kudos
AnjuSingh
Emerging Contributor
Robert:  I had deleted the multi field search as it was not working but here it is.
And, how about "Results" not working?
Thanks,
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Anju,

   Did you look at post number 3... For some reason (which will cause and issue) you are telling the widget to attempt to symbolize your point and polygon layers as POLYLINES.

Also you are make mistakes like this that is telling me that you are not spending enough time proofing your xml configuration work:

<value prompt="Example: 1"  uniquevalsfromfield="tier" autosubmit="true" isvaluerequired="true">tier ='[value]'</value>
                                             <value prompt="Example: <=80" uniquevalsfromfield="percent" autosubmit="true" isvaluerequired="true">operator =And percent &lt; ='[value]'</value>
          </values>


I can only guess you are trying to do this:

        <expression alias="Tier and enrollment" textsearchlabel="Search by Tier Enrollment:">
          <values>
            <value prompt="Example: 1"  uniquevalsfromfield="tier" autosubmit="true" isvaluerequired="true">tier ='[value]'</value>
            <value prompt="Example: less than or equal to 80" uniquevalsfromfield="percent" autosubmit="true" isvaluerequired="true" operator="AND">percent &lt;='[value]'</value>
          </values>
        </expression>


Notice the operator is an attribute of the value tag not part of the inner content of the tag.
0 Kudos
AnjuSingh
Emerging Contributor
THANK YOU!!! Yes, you are right, I missed reeeeeeeeeeeeproffing and being newbie too sacred.  Thanks a lot.  😄
0 Kudos