Inconsistency In Service Call

Posted by Community Admin on 04-Aug-2018 18:30

Inconsistency In Service Call

All Replies

Posted by Community Admin on 20-Oct-2011 00:00

Is there a reason that the services/Pages/PagesService.svc/ returns dates and publish information about each page, but the actual call to get a page (services/Pages/PagesService.svc/7254a75b-b226-4e0c-bf6a-a53ecc8aa13b) is missing all of this data?

The result of this is I have to make two calls to the service, get the publish dates and information, and then a separate call to the individual page to get the remainder.. am I missing something?

Ray Simpson

Posted by Community Admin on 25-Oct-2011 00:00

Hello Ray,

 These services are meant for internal use - GetPages is used for the backend grid of the Pages module, GetPage is used for the Edit mode of the Page and this is the reason why custom types with only the needed fields are returned by the service method. If you need to use all of the properties that PageData exposes, you will have to create your own service.

Kind regards,
Svetoslav Petsov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed