最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to allow file upload in Microsoft Dynamics CRM forms? - Stack Overflow

programmeradmin1浏览0评论

Under Project service:

And under project template:

There is a possibility of customizing forms in Microsoft Dynamics CRM, through Customize entity:

Also, seems like we can add a new field as well:

to forms:

I see that there is no file field in the forms:

Is there a way to allow file upload in Microsoft Dynamics CRM forms?

Maybe programmatically?

Under Project service:

And under project template:

There is a possibility of customizing forms in Microsoft Dynamics CRM, through Customize entity:

Also, seems like we can add a new field as well:

to forms:

I see that there is no file field in the forms:

Is there a way to allow file upload in Microsoft Dynamics CRM forms?

Maybe programmatically?

Share Improve this question edited Oct 13, 2016 at 10:45 Mr.X asked Oct 10, 2016 at 8:11 Mr.XMr.X 31.4k27 gold badges147 silver badges229 bronze badges
Add a ment  | 

3 Answers 3

Reset to default 4

If you have Notes enabled on the entity, you can upload files via the notes ponent on the form.

To enable it, go to the entity customization and check the Notes box, and then add notes to your entity form. Now you can upload files on the entity form by adding a new note on the record, through the newly added Notes ponent.

Picture guide: https://i.sstatic/Xwjrd.jpg

An alternative is using something like SharePoint instead to host your files, and using the standard CRM/SharePoint integration to access them in CRM. That way you won't use up all your expensive CRM storage with files.

The standard option for doing a file upload is creating a note (entity annotation) which can have a file attached to it.

Alternatively you can create a custom HTML web resource handling the upload for you. This requires mon HTML/Javascript techniques, as discussed elsewhere on StackOverflow.

From my experience, doing what Henk van Boeijen mentioned (custom HTML/Js) will be more appealing in terms of UI. You just need to enable notes, and after that, use REST endpoint. Example is here: http://scaleablesolutions./upload-notes-attachments-using-javascript-and-rest/

发布评论

评论列表(0)

  1. 暂无评论