Spectrum Spatial (SSA/LIM)

 View Only
  • 1.  Configure Edit Template - Drop Down Lists

    Posted 07-04-2019 03:02

    ​​Hi.

    Looking at using SSA to populate a couple of asset classes and was wondering if there is a way to configure the editing to allow select lookups for certain fields to provide some consistency... 

    eg; Type - Red, Green & Blue as apposed to free text.

    Similar to when you do a query and It looks up the existing results, would be nice if you could limit a field to existing text etc.

    Just a thought.

    Cheers
    CM



    ------------------------------
    Craig Marshall
    Senior Infrastructure Planning Engineer
    Adelaide Hills Council
    Stirling
    ------------------------------


  • 2.  RE: Configure Edit Template - Drop Down Lists

    Employee
    Posted 07-05-2019 02:36
    Hi Craig,

    I understand that you want to edit the feature attributes and for a particular attribute, you need the user to select any value from the dropdown instead of writing free text. 

    This can be achieved by creating an editing form. Not only you can provide a dropdown list for any attribute but you may also choose which all attributes you want to display while editing. For numeric columns, you also have an option to enforce a range e.g. for age, you may enforce 1 to 100. 

    We have documented this functionality in the admin guide here. Please see the section titled "Configuring the feature edit/insert validation form". The documentation also provides a sample template and the following code can be used to display a list in place of the free input text.

    <column>                                               
                  <dbColumnName>Column_2</dbColumnName>                                               
                  <name>Column 2</name>                                               
                  <required>true</required>                                               
                  <pickList> 
                       <Option></Option>                                                          
                       <Option>Option 1 </Option>                                               
                       <Option>Option 2</Option>                                                           
                       <Option>Option 3</Option>                                               
                  </pickList>
              </column>


    Please revert if you need any further help.

    Regards,
    Vishwas



    ------------------------------
    Vishwas Gupta
    Pitney Bowes Software India Pvt. Lt
    NOIDA
    ------------------------------