Skip to main content

Disable Sharing Project

Comments

3 comments

  • Amanda Frech
    Hi Roger,

     

    I think I've found ways for you to remove all of the navigation links to the sharing features.

     

    For the share button on the "Your project has been saved window", the following custom css will hide the button: .project-status-complete .form-btns .button:first-child { display:none; } The default location for finding your custom css files is: "C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\(SITENAME)\Viewers\(VIEWERNAME)\VirtualDirectory\Resources\Styles\Custom\(SHELL).css"

     

    If you also need to remove the "Share" option that is presented when opening/examinig a previously saved project, this can be done in the Essentials Manager:

     

    _img_ alt="Select the project actions context menu" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000CgFV&feoid=Body&refid=0EM600000001QyP" _/_img_

     

    _img_ alt="Delete "Share"" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000CgFV&feoid=Body&refid=0EM600000001QyU"_/_img_

     

    I hope that helps!

     

    Amanda

     

     
    0
  • Permanently deleted user
    Hi,

     

    I was able to use steps above to hide the share button but does anyone know how to edit the text to remove the text referring to the button starting with "To share this project..."?

     

    Cheers,

     

    Rich
    0
  • Permanently deleted user
    Rich - 

     

     

    I think the text you are referring to is the line that, in full, reads "To open this project, use the Open Project button. To share this project with others, use the Share button." If so, then this text is controlled in the Mapping.en-US.json.js file, from the key "language-project-status-saved-description".

     

     

    You can edit the text directly there, which is how I've done it in the past, but may not be best practice as you are overwriting the default text forever. I believe you can also create your own key in the Mapping.en-US.json.js file, and then reference it in the Project.js file (search for @language-project-status-saved-description to see where the key is used), but I haven't actually implemented that.

     

     

    Semi-useful help document: https://docs.geocortex.com/essentials/gvh/latest/admin-help/Default.htm#gvh/admin/translation.htm#Geocortex_Viewer_for_HTML5_Translation%3FTocPath%3DGeocortex%2520Viewer%2520for%2520HTML5%2520Translation%7C_____0

     

     

    Good luck,

     

    Jena
    0

Please sign in to leave a comment.