London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Using Content Channels to Import Pages

Vote:
 

I'm using content channels to import a bunch of pages into EPiServer 6. ImportPage returns the imported page ID in the form of a GUID which is great, but how do I translate this into the integer page id?

Is this something I'll have to implement myself with a custom web service? Seems a shame since content channels does most of what I need.

#40194
Jun 11, 2010 12:57
Vote:
 

It is possible to get a PageData object from a GUID.  Allan blogged about this some time ago:

http://labs.episerver.com/en/Blogs/Allan/Dates/2010/1/Getting-a-Page-from-a-Guid/

Of course, this doesn't help your remote code at all.

I just implemented my own Web service for importing pages, because I wanted to be able to alter the parent page, as well as get the ID. It took about five minutes.  It's really worth the time.

#42411
Edited, Aug 23, 2010 7:50
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.