Hello community,

I referred the following OData Doc https://academy.creatio.com/docs/sites/en/files/pdf/node/1398/OData_.pdf (Pages 9 through 14) to add a contact image.



I understand there are 3 steps

1. Create a record in SysImage Table

2. Add Image content (Data column of BLOB type) using PUT request

3. Set Contact tables column "PhotoId" to the Id in SysImage table created in step 1.

 

Despite multiple attempts and I am unable to see the image on the UI of contact record. The following is how I see the image







I am probably doing something wrong in step 2.

Please help understand how to send Image Data via http://localhost:98/0/odata/SysImage(da08aecf-44bf-479e-99a3-5c4ce1c817… API.



Should the image Data be base64 or Hex format? Or can I directly add it as a file through postman and send?

Like 0

Like

1 comments

Hello,

 

Thank you for your question.

Please refer to this community article that explains how to fix this exact issue:

https://community.creatio.com/questions/upload-image-sysimage-using-oda…

 

Please note that after adding the picture, be sure to religion into the application and clear your browser's cache.

 

Thank you.

Show all comments

Hi All,

 

How to block the display of Modal box in Manager Mood functionality available in Opportunity page?

Tried setting the enabled property to false in diff as well as tried with Business rule but with negative results. Any other approach, kindly suggest.

 

Thanks

Anupama

Like 0

Like

1 comments
Best reply

Hi Anupama,

 

You need to use this:

var element = document.getElementById("OpportunityPageV2MoodContainerContainer")
element.style.pointerEvents = "none"

and add some check into the onEntityInitialized method that will trigger the code above.

 

Best regards,

Oscar

Hi Anupama,

 

You need to use this:

var element = document.getElementById("OpportunityPageV2MoodContainerContainer")
element.style.pointerEvents = "none"

and add some check into the onEntityInitialized method that will trigger the code above.

 

Best regards,

Oscar

Show all comments

Hello Community,

 

We have a case where images that we inserted via the Database into SysImage went missing. The steps we followed was to insert records into SysImage directly and later map that image Id to the relevant section. 



Does Creatio automatically purge specific records in the SysImage table under ANY condition? If Yes, what are those conditions? Besides purging, does Creatio also go and update the reference Image Id column in the section?

 

I vaguely remember from a previous experience that Creatio did purge records based on some condition. Request your assistance.

Like 0

Like

3 comments

For those searching for an answer - 



Yes, Creatio does purge the record from SysImage if the referenced image column in the section is marked as NULL. 

M Shrikanth,

That is good to know. Thanks for posting this follow up!

Ryan

M Shrikanth,

Yes, that is correct. This is done by means of a stored procedure called tsp_CleanUpSysImageMSSql.

 

Best regards,

Bogdan S.

Show all comments