Zum Hauptinhalt gehen

Adding logic to the Feature Description

Kommentare

5 Kommentare

  • Permanently deleted user

    Hi Dave, 

    As of the Silverlight Viewer 1.4, you can access data link information in the Feature Description and Feature Long Description. You can use the syntax {datalinkID.columnName}. So for the Charlotte sample site, on the Zip Codes layer with the ProjectsDataLink configured, In the feature description you could have 

    Zip Code: {ZIP}, Project: {ProjectsDataLink.Project}

    -Victoria

    0
  • Permanently deleted user

    Hi Victoria,

    I don't think {DataLink.columnname} syntax is correct. 

    I can't seem to get my datalink information displayed in either the feature description or feature long description for a 1:many or 1:1 data link. 

    I get an invalid token error.

    I'm using 3.8/1.5

    Has anyone gotten this to work?

     

     

     

    0
  • Permanently deleted user

    Kenneth,

    I just tried it out.  Despite throwing the invalid token error, it does work.

    @LG: It would be nice if this could be cleaned up.

    Dave

    0
  • Permanently deleted user

    Further testing reveals that 1:1 links work just fine.  For 1:N data links, it looks like it brings back just the first record. 

    0
  • Permanently deleted user

    Hi to all

    It would be very helpful to get this working.

    I guess one possiblity is a table structure where there is a 1:n relationship. It does not appear that adding a table element is possible using the 'Editor' but is able to directly in the Layer / Details Tab

    Such as:

    <table border="1">

     

    <tbody>

     

    <tr>

     

    <td bgColor="cyan">{RoadName} {RoadTypeLong} {RoadSuffix}</td>

     

    <td>test</td></tr></tbody></table>

    However the way that is is configured above does not flow through to the viewer correctly with no table border and no background color in the first cell.

     

    Thanks

    Ralph Price

    0

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