<div>Hi Gordon,</div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div>You have right. If i change to Library => the data is correctly created in Maestro, and everything is good.</div>
<div>The Layer is drawing.</div>
<div> </div>
<div> </div>
<div>I see that in my layerTemplate, it was :</div>
<div>       <ResourceId>Library://{0}.FeatureSource</ResourceId></div>
<div> </div>
<div>I think that's the reason why i did'nt see the draw in my map.</div>
<div>So, i try to replace the </div>
<div>               <ResourceId>Library://{0}.FeatureSource</ResourceId></div>
<div>         by</div>
<div>              <ResourceId>Session:{0}//{1}.FeatureSource</ResourceId>        // where {0} is the sessionId</div>
<div>                                                                                                                         {1} the name</div>
<div> </div>
<div>but nothing on screen :(</div>
<div> </div>
<div>I am always searching.</div>
<div><br><br> </div>
<div class="gmail_quote">2012/9/10 GordonL [via OSGeo.org] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=5000927&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span><br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">I  tend to create permanent Library connections and layers when debugging, so i can debug them in Maestro. <br>
<br>change your lines where you have 'Session' to Library <br><br> string resourceId = string.Format("Session:{0}//{ 1}" ,sessionId, name); <br><br> string resourceId = string.Format("Library://{0}", name); <br>
<br>for example. <br><br><br><br>
<hr color="#cccccc" size="1" noshade>

<div style="FONT:12px tahoma,geneva,helvetica,arial,sans-serif;COLOR:#444">
<div style="FONT-WEIGHT:bold">If you reply to this email, your message will be added to the discussion below:</div><a href="http://osgeo-org.1560.n6.nabble.com/Creation-of-a-FeatureSource-tp5000822p5000824.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1560.n6.nabble.com/Creation-of-a-FeatureSource-tp5000822p5000824.html</a> </div>

<div style="MARGIN-TOP:0.4em;FONT:11px/1.5em tahoma,geneva,helvetica,arial,sans-serif;COLOR:#666">To unsubscribe from Creation of a FeatureSource, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a style="FONT:9px serif" href="http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" target="_blank" link="external">NAML</a> </div>
</blockquote></div><br>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/Creation-of-a-FeatureSource-tp5000822p5000927.html">Re: Creation of a FeatureSource</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/MapGuide-Users-f4182607.html">MapGuide Users mailing list archive</a> at Nabble.com.<br/>