Select to view content in your preferred language

GPT connection to Silverlight App- query string? or any suggestions?

1122
2
12-27-2010 09:09 AM
Ravichandran_M_Kaushika
Regular Contributor
dear Readers,

we have a list of authoritative layers in our geoportal. we have 2 instances - both 9.3.1 and 10.x. i am a .NET and silverlight programmer (with db, xml, and gis background).


i am trying to write an application where in that layer names search result page of geoportal - i will have my ViewInSLPage link for each of those layer listed. when someone clicks ViewInSLPage link, i want send the information about the layer as a query string along with the URL of my silverlight application to be added to the layer list for display.

i decided to use query string because i am a .net microsoft programmer. is there a better way of doing it? if so, can you provide me with keywords to identify the technique or a link that has an implementation example. i understand that there might be .XML file modification required in tomcat/web-inf folder associated with geoportal GPT.

thanks for your response. if i find something that worked/not worked, i will update this page for my and others reference.

regards
Ravi.
0 Kudos
2 Replies
Ravichandran_M_Kaushika
Regular Contributor
I forgot to indicate that I created a silverlight application where i could query the portal as keyword search to bring back a JSON and was able to parse the JSON, load the layers onto a stack panel and view the layers at 80% opacity.  In essence, i was able to go from a silverlight application to geoportal, query, list and load the layers/

I am interested in doing the opposite - from geoportal, click on a layer, and open the an existing silverlight application of choice.

thanks for your time.

regards
ravi.
0 Kudos
Ravichandran_M_Kaushika
Regular Contributor
http://help.arcgis.com/en/geoportal_extension/10.0/help/index.html#/Integrate_a_Map_Viewer/00t000000...

I would like to have more information along the lines of this post.  Main questions that would help me further:

1. i will figure out how to create a (.java) class - how to 'tie' the contents of the class to the <configParams> in gpt.xml?

2. what are the allowed keywords in the <mapviewer> tag?

there is no example as to how to create a class to connect the class to gpt to viewer.

thanks and regards
Ravi.
0 Kudos