Skip to main content

Remove ability to open 'Additional Details' on Handheld

Comments

5 comments

  • Dan Giersz
    Try changing or removing the commands under "behaviors" for the "Results" module.
    0
  • Permanently deleted user
     Perfect! Removing the text below did the trick!

     

        {

     

                  "name": "ResultsListFeatureClickedBehavior",

     

                  "event": "ResultsListFeatureClickedEvent",

     

                  "commands": [

     

                    "ShowFeatureDetails"

     

                  ]

     

                },

     

    Thank you!

     

     

     
    0
  • Permanently deleted user
    Hi Dan, So I am trying to make the Results 'clickable' again. I assumed it would be as easy and putting the above text back in the Handheld.json file. I've done that, however the additional details wont open...any ideas why this is happening?
    0
  • Dan Giersz
    I don't know.  I would check for a missing comma and/or put it through a JSON validator.

     

    Have you tried clearing your browser cache?

     

    I wouldn't recommend removing entire sections of code from the JSON unless you have to.  Just removing the "ShowFeatureDetails" from the commands should have done the trick.

     

    And always make a backup first.
    0
  • Permanently deleted user
    Very weird...It's workin now....when I kept the Handheld.json file open while I was editing, none of the edits would hold. When I made the edits and CLOSED the .json, then the changes held. Good to know I guess!
    0

Please sign in to leave a comment.