display attributes in data link in feature description
Is it possible to display the attributes from a one to one data link in the feature description? If so, what is the syntax?
-
Hi Kenneth,
It is possible, use the syntax {DATALINKNAME.FIELDNAME} and it should work.
Note that it's still up to the viewer to unwind the description and display something. The Silverlight viewer is the only viewer so far that supports this syntax.
Regards,
-Malcolm
0 -
If there is a one to many relationship, is there a process/syntax to display the list in feature description (long)?
0 -
Hi,
I have just tried this in Essentials V3.8 SL V 1.4 and i get an error in both the Feature Description and Feature long Description fields.
Error is an orange Warning message at the bottom of the form when I type in the {DatalinkName.FieldName}
Is there anything specific i should be doing? using an ID and not a name? all capitals? anything?
The data link is to a sgl table that shows up fine all the attributes in the attributes field...
0 -
Hi Gina
currently the interface get confused when putting anything other than a field which can be found in the spatial data.
I am afraid that you just need to make sure the spelling is correct and then have faith.
Regards
Ralph
0 -
This syntax works for me in the Attributes tab, but not in the Feature Description.
{DATALINKNAME.FIELDNAME}
0 -
Hi Jeff
here is what I have in a Feature Description:
{LEGAL} ({ozParcel.PARCEL_ID})
or in a Feature Long Description:
CrsLegal = {LEGAL}
OzLegal = {ozParcel.PARCEL_NAME}({ozParcel.PARCEL_ID})where ozParcel is the ID of the Data Link that has a field called PARCEL_ID
and LEGAL is a field in the spatial data.
This is GE3.10 and SL1.6
Regards
Ralph
0 -
Hi,
Strange thing, this morning using the data link field in the Feature Long Description works (when yesterday it didn't!)
Though it still refuses to work in the feature description
What worked for me is exactly what I tried yesterday {DATALINKNAME.FIELDNAME}
Or in my case {UserDetails.Name}
I have also got an image url working with the replacement field
<img src="{UserDetails.PictureURL}"/>
and a mailto: email hyperlink working also using another replacement field.
<a href="mailto:{UserDetails.WorkEmail}">Email</a>
All the columns are visible in the Attributes tab..
But not able to work with the Feature Description .. have tried putting brackets around ({UserDetails.Name}) and {UserDetails.Name} and not working currently.. though possibly tomorrow it may just start working like the Feature Long Description has...
0 -
Hi Gina
I assume that you have a 1 to 1 link for the UserDetails datalink? Can you try changing it to a 1 to many?
This would get a separate tab to appear (with multiple records but I guess in your case usually one)
Does that change the behaviour for you as far as the Feature Description?
Thanks
Ralph
0 -
Hi Ralph,
Thanks, have tried changing 1:1 to 1:many. Link is only required as 1:1 but worth a try..
Result was a no change to the Feature Description.
Cheers,
0 -
After upgrading to GE3.10 and SL1.6, the data link fields do in fact work in the Details tab, just as Ralph describes. Thank you.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
10 Kommentare