Answer the question
In order to leave comments, you need to log in
How to get a link to a file uploaded through a form in 1C Bitrix?
Hello. I added a form with a "file" type field, I need to get a link to it in order to send it by email. I can't find where the file is "put" into the right folders (random names). I'm using a web form component, I can't find it in ../form.result.new/component.php. Where should you look?
Answer the question
In order to leave comments, you need to log in
How much I have understood you use Web forms.
If you need to attach a link to a file to a letter, then you need to:
1) The field itself is configured as a file
2) Create a mail template , a link to the file will be transferred to it.
If you need to add your own logic to all this, then you can subscribe to the onAfterResultAdd event , and already having the result id, get the data you need using the module API .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question