Expand my Community achievements bar.

SOLVED

Dynamic table columns problem

Avatar

Level 1

Hi! I need to place 3 tables with dynamic columns and repeating header in one PDF document in Adobe Livecycle Designer. addInstance for dynamic columns in initialize event of header row works fine for small document (2 or 3 pages per table) or when first table is big (100 pages for example) and other tables occupy one page. In other cases this solution doesnt work - dynamic columns instances are not created.

Could you give any tips on this?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor
The following has evaluated to null or missing: ==> liql("SELECT id, subject, body, depth, post_time, author.login, author.id, author.rank, metrics.views FROM messages WHERE topic.id = '${topicId}' AND is_solution = true").data.items[0] [in template "analytics-container" at line 82, column 31] ---- Tip: It's the final [] step that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign acceptedAnswer = liql("SELECT... [in template "analytics-container" at line 82, column 5] ----