Zum Hauptinhalt gehen

How can i configure the physical "Hyperlinks" title text in the View additional details tab in HTML5?

Kommentare

7 Kommentare

  • Permanently deleted user
    Maybe I'm unclear on what you're asking, but on the Feature Hyperlinks tab when you edit a layer, you have the ability to enter hyperlink text (which shows) and the URI (which doesn't show)...
    0
  • Permanently deleted user
    Hi Mike,

     

    I do have hyperlinks in the feature hyperlinks tab but that is not my question. I learned this my delving into the HTML 5 user guide but what i was trying to update was the "FeatureDetails Module". I found that in the default compact view, that the defualt text for the "hyperlink" can't get updated in the Javascript file: 

     

     

     

        "moduleName": "FeatureDetails",

     

            "moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsModule",

     

            "configuration": {

     

              "defaultViewMode": "compact",

     

              "viewModes": {

     

                "compact": {

     

                  "viewId": "FeatureDetailsCompactView",

     

                  "defaultProviderTargetRegion": "FeatureDetailsCompactViewRegion"

     

                },

     

                "expanded": {

     

                  "viewId": "FeatureDetailsExpandedView",

     

                  "defaultProviderTargetRegion": "FeatureDetailsBottomRegion"

     

    However, once in "expanded view", the text portion here     "title": "Snohomish County Map Products", get updated in my html 5 viewer. My question is, can i get it so this same title text gets updated in the compact view, which is the default in the HTML 5 viewer.

     

     
    0
  • John Nerge
    I think what you're looking for is in the Mapping.en-US.json.js file, which is in the Resources/Locales directory for your default Html5Viewer. That's where you can change the header text for the feature hyperlinks.

     

    "language-feature-hyperlinks": "Hyperlinks"

     

    Keep in mind that updating this will update all of your viewers. If you just want to update the text for a single or group of viewers, you can make of copy of the file and update your viewer config to point to the custom locale file.

     

    "locales": [

     

              {

     

                "locale": "en-US",

     

                "uri": "Resources/Locales/Mapping.en-US.json.js"

     

              }
    0
  • Ali VanSickle

    John Nerge

    I know this is an old post. But I am trying to complete the same thing: re-naming the Hyperlinks tab in expanded view for feature hyperlinks.

    I have updated the above files with no luck. Are there any extra steps I need to take?

    0
  • John Nerge

    Hi Ali, I don't think there should be any additional steps needed. What versions of the software are you using?

    0
  • Ali VanSickle

    Essentials 4.10.3 and HTML5 Viewer 2.11.2

    I have located the locals file here: C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Manager\Html5Viewer\Viewer\Resources\Locales

    Is this the correct path?

    I made the change in the Mapping.en-US.json.js file:

    "language-feature-hyperlinks": "TestName"

    But I do not see this change in the viewer.

    0
  • Ali VanSickle

    I was able to find it. Just had the wrong file path.

    Thanks,

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.