locked
File Upload control on a form RRS feed

  • Question

  • Hi,

    I am developing a process that picks up files uploaded through CRM file upload control(this resides in an iframe).

    Basically, I have a form with fields that take file name and such details.. and then an iframe with file upload control to upload files and those files gets stored in a folder on a server. Now, the user has to click save on the form to save that record with file information. This is where I am losing connection between the file and the record that contains file details. I am not sure how to connect them together, so that I can update the status of the file to that record.

    The only thing that

    I tried to pick the file name from iframe and populate in the form field when form is saved but that file name might not be unique and could cause ambiguity. How do I design this feature properly. Can somebody please point me right direction? I want some connection between the form and iframe so that I can update the record at later point using that connection.

    Thanks for any help.





    • Edited by ReignFan Wednesday, February 24, 2016 9:47 PM
    Wednesday, February 24, 2016 9:35 PM

All replies

  • Hello CRMProgrammer,

    Instead of using IFRAME directly on the form, place your file upload control in a web resource (HTML web page) and drop the web resource on the form. That way you would be able to access the file upload control on the web resource from the form's custom scripts.

    >>>  I want some connection between the form and iframe

    Apart from this, I believe the better way to store your files within the CRM could be to store it as a attachment in notes section of the entity.


    blog: http://technologynotesforyou.wordpress.com | skype: ali.net.pk



    • Edited by Khadim Ali Friday, February 26, 2016 6:56 AM
    Friday, February 26, 2016 6:51 AM