November Happy Hour will be moved to Thursday December 5th.

Inline Editing not working for pages in DXC

Vote:
 

We have used EPiServer DXC service to host our application. In local environment, Inline editing is working fine. But in DXC environment, we are not able to use inlline editing. 

Is there any specific change we need to make for it to be working?

Thanks!

#186507
Dec 21, 2017 10:15
Vote:
 

There is no change required for on-page editing to work. You most probably have differences in your environments (content, access rights etc) that is causing this, or maybe some script error or something.

#186522
Dec 21, 2017 14:32
Vote:
 

In the DXC environment, can users see content in the page tree? Please provide more details about where the 2 editing experiences diverge. Also please provide version information.

#186531
Dec 21, 2017 17:15
Vote:
 

Thanks Mattias for replying.

We have compared access rights and checked for any script errors. But there is no difference between the two environments.

#186539
Dec 22, 2017 5:32
Vote:
 

Hi Bob,

Users are able to see, update and create content without any issue. According to our research, there is only one change between the two environments that DXC environment is 64 bit operation and the local environment is 32 bit operation. We are using 10.10.1.0 version for both the environments.

Thanks!

#186540
Dec 22, 2017 7:34
Vote:
 

Hi Saurabh.

We have done a ton of on-premise and DXC Service solutions, where no configuration changes were required to enable the on-page editing. Moving between 32bit and 64bit should not make a difference for this functionality, unless you see any raised errors. Please try these action items:

1. You can be sure that no access-right settings are disabling the editing by checking for a "lock" icon.

2. Like other, I would recommend to look at the Browser Console, as it would quickly reveal any Javascript errors, which may prevent the authoring experience from loading correct. If you see anything that could be the cause, try and turn on the debug flag for DOJO.

Update your Episerver.Framework.config with this:

<clientResources debug="true" />

3. You should check your application logs to see if any Episerver Web-APIs are throwing errors, preventing the authoring components to load.

Let us know how it goes. 

/Casper Aagaard Rasmussen

#186543
Dec 22, 2017 8:02
Vote:
 

Hi Casper,

Below is the error we found in DXC environment. We don't know if this is the cause for this.

MessageHub.js:96 WebSocket connection to 'ws://xyz/EPiServer/Shell/socket/endpoint/' failed: Error during WebSocket handshake: Unexpected response code: 200

[Pasting files is not allowed]

#186619
Edited, Dec 27, 2017 13:07
Vote:
 

Hi Saurabh.

Thanks for sharing that error message. 

Have you tried disabling the use of Web Sockets in Episerver, for the sake of testing if this is causing your authoring interface to malfunction? You can also validate the steps outlined here, as they are required for Web Sockets to work.

https://world.episerver.com/documentation/Items/Developers-Guide/Episerver-CMS/9/User-interface/websocket-support/


/Casper Aagaard Rasmussen

#186626
Dec 28, 2017 7:43
Vote:
 

Hi Casper,

Thanks for your reply!

In the link given by you, there are 2 steps to get WebSockets working.

1. <system.web> <httpRuntime targetFramework="4.5" /> </system.web>

We have targetFramework as "4.5.2". We guess this should not cause any issue, should this?

2.  <appSettings>

      <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />

     </appSettings>

This is already as it should be.

We pushed this change to DXC environment but the WebSocket error still persists.  frown

Next we will try to disable the WebSocket and check.

#186632
Edited, Dec 28, 2017 16:22
* 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.