IPWorks 2020 JavaScript Edition

Questions / Feedback?

ResourcePath Property

The Resource Path of an OData service.

Syntax


 getResourcePath(): string;

 setResourcePath(resourcePath: string): void;

Default Value

""

Remarks

This property contains the resource path of an OData service and is used in conjunction with ServiceRootURI (ServiceRootURI/ResourcePath) to query feeds and modify entries.

This property will be populated when EntryIndex is set. You can change the value if you wish to send the request to a different Resource Path.

For example, a valid ResourcePath for the OData sample service is: "Products".

This property is not available at design time.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 JavaScript Edition - Version 20.0 [Build 8292]