Not able to get new fields added in response of Squidex API

I have…

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

Created 2 new fields in schema and added the content. When we call Squidex API to get the data then the new fields are not appearing in response.

Expected behavior

Need to get content of new fields after page publishing.

Minimal reproduction of the problem

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ X] Cloud version

Version: [VERSION]

Browser:

  • [ X] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

It is by design. Only the actual content is returned. It does not work like a database.

Hi sebastian,
The below new fields were added in schema and then we added content over the 2 fields

.

I am not seeing the content for those 2 fields when I run the Squidex API
https://cloud.squidex.io/api/content/XXX/XXX/b2555096-007e-4256-9373-f31f4110fe01

Apart from this I am able to get data for existing fields that have the content.
Please take a look at it.

Thanks,
Manjeera T

Please send me the full link to the content, perhaps via PM if you don’t want to post it here.

https://cloud.squidex.io/api/content/cargocrew-uat/website-configuration/b2555096-007e-4256-9373-f31f4110fe01

Hi Sebastian,
This is not on;y problem with new fields. If I update any exiting field data then it is not getting reflected when I hit API
https://cloud.squidex.io/api/content/cargocrew-uat/website-configuration/b2555096-007e-4256-9373-f31f4110fe01

Thanks,
Manjeera T

You have a draft version. Every update you make is only visible in the frontend until you publish it. You can also add the X-Unpublished=1 header to your request.

Thanks Sebastian.

Thanks,
Manjeera T

1 Like