how do i add metadata hyperlinks to a specific layer in html5?
I am not sure how to make layer actions specific to a particular theme. i can add it to the layer actions, but the command shows up in all the layers, so how do a i add a command to actions that applies only the a particular theme. the real nead is a layer hyperlink to the metadata for theme, like you could in the silverlight days.
0
-
Jeff, did you ever get this resolved? 0 -
i believe this capability is in the current or next release (coming out shortly), so we plan to use the layer links function, or you can also show metadata through a workflow or command to link to the metadata url. so it has be resolved, at least in my mind.
J0 -
The items in the Layer Actions menu apply to all layers so there isn’t a way to have them conditionally apply to certain admin defined layers or layers in certain themes.
However if you have a menu item that is configured to use a custom command then your command implementation could implement the logic required to target specific layers. The canExecute() method implementation of your command would examine the layer and return true or false depending on the layer that was passed in.
Layer Hyperlinks are a little different. They are hyperlinks configured on individual layers so you can have different links for different layers. These work pretty well for metadata links. However they can only open web pages, they cannot invoke arbitrary commands. Layer Hyperlinks have been supported since GVH 2.6.
--Ryan0 -
Thank you for clarification.
Jeff0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare