Michelle, It is pretty simple to find. I even have it commented. Look for "Allow button to act as toggle buttons" in the activateSearchTool function. Uncomment the two lines above that comment and then remove or delete everything in that if else under the comment.
<expressions><expression alias="Address" textsearchlabel="Search Services by Street Name and Number:" isvaluerequired="true"><values><value prompt="Example: 233" userlist="" isvaluerequired="false">ADDRESS = [value]</value><value prompt="Example: Flax Hill" userlist="" isvaluerequired="true" operator="AND">LOCATION like '%[value]%'</value></values></expression><expression alias="Account #" textsearchlabel="Search Services by Account Number:" isvaluerequired="false"><values><value prompt="Example: 11651" userlist="" isvaluerequired="true">ACCNT_NO =[value]</value></values></expression></expressions>
<linkfield linkprefix="http://externalurl..." linksuffix="">PIN</linkfield>
<field name="agree_with_incident" alias="Website Link" hyperlinkgridfield="true" hyperlinkaliastext="Go to Website" linkprefix="http://someWebSite/aspx/web/details.aspx?p_entity=" linksuffix=".aspx"/>
<links> <link alias="View Traffic Photo" disablelinksifnull="true"> <![CDATA[{URL}]]> <icon><![CDATA[assets/images/i_camera.png]]></icon> </link> </links>
Micah, There has been LOTS of changes since then.
Micah, It was moved to the bottom because you can now have multiple links not just one and organizing them horizontally was easier for me. You really want them that way then that is why the source code is provided for developers to customize to their likes and needs.
<field name="JOB_NO" alias="Job No" linkprefix="http://server/blah/" linksuffix=".pdf" hyperlinkgridfield="true" hyperlinkaliastext="{JOB_NO}"/>
Andy, I will consider it as a possible enhancement to the 3.2 series of this widget.
<popupsdisabled>true</popupsdisabled>
Suely, Searching a related table is supported but it is not currently supported to select the related features in the map for the table that is searched. This enhancement is being looked at though.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.