Select to view content in your preferred language

Conflict with URL Link and keepAppState

3131
7
06-07-2016 10:11 AM
RichBell
Regular Contributor

Is there a way to set the "keepAppState" to "true" as a default but then set the

"keepAppState" to "false" when performing a URL search with the eSearch Widget?

The eSearch Widget will fail "no results" if "keepAppState" is set to "true"

Thank You

Rich

0 Kudos
7 Replies
RobertScheitlin__GISP
MVP Emeritus

Rich,

  Could you expound on this a little? Are you saying that using the eSearch URL search and then clicking on the popup that asking about restoring the apps state causes you issues?

0 Kudos
RichBell
Regular Contributor

Yes, if I use this string with the keepAppState set to false it works great

http://gisapp.mahoningcountyoh.gov/MAHGIS/index.html?esearch=53-057-0-197.00-0&slayer=0&exprnum=0

but if I set the keepAppState set to true it fails.

Is there be a way to disregard the keepAppState until the eSearch widget completes the search, otherwise the keepAppState setting is of no value

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Rich,

Are you making code modifications to set the keepAppState by default?

0 Kudos
RichBell
Regular Contributor

I have not

I only set it in the config file as false or true

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Rich,

  I have tested on my eSearch Live Preview site and on my dev machine and I can find to conflict between the eSearch URL search parameter and the keep app state...

0 Kudos
RichBell
Regular Contributor

My bad !!.

I just cleared the internet cache completely and it does work being set to true.

So sorry

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Rich,

  Glad to hear that. Please mark this thread as answered so we can close this one out.

0 Kudos