Skip to main content

How to use a query in template to insert data sets into FS internal data sources?

Comments

3 comments

  • Zendesk API User
    Author: felix_reinhold - 9/19/2019 7:38

    Hello Yamini,

    if you want to add a Dataset directly while editing a page/section then you can use the FS_DATASET input component and set the attribute allowNew="yes".

    Of course you can always use a FS_BUTTON + script if you want to add a dataset programatically, but I don't think there are many use cases for that.

    Best regards

    Felix

    0
  • Zendesk API User
    Author: Yamini - 9/19/2019 8:24

    Hi Felix,

    Thanks for the answer!

    0
  • Zendesk API User
    Author: Yamini - 9/30/2019 8:15

    Hi felix.reinhold,

    I used FS_DATASET as you suggested but I am having a difficulty in using the layout for this component. When i use the "sheet" mode or "combobox" mode I can see the expected layout in site architecture but in content creator the fs_dataset component's layout is the default one. Any idea how that can be fixed ?

    I am attaching snapshots for reference.

    This is how it looks in site architecture form area:

    and this is how it looks in the content creator:

    0

Please sign in to leave a comment.