I’ve an excel file with a name of techincal drawing for production.
I’ve make an action that read name from B column of excel file, add path, check if file exist then add file in a list and then join all pdfs in one pdf.
All works flawless, but the last one no.
Can someone help me? Thank you Distinta.zip (42.2 KB)
@Danny_Gi - I have reviewed your xaml. Since there is no sample excel file was available in the zip file, i am not able to debug it.
Could you please share the sample spredsheet? Also, Please print that ElecnoPDF variable outside of the loop using String.join(vbcr, Elecnopdf) and see what values are getting printed, because this the base for your JoinPDF activity…
Glad to assist you… Sure, because ElecnoPDF is String List and Join PDF files accept String Array. So in order to convert the List to Array I have added .toarray…
An array is a fixed-size structure for storing multiple objects. A List is a simple collection, which you can think of as a dynamic array.
A List allows you to add, insert and remove items and the collection will grow and shrink accordingly.
With an array you create it with a specific number of elements and that size never changes. Think of it like an egg carton that always has the same number of cups. They may be occupied or empty but they are always there.
To resize an array you must actually create a new array and copy the existing elements across.
With a List you just call the Add method and the collection grows by item.
ok ok. If i understand correctly when i’ve finish to collect item to array i can’t add more item. The array list can’t grow or resize.
List is dynamic array! youre the man!