Hi Community,

I've this situation where I need to add a new tab "Preview" and the main objective is have a iframe with a preview of the documents in the attachments, however we try first implement the logic if was a website, because we think that the article that we found on academy "https://academy.creatio.com/documents/technic-sdk/7-13/integration-third-party-sites-iframe"partially satisfies what we want to implement;

  1. First, based on the Web field, we were able to do the preview of the website, as you can see on the image below.
  2. Then, we try to call and access to the storage of the pdf that we have on the attachments (image below), but the only link that we have of the pdf is the link/method to download the file, for example: https://..../0/rest/FileService/GetFile/Id.

In this way we want to know if there is any way to acess a link or storage of the file, with objective to implement something like preview of the document with the iframe on the edit page.



Best Regards,

Daniel Longo

Like 0



Hello Daniel, 

While it is technically possible to open pdf files using iframe tag, it'd require considerable amount of custom development to implement such preview. 
The link you're referring to is the direct link to the attachment file. 

Unfortunately, we don't have examples of such implementation. 

I'll register your idea and it may be implemented in future releases. 
Best regards,

Hello Yurii,

Is there any progress on this implementation?


What are the options that FileService gives us beyond the download file link?

Is there any way of call this link and get Data from response?


Best Regards,

Igor Matos

Show all comments

Hello! At the moment I'm building a webservice that is supposed to externally upload a file to Creatio using a request to FileApiService. I've analyzed the request that Creatio makes when a file is uploaded via the normal Creatio interface. I've also copied this request into my own webservice and it works there as well.

However, when I copy the whole request it uses the authorization cookie that was created when I logged into Creatio. Ideally, the the webservice should log it self into Creatio and uses it's own authorization cookie. I've followed the documentation and used AuthService.svc to do this, but without success. When I use the cookie created by AuthService.svc, I always get a 401 "Unauthorized" error message. Strangely however, I am able to use this cookie to successfully send OData requests, only the fileupload is not possible.

Any help with this problem would be greatly appreciated.

Like 0



Hello Kai,


Can you please show how do you authenticate via AuthService.svc and also how do you use the received cookie when sending a file to the system?


Thank you!


Best regards,


Hello Oscar,


thank you for your reply, but I've already found the solution to the problem.


When using AuthService.svc, the resulting cookie includes the properties "HttpOnly", "secure;" "path=/", and "expires=..." – whereas these properties are apparently not expected when using FileApiService. So, when accessing FileApiService you need to modify the cookie and remove these properties. Then one can use the remaining cookie and the authorization is successful.


Kind regards


Show all comments

Hi team,


When multiple attachements are selected, we want it to get downloaded into a single folder in a given file path. Could you please let us know how to accomplish this? 



Like 1



Hello Shivani,


Hope you're doing well.


As for now, there is no such functionality. I have informed our R&D department about this case so they could consider enhancing the following functionality in the upcoming releases.


Thank you for being interested in the Creatio application and for your ideas of further improvements!


Best regards,


Jasmin Hofstetter,


Unfortunately, we do not have an update on the matter as of now.

Best Regards,


Show all comments