Create Nested Field

I have…

I’m submitting a…

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

Current behavior

I am trying to create a new nested property to an existing schema. I am using the following api call from Client library -

schemasClient.PostNestedFieldAsync(appConfiguration.SquidexAppName,schemaName,<parentId>, addFieldDto);

Where do I get parentId from the schema?

Expected behavior

Why postNestedFieldAsyn have a different signature from

schemasClient.PostFieldAsync(appConfiguration.SquidexAppName, schemaName, addFieldDto)

Minimal reproduction of the problem

Environment

App Name:

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

Version: [VERSION]

Browser:

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

Others:

Hi

When you query a schema you should get back the ID of the field.

resolved. thanks very much

1 Like