More in this section

Forums / Developing with Sitefinity / Inconsistency In Service Call

Inconsistency In Service Call

2 posts, 0 answered
  1. Ray
    Ray avatar
    16 posts
    31 Aug 2011
    20 Oct 2011
    Link to this post
    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
  2. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    24 Sep 2012
    25 Oct 2011
    Link to this post
    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
2 posts, 0 answered