2.If you upload an image in a new registration and save it, the URL is not entered in [Text_Image],
If you open the relevant record in Edit and SAVE, the URL will be entered in [Text_Image].
When saving a new registration, the expression [Text_Image] is executed with no images uploaded yet.
In other words, as the formula is being executed on an empty value, the result of this formula will also be empty and no URL will be generated.
We assume that this is the cause of 2.
Hence, if a record with an image already uploaded is opened in Edit and saved,
Formula in [Text_Image] will generate a URL as a result.
The above is the first part and what we wanted to convey most in this contribution is the behaviour of Automation as described below.
If you have a column with TEXT([Image type column]) in Formula,
Automation has been found to generate strange errors and not work properly.
3.If you create and run the following Bot, an error will occur
Error: ‘Set Column Values’ Data action ‘‘Set Column Values’ Data action ‘Action for set note’’ failed with exception Value ‘Data_Images/0ace11a2.Image.064815.jpg’ in field ‘Text_Image’ cannot be converted to type ‘Url’. .
Why do these strange errors occur?
I believe that this error should not occur.
I got exactly the same behavior when I tested this.
A work-around on Step 3 is to set the expression (TEXT([image col])) in the Initial Value property and set “Reset on Edit” to CONTEXT(“Host”)<>“Server” to prevent the bot from trying to do the conversion.
I found no work-around on Step 2. (You have to open a Form to edit the record to force the conversion…)
I think one reason it does not enter the URL in the new form is, the URL is not yet formed till the record is saved.
You may want to try to use an event action on form save to set the value of the column [Text_Image] to TEXT([Image]) . The action can be of “set the values of some columns in this row” type
I think one reason it does not enter the URL in the new form is, the URL is not yet formed till the record is saved.
I agree.
You may want to try to use an event action on form save to set the value of the column [Text_Image] to TEXT([Image]) . The action can be of “set the values of some columns in this row” type
I tried the above, but unfortunately the URL was not entered in [Text_Image] when registering a new user.
But thank you for the advice!
Sorry for a late reply. You could implement the action through a bot and then having a wait step of 5 minutes before action is executed through bot. In this case, the URL will update after after 5 minutes or so after the new record is added. The wait steps are not very accurate in terms of time delay ( It could vary slightly -longer than 5 minutes) but if a slight delay is acceptable, bot will populate the URL automatically.
Adds a delay of 5 minutes after record is added. This wait step basically allows the URL to be formed properly in the record’s backend before it is copied into another URL column {Text_Image]