GordonL,
I can't reach the feature source to even make a query. Do you know how to
make it part of my session Repo?

According to Jackie, I need to Load the FeatureSource or Layer into my
Session Repo, that they aren't  available just from the runtimemap.
However he hasn't explained how to do this.

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.

Even trying to reach the content is failing
http://localhost/mapguide/rest/session/3955a162-8c77-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA/SC_GEO.FeatureSource/content.json
All session calls to layers and Featuresource that aren't through the map
fail for me with
<Type>MgResourceNotFoundException</Type>
    <Message>Resource was not found:
Session:3955a162-8c77-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA//SC_GEO.FeatureSource</Message>
    <Details>Resource was not found:
Session:3955a162-8c77-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA//SC_GEO.FeatureSource

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.



On Mon, Nov 16, 2015 at 9:53 AM, GordonL [via OSGeo.org] <
ml-node+s1560n5236673...@n6.nabble.com> wrote:

> Your filter cannot use "LIKE" if your columns are numeric in
> mapguide-rest.
>
> For example, I cannot do this:
>
>
> http://localhost/mapguide/rest/library/Samples/Sheboygan/Layers/Parcels.LayerDefinition/features.geojson?filter=RYEAR
>  like
> '200%'
>
> but I can do this:
>
>
> http://localhost/mapguide/rest/library/Samples/Sheboygan/Layers/Parcels.LayerDefinition/features.geojson?filter=RYEAR
>  =
> 2000
>
> I don't know if that is a bug or just a limitation of mapguide-rest...
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1560.x6.nabble.com/REST-Broken-Parts-or-being-Used-Incorrectly-Jackie-tp5236035p5236673.html
> To unsubscribe from REST Broken Parts or being Used Incorrectly? Jackie?, 
> click
> here
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5236035&code=c2NvdHRoQG1wb3dlcmlubm92YXRpb25zLmNvbXw1MjM2MDM1fDMyMzM0MDY4Mg==>
> .
> NAML
> <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>
>



-- 


*Scott Hameister | www.mpowerinnovations.com
<http://www.mpowerinnovations.com/>________________________________________**mPower
Innovations*
1051 N Lynndale Drive, Suite 2A, Appleton, WI 54914
Main: (877) 269-6971 x 204 <%28877%29%20269-6971%20x%20207> | Mobile: (920)
419-6250 <%28920%29%20470-0292>




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/REST-Broken-Parts-or-being-Used-Incorrectly-Jackie-tp5236035p5236674.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to