Skip to Content
author's profile photo Former Member
Former Member

SmartField will not be put in edit mode

Hi all,

Does anyone know why I might be having trouble getting my SmartField to render in edit mode? No matter what I do, it seems to insist on being display-only. My field is bound to a property from an oData model, which has an actual SAP oData service as its data source. I do indeed have the sap:updatable attribute equal to true in the metadata for my Property. I accomplished this by setting the property's "updatable" checkbox in the EDM in SEGW.

Any thoughts?

Thanks,

-Chris

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2016 at 07:55 PM

    Update:

    I created a test program by copying the SmartField demo from the Demo Kit and adapting it such that its mock server metadata is exectly a copy of my real OData web service's metadata. Also, the JSON file that it is using is exactly the output from a call to my service's getEntitySet operation. As far as I can tell, everything in the mock server is exactly like my real OData service.

    As long as the manifest for this test component points to my mock server, the SmartField will render in edit mode. If I change my manifest to point to the real, identical OData service, the SmartField becomes display-only.

    Any ideas?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.