Internal Server Error when clicking on attachment download link

1
0
-1

Dear All,

I am having trouble while clicking on the download link created for the attachment. The link under 'Overview' tab for downloading the file works fine.

Please help.

Thanks & regards,
Zeeshan Ali

Comments

Submitted by antoine.mottier on Mon, 07/31/2017 - 08:39

Did you check the Engine log file for any error? You can also take a look at the web browser developer tools in the "network" tab to see if there is any errors in HTTP requests.

Also you might want to share your diagram so I can try to reproduce the error.

Submitted by zeeshan.malik on Mon, 07/31/2017 - 08:44

Dear Antoine,
Thank you for your quick response, please find below link to the process...
https://drive.google.com/file/d/0B_c7F3NKwx8JTTNFSTFNbFVqelk/view?usp=sh...

Thanks & regards,
Zeeshan Ali

1 answer

1
0
-1
This one is the BEST answer!

In your first step forms, for the "Link" widget, you defined the URL as a constant with the value: "/bonita/portal/resource/" + context.salesrequestDoc_ref.url

So the expression is not evaluated and when you click on the link you try to open an invalid URL. You can actually easily see that when you put your mouse over the link.

In order to fix that switch from constant to expression by clicking on the "fx" button on the right hand side of URL property in the UI Designer.

Comments

Submitted by zeeshan.malik on Mon, 07/31/2017 - 09:37

Thank you brother,

I have tried to click on the fx but it removes the link.

Can you share the correct one please.

Thanks & regards,
Zeeshan Ali

Submitted by antoine.mottier on Mon, 07/31/2017 - 09:39

Just retype the original value and it should do the trick.

Submitted by zeeshan.malik on Mon, 07/31/2017 - 09:44

Thank you for your support, it did work... :)

Notifications