<div>I'v founded my mistake, it was an error on the name.</div>
<div> </div>
<div>Thanks for your help Gordon.</div>
<div> </div>
<div>Best Regards</div>
<div>Jérôme.</div>
<div><br><br> </div>
<div class="gmail_quote">2012/9/10 jerome.duckers <span dir="ltr"><<a href="mailto:jerome.duckers@gmail.com" target="_blank">jerome.duckers@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div class="im">
<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>
<div class="gmail_quote">2012/9/10 GordonL [via OSGeo.org] <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=5000927&i=0" rel="nofollow" target="_blank" link="external">[hidden email]</a>></span> 
<div>
<div class="h5"><br>
<blockquote style="BORDER-LEFT:#cccccc 2px solid;PADDING-BOTTOM:0px;PADDING-LEFT:1em;PADDING-RIGHT:1em;PADDING-TOP:0px" 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" rel="nofollow" target="_blank" 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 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></div></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" target="_blank">Re: Creation of a FeatureSource</a><br>Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/MapGuide-Users-f4182607.html" target="_blank">MapGuide Users mailing list archive</a> at Nabble.com.<br>
<br>_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br></blockquote></div><br>