Hi community,

 

I'm tryng to upload an image in SysImage entity using odata 4.0 services.

I followed this creatio guide Integrations & API (creatio.com).

Page 22 explains how to create the record on the SysImage entity and how to load the image, but missing how to pass the stream data to the odata service.



Using postman I send a PUT command with a  json  like this

{ "Name": "file.png", "Data": stream image }

the call is completed succesfully, but nothing is uploaded.

Here the postman call to odata service

Like 1

Like

7 comments

Hi Stefano,



Please break your request into two separate ones. 

One with JSON body for "Name" and the second one with binary type body. You need to  attach the  .png file to that second request.



Best regards,

Yurii

Thank you Yuril,

it works fine!

Stefano Bassoli,

Hi Yuril,

the image is uploaded correctly on SysImage entity.

I updated the Contact.PhotoId field using the id of SysImage record used for upload image,

The contact page show a white image for the contact.

What Am I doing wrong?

Stefano Bassoli,



Please make sure that the image is indeed updated, to do so send a GET request to /0/odata/SysImage(id)/Data

Also, make sure to send PATCH request to 0/odata/Contact(id)

to check if the id is updated send another GET request to /0/odata/Contact(id) and check if PhotoId is indeed equal to SysImage.Id of the image you've created. 



Yurii.

Yurii Sokil,

I checked every data are correct, but the image is white.

I loaded the image showed below 



and on contact.PhotoId the SysImage.Id is referenced

Stefano Bassoli,

Hi Yurii,

after some minutes the contact picture is showed correctly,

Thank you very much

Stefano Bassoli,



Hello, I am facing the exact issue, but unfortunately, the image is still white despite waiting over a day. Can you please tell me how you sent the Image content?

Show all comments

Hi,

I created a custom package to integrate ceatio with our own product, how ever i couldn't find a way to return multiple results. When i try to add 2 resulting text i got following error

 

This property is already checked in another parameter. It can only be used in 1 parameter.

 

is there a way to return multiple results like Dictionary ?

Like 0

Like

7 comments

Hi Onur,

 

It's not quite clear what you are trying to achieve. Can you please send more details and screenshots of what needs to be done?

 

Best regards,

Oscar

Hi Oscar,

 

I'm getting following message from parameters window 

 

i hope this message helps you 

Hello Onur,



Could you please send us listing code of the schema and also describe the steps on how the issue has been reproduced?



Best Regards,

Tetiana 



 

Hi Tetiana,

 

https://www.codepile.net/pile/dJQM2vJW

 

i hope this schema code is what you are asking me to.

Onur Erbay,

 

Hi Onur,

 

Have we understood everything correctly and you are trying to input C# code into the JS module and receive an error when specifying parameters in the JS module? Or are you creating a new user task. Please share steps to reproduce the problem.

 

Best regards,

Oscar

i'm adding c# user task, with multiple inputs. I'm trying to get multiple outputs from that user task.

Hello,



We checked the issue and got the same error as you mentioned earlier. The thing is that only one parameter can be a resulting one, since it's in the same user task. The only thing you can try to do is to create one parameter of object type and put everything into it. 



Best Regards,

Tetiana Bakai

Show all comments

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.

Anyone?

 

Best Regards,

Daniel Longo

Like 0

Like

2 comments

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,

Yurii.

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

I have a prospect who wants the capability for mobile Creatio users to upload a photo from their phone to Creatio, presumably as an attachment to some object.  Is this possible?

Like 0

Like

10 comments

Hello Glen,

 

This is actually an OOB functionality. You can upload attachments via mobile application even without any additional changes in the system.

Just open a record page, for example, the Contact page, and scroll it to the bottom. There you will find "Contact Attachments" details.

 

Best regards,

Bogdan S.

Bogdan Spasibov,

Hi Bogdan,

 

I cannot find the "Contact Attachments" in the mobile app..is there anything else to customize?

 

Thanks,

Robert

Robert Pordes,

 

Hello Robert, 

 

Please check whether the needed detail "Contact's Attachments" is added to Mobile application wizard as on the attached screenshots:

 

Once done, the needed detail will be displayed in the mobile application: 

Best regards, 

Anastasiia 

Anastasiia Zhuravel,

Thanks for the guidance.

I added the detail, but there is only the possibility to create a record with a "Name" field, but no upload or option to take a photo with the camera (I have given the App permission to use the camera)...

Any thoughts?

 

Thanks and BR,

Robert

Robert Pordes,



Please share the settings of this detail in your mobile app wizard. 



Kind regards,

