Zum Hauptinhalt gehen

Adding geocoding tool to Getting Around tab

Kommentare

2 Kommentare

  • Permanently deleted user

    Hi,

    I would recommend copying over all of the toolbar configuration as a whole before beginning to edit it. The special tags used to insert specific sections are as of yet undocumented, and subject to change. It will also be much easier to see how everything fits together.

    You should be able to do this 100% from the REST Manager interface now. Simply open the viewer attached to your site for editing and navigate to the Toolbar pane. Click the 'Copy Local' button to get a local copy of your toolbar configuration, and then you should be able to edit it. You can add a tool or a button to any existing tab or group, or create a new one to hold it. For a geocoder -- add a button that lauches a command, select the 'Forward Geocode' command, and put the ID of the geocoder as the 'Command Parameter'.

    If you are editing the viewer.xml by hand, you will see that the toolbar is arranged like this:

    <Toolbar>      <Tab DisplayName="First Tab Name">           <Group DisplayName="First Group Name">                   <Tool ...... />                   <Button ...... />                    .........           </Group>           <Group DisplayName="Second Group">            </Group>     </Tab>      ...  

    And so on. So you should be easily able to add the tool anywhere you like by following this pattern.

     

    0
  • Permanently deleted user

    Thanks Jonathan.  Perhaps we need a smiley banging his head on his desk /customer/servlet/servlet.FileDownload?file=00P6000000e87wLEAQ

    0

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