This topic contains 2 replies, has 0 voices, and was last updated by ChrisCorral 7 years, 11 months ago.

  • Author
    Posts
  • #2287

    jmacdonald

    I’m having some trouble accessing a sublist in the PDF template.

    I can check if the sublist has content by doing .?has_content> and this does go into the next block so I assume that means that the sublist has loaded correctly?

    However, when I try to access it as a list . as asset> it doesn’t seem to be looping through. I have done this before with other records and sublists using the same syntax so I wonder if this is to do with settings on the record? Is their anything in particular I should be looking out for to fix this?
    This is a cached copy. Click here to see the original post.

  • #2288

    jmacdonald

    I have just checked this against a record that has an empty sublist and it still gets into the next block so I guess it’s only checking that the sublist exists rather than it having any content. Unfortunately this doesn’t bring me much closer to fixing this issue.

  • #2289

    ChrisCorral

    May I ask what data from which sublist you’re trying to pull from?

You must be logged in to reply to this topic.