It's very possible that ServiceAPI was not able to fire events which needed by Catalog UI to clear cache, so it still use the old data (Cached).
To verify this, simply try to run iisreset/restart your site. If the data appears in Catalog UI after that, then the problem above is confirmed (Cached data)
In that case, make sure the both ServiceAPI and your site have proper serviceModel configuration (needed by EPiServer.Events to properly fire/listen to events). They should look like this (default installation). The endpoint addresses are important and should match.
<system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /> <extensions> <bindingElementExtensions> <add name="udpTransportCustom" type="Microsoft.ServiceModel.Samples.UdpTransportElement, EPiServer.Events" /> </bindingElementExtensions> </extensions> <services> <service name="EPiServer.Events.Remote.EventReplication" behaviorConfiguration="DebugServiceBehaviour"> <endpoint name="RemoteEventServiceEndPoint" contract="EPiServer.Events.ServiceModel.IEventReplication" binding="customBinding" bindingConfiguration="RemoteEventsBinding" address="soap.udp://188.8.131.52:5000/RemoteEventService" /> </service> <!-- Enable remote service --> </services> <client> <endpoint name="RemoteEventServiceClientEndPoint" address="soap.udp://184.108.40.206:5000/RemoteEventService" binding="customBinding" bindingConfiguration="RemoteEventsBinding" contract="EPiServer.Events.ServiceModel.IEventReplication" /> </client> <behaviors> <serviceBehaviors> <behavior name="DebugServiceBehaviour"> <serviceDebug includeExceptionDetailInFaults="true" /> </behavior> <behavior name="CommerceSiteBehavior"> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="true" /> </behavior> </serviceBehaviors> <endpointBehaviors> <behavior name="CommerceSiteBehavior"> <webHttp /> </behavior> </endpointBehaviors> </behaviors> <bindings> <customBinding> <binding name="RemoteEventsBinding"> <binaryMessageEncoding /> <udpTransportCustom multicast="True" /> </binding> </customBinding> <webHttpBinding> <binding name="IndexingServiceCustomBinding" maxBufferPoolSize="1073741824" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647"> <readerQuotas maxStringContentLength="10000000" /> </binding> </webHttpBinding> </bindings> <!-- Enable remote service --> </system.serviceModel>
Nope, the data is not updated after iisreset or restart etc.
Is the UI showing a draft version? Updates through service API affect the data of the published version.
Thanks for the answer late in the evening! The node I am updating shows an old version, from sept 2016. How can I switch to the published?
I found the version gadget but I can only see the first version when the node was created.
Any updates on this issue?
@Eirik: I am using the service api quite a lot and have not had issues similar to this. Are you sure that your update actually finishes sucessfully? Can you try changing another value, like DisplayName?
This can possibly a bug in older version. Can you try to upgrade to latest version (10.6) to see if it's fixed? If you are already at latest version, or if it does not work, I suggest to contact our developer support service for further assistance.
We had the same issue. I assume you are telling commerce to save without validation. On the page that it is not showing, are you getting a validation issue if you try to edit it? If so then we got around this by failing on products that don't pass validation and manually updating them. I am sure there is a better way, but thats what we did.
I update category date using the Service API. That data is not visible in the Commerce Catalog GUI. The site is updated with the new data. Am I missing something here?