1

Using a JSS site deployed on SXA 9.3, is it possible to edit route fields in Experience Editor ? I have assigned simple fields to the route template and in Experience Editor I have tried using the Experience Accelerator "Other" button to edit the route template fields, however it just brings up a grey dialog box and the fields are not available. Is it feasible to use this approach ?

SXA Other button in EE

Blank dialog box when editing route fields

EDIT: I've found that the fields that have been inherited as Base Templates are not displayed in the dialog, but fields that are directly added to the Route template are showing up correctly.

Inherited versus template fields

Fields on the App Route content item:

Fields visible in the Route data item

Only the field applied to the template directly appears in dialog:

Only template field appears in dialog

1
  • The fields exist and can be edited in CE and rendered in JSS. There are no errors in logs.
    – andyp
    Commented Jun 15, 2020 at 1:03

1 Answer 1

0

You should be able to do it. As far as I can see, it is working fine on the latest code. Two custom fields in on the route template:

enter image description here

And they are visible in Experience Editor:

enter image description here

UPDATE: It is also working fine with fields inherited from a base template. Take a look here:

enter image description here

4
  • Thanks, must be my setup. I'll compare with the styleguide app.
    – andyp
    Commented Jun 15, 2020 at 10:05
  • Hi Dawid, I've found that it works with template fields that are directly applied to the route template, but not on template fields that are inherited as base templates. Any ideas?
    – andyp
    Commented Jun 16, 2020 at 1:33
  • @andyp It is also working fine with fields inherited from a base template. I've updated my answer. Commented Jun 16, 2020 at 10:53
  • Thanks Dawid, looking further it seems that Content and Title are already in use further up the inheritance chain but don’t appear in the Inheritance list. Using other field names works fine.
    – andyp
    Commented Jun 16, 2020 at 11:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.