I suggest you ...

OData: AtomPub format: possible to fill in the feed.entry.title field

Hey experts!

I have an amazing idea to unleash tremendous powers with LightSwitch, (as always :-)), that makes use of the new OData features in LS 11.

However, my idea quickly stranded because it would need the "feed.entry.title" field to be filled in. According to Matt Thalman (http://social.msdn.microsoft.com/Forums/en-US/LightSwitchDev11Beta/thread/7de404e9-83ab-4333-9dc3-50819a2454b2), this was not implemented by design, but would be nice to see implemented non-the-less. I personally suggest simply filling in the selected entities "summary" property, the simplest thing that could work...

To make it clear what I "need", I created a random (and I mean totally random) LightSwitch application, and looked at the ApplicationData.svc/Table1Items url. It returns me the following:

<entry m:etag="W/"'Pieter',17,'Hallo'"">
<id>http://localhost:62978/ApplicationData.svc/Table1Items(1)</id>
<category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"; term="LightSwitchApplication.Table1Item"/>
<link title="Table1Item" href="Table1Items(1)" rel="edit"/>
<title/> <!-- THIS field right here is what I need to be filled in -->
<updated>2012-05-09T09:30:45Z</updated>-
<author>
<name/>
</author>
<content type="application/xml">
<m:properties>
<d:Id m:type="Edm.Int32">1</d:Id>
<d:Name>Pieter</d:Name>
<d:ProductId m:type="Edm.Int32">17</d:ProductId>
<d:HelloMyField>Hallo</d:HelloMyField>
</m:properties>
</content>
</entry>

2 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Jan Van der HaegenJan Van der Haegen shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base