Templates, Boots

Hello,

3X_2_7_274257e5af31e6399d15b290b3d147ae6261ea63.png

very clear up to this point. However, if I want that after creating the rows of customers with ages over 21, I want to list in the following rows the customers with ages between 15 and 8 (just for example, it can be any other criteria) How could I do it?

In the PDF template it is very easy, but I canโ€™t find how to make it work in the XLSX template.

0 9 266
9 REPLIES 9

You canโ€™t. Directly above the portion of the doc that youโ€™ve already posted:

Well, maybe you can, if you can combine both lists into one, and just order them a certain way. Something like this?

<<START:ORDERBY( FILTER( Customer , TRUE ) , [Age] <21 )>>

*Not tested*

The second argument of ORDERBY will either return TRUE or FALSE, F coming before T alphabetically.

Certainly I could already enter several Start and several End, only that I must leave blank rows (as many as records generated by the select) between a start and another.
I would like to find a way to avoid leaving blank rows. Your example is not very clear to me, I would appreciate if you could detail it better, taking into account that it is about applying different selects to the same table that would generate the same number of groups of records according to the criteria (or column).

Just to make absolutely clear, youโ€™re trying to do complex stuff with a system that is only setup to handle very simple things. It may not be possible to achieve exactly what you want here.

Iโ€™m curious what exactly you mean by this. Can you provide a screenshot?

Maybe forget about my previous suggestion for now, hereโ€™s a possibly better solution, with some List Addition. Again, not tested.

<<START: FILTER( Customer , [Age] >= 21) + FILTER( Customer , AND( [Age] < 15 , [Age]>8 ) )>>

its really better, may be it works.


The above only worked for the last select that had blank rows to fill in, so I inserted blank rows between each select and it works, however, I would like to not have to leave blank cells, as each operation may have different number of rows as a result.

It looks like you are trying to create a template using Excel on the Google Drive?

Excel based templates are much more limited in what they can do.

If, indeed, you are on Google Drive, then use a Google sheet. In Sheets you can place list tables inside of other list tables plus use the Sheets tables to control formatting and placement in general. You can get much better looking documents from templates in Sheets.

Indeed, you can go HAM on the templates, thereโ€™s almost no performance limitations since those are calculated on appsheetโ€™s servers.

Like my little monster over here:

3X_f_0_f04c7980f19a0c776a2eac4e13088aa9eab46d24.gif

I am using a template generated by the boot (XLS) and I edit it.

where can I find more information about what you are talking about? Its not very clear to me when you say โ€œIn Sheets you can place list tables inside of other list tablesโ€.

I have three instructions to generate 3 list tables. The first instruction generates about 30 rows, and so each one (a number that can vary with each query). If there are no blank rows between one instruction (<

First, so sorry, I meant to refer to Google Docs not Google Sheets. Templates on Google are created in the Docs app and you can insert tables to control formatting. It may be its not needed in your case but I have feeling it might before you are done.

I donโ€™t think you can list multiple <<START>> blocks like you have done in your Excel template. Itโ€™s likely possible you can combine them into a single one and use <<IF>> conditions to report values.

At any rate, if you are not locked into using Excel as a template, I would strongly recommend to spend some time familiarizing yourself with creating templates in Google Docs and using those in your automation. It will give you more value in your app in the long run.

I am not sure what โ€œbootโ€ is referring to here. Could you mean Bot? Iโ€™ve never relied on automatically generated templates so Iโ€™m a little unfamiliar with the process.

As for your reference to (XLS), I assume you are referring to the HTTP Content type setting of the generated document (see image below with XLSX set). This is the content type of the FINAL document - not the template itself. The template can be created either with Google Doc or Excel but Excel is not as flexible.

In Google Docs you can do something like in the sample template below. You cannot create the same in an Excel template. Note that a <<START>> block is inside of another <<START>> block allowing me to report on each Ordered Kit and under each Kit item from the first START list show a table of the Products ordered in that Kit - another START list.

Top Labels in this Space