[SOLVED] dynamically process tables

hueskye

Client
Регистрация
27.03.2013
Сообщения
47
Благодарностей
0
Баллы
6
hi;
I am making a blog articles poster.
generally it is supposed to have login data for multiple blogs in one file.
with processing tables i can make it login for first account, than i would like it to go to "add article", and here comes the trick part.

i have data for article posting in separate xlsx files for each blog in a project's subdirectory.

now i would like to get list of those files, and somehow set them to the varible, so let's say i have 6 files in the directory, they are named as 1.xlsx, 2.xlsx 3.xlsx...., zenno gets their path and name, and than processes the first file , adding articles. whent it's done, i get back to login, zenn logs to another blog, posts from file 2.xlsx and so on.

I had an idea that i will use a table and table processing, and in the file path of the table i will specify something like {-Project.Directory-}\articles\{-Variable.FileName-} but actually it seems i cant use variables to determine files name.

Does anybody has an idea how i can solve my project?
best regards
Kamil
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
  • Спасибо
Реакции: hueskye

hueskye

Client
Регистрация
27.03.2013
Сообщения
47
Благодарностей
0
Баллы
6
Thanx for the suggestion.
I have implemented it and it works just fine until a moment.
I dont have any idea why, but it seems my table which is meant to load data dynamically (robocza table) seems to be unable to get its name from a variable.

i am trying to figure this out for like 5 hours by now.
Could anybody tell me what am I doing wrong?
Посмотреть вложение multi.zip
 

strongrobby

Client
Регистрация
19.01.2012
Сообщения
44
Благодарностей
1
Баллы
8
Did you Move it ?

Thanx for the suggestion.
I have implemented it and it works just fine until a moment.
I dont have any idea why, but it seems my table which is meant to load data dynamically (robocza table) seems to be unable to get its name from a variable.

i am trying to figure this out for like 5 hours by now.
Could anybody tell me what am I doing wrong?
Посмотреть вложение 3434

You need to use the Table > Bind To file

http://gyazo.com/9048f4db982578b6188bebcf76270ac5

Won't work...
 
Последнее редактирование:

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
  • Спасибо
Реакции: hueskye

hueskye

Client
Регистрация
27.03.2013
Сообщения
47
Благодарностей
0
Баллы
6
almost here:-)

alright, so due to your suggestions i have made a bind table to file.

when i run debug it processes perfectly through the first blog, posts and publishes.

Than it logs int another blog, yet without any problems.

however i get error when it wants to publish on another blog- seems like it cant process the data bound to the table with articles content.

any ideas where the problem might be?
Посмотреть вложение multi2.zip
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Archive doesn't have all required tables for execution.
 
  • Спасибо
Реакции: hueskye

hueskye

Client
Регистрация
27.03.2013
Сообщения
47
Благодарностей
0
Баллы
6
what do you mean by archive?
the directory on my hard drive?
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
No the multi2.zip attachment you put on here. That archive. :p
 
  • Спасибо
Реакции: hueskye

hueskye

Client
Регистрация
27.03.2013
Сообщения
47
Благодарностей
0
Баллы
6

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
  • Спасибо
Реакции: hueskye

hueskye

Client
Регистрация
27.03.2013
Сообщения
47
Благодарностей
0
Баллы
6
Thanx guys, now stuff works for 2 blogs:-)

when i tried running it for 3 i got another error :(
i upload for the last time and hope you reply me what's wrong, since i know i am really irritating:-)
Посмотреть вложение multi4.zip
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)