We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39498
    • 169 Posts
    I have some problem with a grid rendering. The Chunk is simple, but turns no output

    [[getResourceField? &id=`[[+Produktion_List]]`]]


    [[+Produktion_List]] returns an id, so the chunk just with this renders the correct id
    [[+Produktion_List]]


    getResourceField with a static id fail, the whole grid is empty
    [[getResourceField? &id=`3470`]]


    Dont know what to check next.

    This question has been answered by spica8. See the first response.

      • 28432
      • 372 Posts
      Hi spica8,

      By default the code bellow return the pagetitle field :
      [[getResourceField? &id=`123`]]

      1. Make sure the ID exist.
      2. If pagetitle field is empty i think it will return nothing. Have a look to see if the field is empty.
      3. Try to add &field=`aNotemptyField` to the getResourceField call.

      I hope this help.
        • 39498
        • 169 Posts
        HI Steeve,

        1. ID definetly exist
        2. Pagetitle is default, and not empty
        3. dito

        The whole Grid does not get rendered, not just the single field. So there must be another Problem with the getResourceFild Snippet. The error log does not output anything.
          • 28432
          • 372 Posts
          Quote from: spica8 at Jan 12, 2017, 10:28 AM
          HI Steeve,

          1. ID definetly exist
          2. Pagetitle is default, and not empty
          3. dito

          The whole Grid does not get rendered, not just the single field. So there must be another Problem with the getResourceFild Snippet. The error log does not output anything.

          Hi getResourceFild,

          Have a look at the snippet call name because in the post you name it getResourceFild instead of getResourceField maybe you make the same error.
          • discuss.answer
            • 39498
            • 169 Posts
            Well, I dont know what the problem is with getresourcefield.
            I installed fastField, and all gets rendered well with
            [[#[[+Produktion_List]].pagetitle]]
              • 28432
              • 372 Posts
              Quote from: spica8 at Jan 12, 2017, 07:09 PM
              Well, I dont know what the problem is with getresourcefield.
              I installed fastField, and all gets rendered well with
              [[#[[+Produktion_List]].pagetitle]]

              I'm glad you found a way to solve it, even it's by yourself!