Getting the last record

I know I see the total number of records in the designer, so how can I access that information for a comparision?

If (Record == LastRecord)

{

Do some code here

}

Hi Glenn,

It’s not possible to do this only from the DataMapper or Designer itself. For this you would need to go through Workflow. I don’t have this specific example available, but you can start with the following how-to and change the condition to check whether the SelectedIndexInJob of the document is equal to GetMeta(SelectedPageCount[0], 11, Job)

Which means the record value would be true on the last record only.

~Evie

(Edit for posterity: added the link to the how-to, which I had forgotten. oops)

It seems like a lot function from planet press 7 has been removed. Planet press 7 we could print a page at the end of job, without going through all the extra steps of learning metadata.

While I am sure metadata can be useful to some, it seems all the cool easy functions in planet press 7 were removed in favor of a more complex system with less control.

So please tell me that there is an easy way to print a page only when the job is complete.

It’s not necessarily that functionalities were removed. A whole lot of features have been superceeded by very different concepts that take some adaptation time and a learning curve. But overall, the greatest majority of things are much easier to do and complete in Connect.

In this particular case, there is a solid reason why this kind of feature is not readily available - this is because Connect can use parallel processing across multiple threads on the CPU, which means some of these features (think, document index in job, total number of pages, last page of a job) are not possible in these situations - the job is split and thus not all the job is available to the current thread.

I know this sounds like justification, and indeed it’s the one I’ve been given. It’s somewhat of a tradeoff - you get multithreading and awesome, simple overflow… but this very specific, particular ability is no longer easily accessible. Not for the time being anyway.

~Evie

I will add however, that this is a feature that’s in high demand, and some easier methods are planned to be added in Connect 2.0.

Here is the problem with metadata. In order for me to see the results for testing, to ensure all the coding and programming in design is correct I have to also have to the workflow created.

We design our templates testing all conditions, settings, etc…, and even making a PDF with print to file.

Then we make our workflow to create a PDF and to send to our Ricoh Process Director.

So to says the functions were not removed, when clearly they are is confusing. Not providing step by steps instructions on how to achieve what you suggest, is very frustrating. I am trying to learn and I want to learn, but the information out there on how to do simple task, are either non existent, or in complete.

Now I will say there are things I like about connect, but so far Planet Press 7 had a lot more functionality and ease of use.

Connect seems to be in a pre beta stage.