none
LS HTML Release - OData and missing access methods RRS feed

  • Question

  • Hi,

    I've created a lightswitch application project to expose my data as OData. No problem with that, and I can see all my entity access control methods (CanRead, CanUpdate, CanDelete...). It's then been published to IIS 8, so far so good.

    Now I'm trying to consume (read AND update) that data (the published one) from an HTMLCLient application. I can only view the data, but cannot update it from any screen. Moreover, the only access I see is  CanRead. I guess that's why I cannot update anything.

    What can I do in order to have the same access methods as the original datasource, update my data ?

    Friday, April 12, 2013 7:13 PM

Answers

  • Hi,

    You can

    - Right-click on the Data Source.
    - Execute "Update Data Source".
    - Click "Previous" and uncheck "Attach to this data source as read-only".

    This is helpful if you add some new Entities to the OData Service and want to update the existing one in LightSwitch project as well.

    Best regards,
    Huy Nguyen

    Tuesday, April 16, 2013 5:04 PM

All replies