We have a contact property "trialkey" which is setup as a file-property. In this property we want to upload key-files for a trial.
This key we want to link from within an e-mail.
Pretty easy use-case: use HUBL to read the value of the property. Use a split function and retrieve the friendly URL. As it happens when we try to do a "|split(";")" on the contact.trialkey it creates only a single object. Running a type(contact.trialkey) returns "str".
So we are facing the probem that it seems that the split function doesn't work on a file-property object which by type-check returns string ... 😕
I tried it with a form upload. Now we dont get returned a semicolon seperated string. Now we only have an URL in the field. When trying to retrieve the ID from the URL by doing a split on "?" we have the same result as above.
I am kinda lost here as it doesn't make sense that the split function just isn't doing what it is supposed to do. If it was a type-mismatch .... okay but Hubl returns the type "str" for the field and by that - from my understanding - the split function should be applicable.
This issue might stem from how the file property is handled when it doesn't contain an uploaded file via a form. FYI In such cases, it defaults to a single-line text property. This may be the reason as to why the type() function returns "str" and the split() function doesn't behave as expected