URL field in Esearch Widget

2094
3
Jump to solution
05-20-2016 08:52 AM
EmilyLaMunyon
Occasional Contributor

Thanks Robert. I am using the version right before 2.0.1.3. I have attached the config_Enhanced Search file. Thank you so much!!!

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Emily,

  I am not sure how it happened but you do not have the subdir field listed in your layers field list thus the value of that field is not getting returned by the query.

Add lines 31 (just the comma) thru 35.

"fields": {
        "all": false,
        "field": [
          {
            "name": "DOCUMENT_N",
            "alias": "Document Number"
          },
          {
            "name": "ADDRESS_OF_SURVEY",
            "alias": "Survey Address"
          },
          {
            "name": "SECTION",
            "alias": "Section"
          },
          {
            "name": "TOWNSHIP_RANGE",
            "alias": "Township/Range"
          },
          {
            "name": "SURVEYOR",
            "alias": "Surveyor"
          },
          {
            "name": "BUSINESS_NAME",
            "alias": "Business"
          },
          {
            "name": "page_id",
            "visible": false
          },
          {
            "name": "subdir",
            "visible": false
          }
        ]
      },

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Emeritus

Emily,

  I am not sure how it happened but you do not have the subdir field listed in your layers field list thus the value of that field is not getting returned by the query.

Add lines 31 (just the comma) thru 35.

"fields": {
        "all": false,
        "field": [
          {
            "name": "DOCUMENT_N",
            "alias": "Document Number"
          },
          {
            "name": "ADDRESS_OF_SURVEY",
            "alias": "Survey Address"
          },
          {
            "name": "SECTION",
            "alias": "Section"
          },
          {
            "name": "TOWNSHIP_RANGE",
            "alias": "Township/Range"
          },
          {
            "name": "SURVEYOR",
            "alias": "Surveyor"
          },
          {
            "name": "BUSINESS_NAME",
            "alias": "Business"
          },
          {
            "name": "page_id",
            "visible": false
          },
          {
            "name": "subdir",
            "visible": false
          }
        ]
      },
EmilyLaMunyon
Occasional Contributor

That was it, everything is working!! Not sure how that happened either but now I know what to look for.

Thank you so much and I will definitely contribute to the beer fund. ☺

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Emily,

  Don't forget to mark this as answered by clicking on the correct answer link on the reply that answered your question.

0 Kudos