Can i access Page fields in symbol?

i have custom component where i was getting page fields as props (builderState.content.data ).
Now i want to convert it to symbol as it will have common design on all pages as i will be adding some fields on my symbol. So now i cant access stateContent data inside it even i have enabled " inherit State " option.

can any one faced similar problem and have any solution.


state.2

This is how my component get populated with page fields without converting it to symbol:
state.3

Hello @mohsin,

While it’s possible that builderState.content.data may not be directly accessible within a symbol, there’s a workaround you can try. You can utilize the Builder editor to pass the context ?.builderContent?.data and set up a content input within the symbol with binding.

For your convenience, I’ve prepared a visual demonstration in a Loom video, which you can access through the following link:

Please feel free to refer to the video for a step-by-step guide. If you have any further questions or need additional assistance, don’t hesitate to reach out.

Best regards,

1 Like