Roman

Roman Brown,

Hi Roman,

nothing fancy (and not a lot to customize anyways ;) )

BR,

Robert

Robert Pordes,

 

Hi,

 

You need to click the "Edit" button at the top right corner first to be able to upload images:

then

and finally

And you will be able to either create a new photo or choose something from the galery.

 

Best regards,

Oscar

Oscar Dylan,

Thanks for the hints, Oscar!

However, I do see the attachments on the contact page, but only before hitting the edit button.

After that, the contact attachment detail is missing...

Do I have to customize that for the edit mode, too? If yes, how is that done?

 

Thanks,

Robert

Hi,

Any news on this?

The customer is waiting for it and I can't get it running...

 

Thanks,

Robert

So I just found out, that you also have to add the detail on the Page Setup for the contact page...sorry for the hassle!

 

BR,

Robert

Show all comments

Dear,

Is it possible to have two dashboard-type sections ?

Thank you !

Nicolas

Like 0

Like

4 comments

Dear Nicolas, 



Unfortunately, there are no OOB tools to create a new section like this. 

It can be done only be means of advanced development and we do not have any examples of such sections created. 



We will register an idea for our R&D team to consider the possibility of adding the functionality which would allow to create sections like this with system tools in future. 



Kind regards, 

Roman

 

Do you have too many tabs? ;)

Julius,

yes that'it !

women's dashboard management

we have two companies and we would like to split the data. one solution might be to use the Creatio homepage which also allows now to create statistics widgets

 

Hi Roman Brown, Any update on creating two dashboards?

 

Show all comments

Hello Team,

  I want to do Creatio Analyst (Basic ) Certification. For that, I need guidance and Material like how to prepare for that and what I need to follow in order to crack the certification Exam.

Thanks in Advance...

Like

Like 0

Like

1 comments

Dear Naveen,



Unfortunately, we do not have any specific guidance or materials on how to prepare for the exam.

You can check community posts along with our academy to study all the information.



Best Regards,

Ivanna.

Show all comments

I need to set the background colour of a cell depending on its value.

I tried with a macro but the printable file becomes a "docm" file and Creatio only accepts "docx" files so it seems we cannot use macros in the printable files: is there some ways to embed and use MS-Word macros in Creatio printables?

Is it possible to bind formatting of a cell to a value coming from Creatio (for example the background colour of the cell could be a field coming from Creatio) ?

 

Like 1

Like

1 comments

Dear Massimiliano,

 

Thank you for your question!

 

We have double-checked this information with our developers and received an answer that currently, this functionality is absent in Creatio.

 

Nevertheless, we have created an improvement ticket in regards to this question.

 

Thank you!

 

Regards,

 

Danyil

 

Show all comments

Hi Team,

 

I want do Creatio Analyst (Basic ) Certification. How should i prepare for this, any body can guide  to me. 

 

Many Thanks.

Like 0

Like

1 comments

for basic certification you take it from the site directly and prepare for the module that you want to take the certification in it, understand all module features, functionalities, sections and have an overall view of the main sections that will be exist in all creatio modules .

good luck 

Show all comments

Hello,

  I want to do Creatio Analyst (Basic ) Certification. For that, I need guidance like how to prepare for that and what I need to follow in order to crack the certification Exam.

 

Thanks in Advance...

Like 0

Like

2 comments

for basic certification you take it from the site directly and prepare for the module that you want to take the certification in it, understand all module features, functionalities, sections and have an overall view of the main sections that will be exist in all creatio modules .

good luck 

Ibrahim Nour El-Din,

The basic test is different from the main certification test..?

Show all comments

Hi community,

I've a problem with PATCH method on Region Entity.

I receive a generic error when I try to update a record.

What am I doing wrong ?

 

Here the postman request.

1) Read the region record to update

 

2) The error captured on postman when I tried to update the same record founded before

Like 0

Like

4 comments

Hi Stefano,

 

There can be a problem with the Region object in configuration or another object and that's why an UPDATE fails. You need to:

 

1) Check the application logs to see the error message that is returned upon a request

2) Go to configurations and generate source code for all items and compile all items and try updating the record after that

 

Best regards,

Oscar

Hi Oscar

thank you for you suggestion.

About the first tip, the issues is on cloud creatio instance, how can I access to application logs ?

Stefano Bassoli,

 

Just email us at support@creatio.com to get the logs of the application for some date.

 

Best regards,

Oscar

Oscar Dylan,

I understood the problem.

The user associated to oauth did not have permission on operation "

CanManageLookups"

 

Show all comments