<fields all="true">
Nestor, You are going to have to give so specifics on this... Are you using all the fields of your data by using<fields all="true"> Can you provide some screen shots? As far as the hyperlink being a url that is underlined that is the default in FlexViewer 2.1 now.
Nestor, I can not explain this odd behavior but would ask that you test this using the default searchWidget and see if the results are the same. The one thing I will say is that the reason I created the enhanced Search Widget is because I wanted a way to get more results back about a parcel without having a huge info popup. So you might want to limit the info popup to a more limited amount of data and just have the grid display all the rest.
- like in your identifyWidget, coul'd you add hyperlink prefix/suffix and icon field/prefix/suffix ?
<layer> <name>Foreclosures September 2010</name> <url>http://gissrv1/ArcGIS/rest/services/StrategicPlanning/MapServer/1</url> <expression useforspatial="true">gis.DBO.AddressMaster.PCN LIKE '%[value]%'</expression> <textsearchlabel>Search by PCN Number [Example: 73414404010850000]:</textsearchlabel> <graphicalsearchlabel>Use one of the graphical search tools to select features</graphicalsearchlabel> <spatialsearchlayer>true</spatialsearchlayer> <spatialrelationlayer>true</spatialrelationlayer> <titlefield>gis.DBO.AddressMaster.PCN</titlefield> <linkfield></linkfield> <fields all="true" gridfield="true"></fields> <zoomscale>4800</zoomscale> </layer>
<fields all="true" gridfield="true"></fields>
Nestor, I definetly did not expect someone to use<fields all="true" gridfield="true"></fields> So as you can tell this does not work. I will look at getting this fixed in the next version.
<layer> <name>Parcel Name</name> <url>http://gissrv1/ArcGIS/rest/services/Cadastral/MapServer/3</url> <expression useforspatial="true">OWNERNAME1 LIKE '%[value]%'</expression> <textsearchlabel>Search by Owner Name [Example: Smith; Smith Robert]:</textsearchlabel> <graphicalsearchlabel>Use one of the graphical search tools to select features</graphicalsearchlabel> <spatialsearchlayer>true</spatialsearchlayer> <spatialrelationlayer>true</spatialrelationlayer> <titlefield>PARID</titlefield> <linkfield linkprefix="http://www.co.palm-beach.fl.us/PAPA/aspx/web/detail_info.aspx?p_entity=" linksuffix="">PAPA</linkfield> <fields all="false"> <field name="PARID" gridfield="true"/> <field name="OWNERNAME1" gridfield="true"/> <field name="OWNERNAME2" gridfield="true"/> <field name="SITEADDR" gridfield="true"/> <field name="PROPUSE" gridfield="true"/> <field name="ACRES" gridfield="true"/> <field name="EXEMPTION" gridfield="true" gridfieldonly="true"/> <field name="PADDR1" gridfield="true" gridfieldonly="true"/> <field name="PADDR3" gridfield="true" gridfieldonly="true"/> <field name="YEAR_ADDED" gridfield="true" gridfieldonly="true"/> <field name="SALE_DATE" dateformat="MM/DD/YYYY" gridfield="true" gridfieldonly="true"/> <field name="BOOK" gridfield="true" gridfieldonly="true"/> <field name="PAGE" gridfield="true" gridfieldonly="true"/> <field name="ZIP1" gridfield="true" gridfieldonly="true"/> <field name="MUNI" gridfield="true" gridfieldonly="true"/> <field name="SUBDIVNAM" gridfield="true"/> <field name="PRICE" gridfield="true" gridfieldonly="true"/> <field name="TOTMRKTVAL" gridfield="true" gridfieldonly="true"/> <field name="ASSESSVAL" gridfield="true" gridfieldonly="true"/> <field name="LANDVAL" gridfield="true" gridfieldonly="true"/> <field name="IMPRV_MRKT" gridfield="true" gridfieldonly="true"/> <field name="TOTALVALUE" gridfield="true" gridfieldonly="true"/> <field name="TOTTAXVAL" gridfield="true" gridfieldonly="true"/> <field name="PAPA" alias="PAPA Website Link" hyperlinkgridfield="true" hyperlinkaliastext="Click Here For PAPA Website"/> </fields> <zoomscale>2400</zoomscale> </layer>
Nestor, Is this only happening in the floating grid or in the widget results as well?
Nestor, It will work if you add the linkprefix and linksuffix to the field element that is the hyperlink field.
<layer> <name>Parcel Name</name> <url>http://gissrv1/ArcGIS/rest/services/Cadastral/MapServer/3</url> <expression useforspatial="true">OWNERNAME1 LIKE '%[value]%'</expression> <textsearchlabel>Search by Owner Name [Example: Smith; Smith Robert]:</textsearchlabel> <graphicalsearchlabel>Use one of the graphical search tools to select features</graphicalsearchlabel> <spatialsearchlayer>true</spatialsearchlayer> <spatialrelationlayer>true</spatialrelationlayer> <titlefield>PARID</titlefield> <linkfield linkprefix="http://www.co.palm-beach.fl.us/papa/aspx/web/detail_info.aspx?p_entity=" linksuffix="">PAPA</linkfield> <fields all="false"> <field name="PARID" gridfield="true"/> <field name="OWNERNAME1" gridfield="true"/> <field name="OWNERNAME2" gridfield="true"/> <field name="SITEADDR" gridfield="true"/> <field name="PROPUSE" gridfield="true"/> <field name="ACRES" gridfield="true"/> <field name="EXEMPTION" gridfield="true" gridfieldonly="true"/> <field name="PADDR1" gridfield="true" gridfieldonly="true"/> <field name="PADDR3" gridfield="true" gridfieldonly="true"/> <field name="YEAR_ADDED" gridfield="true" gridfieldonly="true"/> <field name="SALE_DATE" dateformat="MM/DD/YYYY" gridfield="true" gridfieldonly="true"/> <field name="BOOK" gridfield="true" gridfieldonly="true"/> <field name="PAGE" gridfield="true" gridfieldonly="true"/> <field name="ZIP1" gridfield="true" gridfieldonly="true"/> <field name="MUNI" gridfield="true" gridfieldonly="true"/> <field name="SUBDIVNAM" gridfield="true"/> <field name="PRICE" gridfield="true" gridfieldonly="true"/> <field name="TOTMRKTVAL" gridfield="true" gridfieldonly="true"/> <field name="ASSESSVAL" gridfield="true" gridfieldonly="true"/> <field name="LANDVAL" gridfield="true" gridfieldonly="true"/> <field name="IMPRV_MRKT" gridfield="true" gridfieldonly="true"/> <field name="TOTALVALUE" gridfield="true" gridfieldonly="true"/> <field name="TOTTAXVAL" gridfield="true" gridfieldonly="true"/> <field name="PAPA" alias="PAPA Website Link" hyperlinkgridfield="true" hyperlinkaliastext="Click Here For PAPA Website" linkprefix="http://www.co.palm-beach.fl.us/papa/aspx/web/detail_info.aspx?p_entity=" linksuffix=""/> </fields> <zoomscale>2400</zoomscale> </layer>
Robert, You are running into a very common issue with any attempt to globalize measurements and get accurate results. The best thing to do is use a UTM 1983 zone that is specific to your area of concern and that will provide you the best results.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.