Spectrum Spatial (SSA/LIM)

Welcome to the Spectrum Spatial (SSA/LIM) community - start a discussion in the discussion tab or join in a conversation.

SSA Documentation  LIM Documentation  SSA Ideas  LIM Ideas

Discussions

Members

Resources

Events

 View Only

SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

  • 1.  SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

    Posted 07-06-2017 22:59


  • 2.  RE: SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

    Posted 07-06-2017 19:00

    More information - in the administration side, I'm still setting things up.

    Right now if I select an object I get ALL the fields returned. I'd like to choose which ones and give some of the fields alias. This would allow me to use files directly from other sources (such as the asset system) and not create static files specifically for SSA.



  • 3.  RE: SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

    Employee
    Posted 07-07-2017 11:39

    Hi Rebecca,

    You can create a Map Information Template which generally speaking is a HTML file. This can be used to setup which columns to show and also how to show them, for example show a more description text in front of the value instead of the column name.

    Here is a very basic example that only shows the value from a single column:

    It shows a text "Cadastre Info" in bold follow by the value from the column CadastreNo and the value from the column Parish

     <ul>

       <li class="customCalloutData" style="margin-top: 10px;font-size: 14px">

    <strong>Cadastre Info:</strong> {{feature.CADASTRENO.value}} {{feature.PARISH.value}} 

    </li>

     </ul>

    This file must be saved to the folder "C:\Program Files\Pitney Bowes\SpectrumSpatialAnalyst\customerconfigurations\analyst\theme\infotemplates" on the server where Analyst has been installed where ""C:\Program Files\Pitney Bowes\SpectrumSpatialAnalyst" is the folder you installed Spectrum Spatial Analyst.

    From the Admin Console, you can now assign a certain dataset/table to use this specific Map Information Template.

     



  • 4.  RE: SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

    Posted 07-09-2017 19:20

    Great! I'll have a play with it shortly!



  • 5.  RE: SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

    Posted 07-09-2017 21:31

    This is great! Definitely what I needed. I found a bit more information on it in Appendix D of the admin guide.



  • 6.  RE: SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

    Posted 08-01-2017 09:20

    Hi Rebecca, you can also find other examples of custom templates on the download section of this site: http://communitydownloads.pbinsight.com/code-exchange/product/spectrum-spatial-analyst

    It would also be interesting to understand some of your requirements. We are currently looking at making changes to the administration side of SSA, which will include the ability to create data views - create views for different users/profiles/mapconfigs etc..



  • 7.  RE: SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

    Posted 03-26-2018 19:40

    Thanks for all the help here!

    I have another question - I've got a template with a hyperlink. I have a working hyperlink but it just opens the map again, it isn't going to the address specified in the column "Hyperlink". Any ideas?

     

    <a href="{{feature.Hyperlink.value}}" target="_blank" title="LUT link">

        View Land Use Table for {{feature.Zone.value}} here

       </a>



  • 8.  RE: SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

    Employee
    Posted 03-27-2018 02:40

    What values do you have in the column Hyperlink? Can you share a few?



  • 9.  RE: SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

    Posted 03-27-2018 17:48

    For sure, it just links to relevant land use table

    https://www.legislation.nsw.gov.au/#/view/EPI/2012/522/id24

    I used one of the above templates to work out what I needed to type in, and the example table that was included just had a normal hyperlink

     



  • 10.  RE: SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

    Employee
    Posted 03-28-2018 02:26

    The URL and the InfoTemplate construct both look valid.

    A similar link of mine looks like this:

    <li class="customCalloutData" style="margin-top: 10px;font-size: 12px">

    <strong>View at KRAK:</strong> <a href="https://map.krak.dk/?q={{feature.SOGENOGLE.value}} {{feature.POSTNR.value}}" target="_blank">{{feature.SOGENOGLE.value}} {{feature.POSTNR.value}}</a> 

    </li>

    What happens if you right click on the links and use Copy Link address and then paste the link into your browser address line. Does it look fine? Does it open the wanted page?

    I have seen some similar behaviour but that was when linking to PDF documents.



  • 11.  RE: SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

    Posted 03-28-2018 17:45
      |   view attached

    Hello

    Thanks for looking into it. When I copy the link it isn't working either, the link is just the /connect/analyst/mobile link

    I copied yours into the template and changed the fields, that didn't work either.

    Out of curiosity I copied yours direct, knowing the fields wouldn't pick up. It came up blank, no hyperlink. That's different to what I'm getting when I use a "working" field name



  • 12.  RE: SSA (Spectrum) - How to choose which fields are returned when selected, rather than displaying ALL of the field. Also, can the fields be given aliases?

    Posted 03-28-2018 23:19

    I have an update!

    While trying to fix another issue I noticed there was a problem with the .DAT file. I've had to move a whole folder to get MI to be able to open the file again but after I fixed everything back up the hyperlinks started working!

    It also fixed another problem so I'll go update that question too