<div dir="ltr">GordonL,<div>I can't reach the feature source to even make a query. Do you know how to make it part of my session Repo?</div><div><br></div><div>According to Jackie, I need to Load the FeatureSource or Layer into my Session Repo, that they aren't  available just from the runtimemap.</div><div>However he hasn't explained how to do this.</div><div><br></div><div>My problem is that I can't find a single example that Allows me to bring these resources into my session for Querying and making selections using REST.</div><div><br></div><div>Even trying to reach the content is failing </div><div><a href="http://localhost/mapguide/rest/session/3955a162-8c77-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA/SC_GEO.FeatureSource/content.json" target="_top" rel="nofollow" link="external">http://localhost/mapguide/rest/session/3955a162-8c77-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA/SC_GEO.FeatureSource/content.json</a></div><div>All session calls to layers and Featuresource that aren't through the map fail for me with</div><div><div><Type>MgResourceNotFoundException</Type></div><div>    <Message>Resource was not found: Session:3955a162-8c77-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA//SC_GEO.FeatureSource</Message></div><div>    <Details>Resource was not found: Session:3955a162-8c77-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA//SC_GEO.FeatureSource</div></div><div><br></div><div>as far as I can tell I shouldn't have to do anything with the config file unless I want to lock things down and according to the config notes these are not used when using rest/session anyways.</div><div><br></div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 16, 2015 at 9:53 AM, GordonL [via OSGeo.org] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=5236674&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        Your filter cannot use "LIKE" if your columns are numeric in mapguide-rest.
<br><br>For example, I cannot do this:
<br><br><a href="http://localhost/mapguide/rest/library/Samples/Sheboygan/Layers/Parcels.LayerDefinition/features.geojson?filter=RYEAR" rel="nofollow" link="external" target="_blank">http://localhost/mapguide/rest/library/Samples/Sheboygan/Layers/Parcels.LayerDefinition/features.geojson?filter=RYEAR</a> like '200%'
<br><br>but I can do this:
<br><br><a href="http://localhost/mapguide/rest/library/Samples/Sheboygan/Layers/Parcels.LayerDefinition/features.geojson?filter=RYEAR" rel="nofollow" link="external" target="_blank">http://localhost/mapguide/rest/library/Samples/Sheboygan/Layers/Parcels.LayerDefinition/features.geojson?filter=RYEAR</a> = 2000
<br><br>I don't know if that is a bug or just a limitation of mapguide-rest...
<br><br>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <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.x6.nabble.com/REST-Broken-Parts-or-being-Used-Incorrectly-Jackie-tp5236035p5236673.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/REST-Broken-Parts-or-being-Used-Incorrectly-Jackie-tp5236035p5236673.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from REST Broken Parts or being Used Incorrectly? Jackie?, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://osgeo-org.1560.x6.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" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><b style="color:rgb(136,136,136);font-family:Calibri,sans-serif;font-size:14.6666660308838px"><span style="font-size:10pt;font-family:Tahoma,sans-serif;color:rgb(0,0,139)">Scott Hameister | <a href="http://www.mpowerinnovations.com/" style="color:rgb(17,85,204)" target="_blank" rel="nofollow" link="external"><span style="color:blue">www.mpowerinnovations.com</span></a><br>________________________________________<br></span></b><b style="color:rgb(136,136,136);font-family:Calibri,sans-serif;font-size:14.6666660308838px"><span style="font-size:10pt;font-family:Tahoma,sans-serif;color:gray">mPower Innovations</span></b><span style="font-size:9pt;font-family:Tahoma,sans-serif;color:gray"><br>1051 N Lynndale Drive, Suite 2A, Appleton, WI 54914<br></span><span style="font-size:10pt;font-family:Tahoma,sans-serif;color:gray">Main: <a href="tel:%28877%29%20269-6971%20x%20207" value="+18772696971" style="color:rgb(17,85,204)" target="_blank">(877) 269-6971 x 204</a> | Mobile: <a href="tel:%28920%29%20470-0292" value="+19204700292" style="color:rgb(17,85,204)" target="_blank">(920) 419-6250</a></span><span style="font-size:9pt;font-family:Tahoma,sans-serif;color:gray"></span></div></div>
</div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/REST-Broken-Parts-or-being-Used-Incorrectly-Jackie-tp5236035p5236674.html">Re: REST Broken Parts or being Used Incorrectly? Jackie?</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html">MapGuide Users mailing list archive</a> at Nabble.com.<br/>