I'm working on an app where user uploads an image and presses a button to "analyze" it, this starts a process which should take the image, and pass it to my outside API for analysis. I'm having a problem at the first step of the process since the process doesn't seem to see that any image was uploaded. I don't know how to explain this better so I'll attach couple of screenshots of my app/process, feel free to ask.
From what you've shared, it looks like the process isn't retrieving the uploaded image as expected. To help pinpoint the issue, here are a few steps to take: 1. Turn on tracing for the business process. This will show whether the record ID and file attachment are actually being passed to the process at runtime.
2. Make sure that the RecordId used in the “Process file” element is the same ID as the one associated with the uploaded attachment. If you're triggering the process manually, double-check that the correct record is selected or passed in.
3. In your “Process file” element, you've selected HomeSection as the object. Confirm that the attachment was uploaded to this exact object. If the file was uploaded to a different object (e.g. another section or lookup), you’ll need to change the source object in the element configuration accordingly.
4. You can directly query the SysFile table (or the relevant attachment table) and check if the uploaded file is tied to the expected record ID and object schema.
In portal section need to show company image logo,So need to upload a image to creatio and reuse in portal section using add web page option.Image not in any pubic network,it exists in local system now so trying to upload it to creatio. Hope You understand the requirement.
In order to display a custom image on the portal main page. It can be a banner that conveys the style and spirit of your company. Configure the banner as a separate web page. Create a separate web page on your website similar to the default banner on the portal to display a custom image.
To do this:
Click → “Set up portal main page.”
Click → [ Edit ].
Double-click the “Website with image” block.
Specify the title, the page URL, and styles (optional).
I have a use case where when a user uploads a contact profile photo, I need to perform specific validations - Eg Check the bit depth & file format of the image. If the bit depth or the format doesn't match, I need to reject the image and show a message to the user. These validations are complicated and sometimes not possible on the client side using JS.
I am aware that Contact profile photo gets uploaded via the out-of-the-box ImageAPIService. How do I customize or extend the service to add my own validations on the server side?
Unfortunately, we do not have the exact example of your business task realization. However, we recommend that you take a look at the following Community post where a similar task and ways of its implementation are described: https://community.creatio.com/questions/attachement
Please, let us know in case any further information is required.
Any idea how i can customize the image uploading to add validation. I need to restrict the image uploading to accept only png file type and limit the size and dimension of the image. Thanks
Size of the file can be regulated using "Attachment max size" system setting (value is specified in megabytes). As for additional file format verification - here is the link to community article where same question was asked and resolved.