Question
Infosys Ltd
CA
Last activity: 19 Mar 2019 9:10 EDT
reload section command is not working in custom html script.
Hi,
we have custom HTML code for slider widget.
And reload section is failing to refresh the section on the value change. Below is the script line we used in a switch case where we get the section name to sectionToReload. Attached error screen shot. And no exceptions or errors in tracer.
pega.u.d.reloadSection(sectionToReload ,"","", false, false, '-1', false);
I don't see below your code has an issue.
pega.u.d.reloadSection(sectionToReload ,"","", false, false, '-1', false);
Your attached error screen shot seems showing "Could not establish connection" error and "TypeError: Cannot read property 'indexOf' of …".
I don't see below your code has an issue.
pega.u.d.reloadSection(sectionToReload ,"","", false, false, '-1', false);
Your attached error screen shot seems showing "Could not establish connection" error and "TypeError: Cannot read property 'indexOf' of …".
Have you tried Fiddler or F12 to capture the network log?