A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
I'm tying to consume a PageStoreService from a remote site but I'm having some issues. I've added the Service Reference in my VS project and I can connect and get data from a remote site. The drawback is that I have to use PageReference, RawPage etc. generated in the proxy-class. I'm guessing that I'm suppose to be able to use the types from EPiServer.Core etc.
Result when trying to use EPiServer.Core.PageReference:
cannot convert from 'EPiServer.Core.PageReference' to 'MyServiceReference.PageReference'
Another issue is that I cannot use the PageData constructor that accepts RawPage since the type is wrong.
Someone with some knowledge on what is the correct to do this?
Stig