Table Widget

1
0
-1

As prescribed i tried to replicate the sample BPM provided by Bonitasoft
http://www.bonitasoft.com/for-you-to-read/videos/bonita-bpm-7-ui-designe...

I face a situation where table data in Expense Review report is not populated

even though I checked other variables which are displaying and also binded the table content to the line values.

Please have a look at image and help me in this. Facing the issue from many days.

Thanks and Regards,
Karthik Rayanki.

Comments

Submitted by antoine.mottier on Fri, 03/11/2016 - 17:41

Hi,

Can you share your .bos file? That might help to figure out the issue. You can use for example dropbox or google drive to share the file.

Thanks

Submitted by kr70 on Fri, 03/11/2016 - 21:34
Submitted by kr70 on Fri, 03/11/2016 - 19:17

Hi Antoine ,

Could you please acknowledge me if you are able to access the file I have shared.

Thanks,
Karthik..

Submitted by Sean McP on Sat, 03/12/2016 - 06:03

Yes, got it...will have a look later

regards

Submitted by kr70 on Fri, 03/11/2016 - 18:23
Submitted by kr70 on Fri, 03/11/2016 - 18:37

Please use this URL to download project in .bos format...
https://drive.google.com/file/d/0By6zUs5wZUxmbW5WNXJhZ2VYd0k/view?usp=sh...

1 answer

1
0
-1

Hi,

To populate the table widget you use a variable (linevalue) that is initialized using a REST API call.
You call the following URL: ../API/bdm/businessData/com.company.model.ExpenseReport/6/lines

The URL you use includes the id of a business variable (6). It's likely that this specific instance of the business data will not exist at runtime.

You should rather use "../"+context.report_ref.link to access the business variable value.

Comments

Submitted by kr70 on Tue, 03/15/2016 - 03:02

Hey Antoine,

Please use this link from drive
https://drive.google.com/file/d/0By6zUs5wZUxmUGZXWjJkM0tGczg/view?usp=sh...

which I used exactly the variable API link you told me. Even though I get the error. If that the case then summary should not be populated but its showing correct. Only problem with table binding which I am afraid that is not the correct way. Please help me in this..

Thanks...

Submitted by antoine.mottier on Wed, 03/16/2016 - 11:07

Can you share the process bos file?

Thanks

Notifications