how to create a folder in crm 2011 to store images and to access them externally in a web page
-
16. května 2012 4:47
Hi,
I need to access images dynamically in a web page. I need to display the images i upload. Previously i got reply that i can access icons and images in sdk/resources/images but i'm not getting where will be my images uploaded in a custom entity. Please help me in dynamically displaying the images in a web page. I need to show an organization image uploaded as icon in my web page.
Všechny reakce
-
16. května 2012 4:52
Hi mrpathan,
You could store your image as Web Resource when it gets uploaded from the ASPX page and only store the URL to the image web resource in the custom field on your custom entity.
Have a look at this project on how they do it.
http://mscrmblogger.com/2011/05/10/crm-attachment-image-for-crm-2011-entities/
Uploading your image programmatically as a web resource.
http://www.resultondemand.nl/support/sdk/0f9bca5b-b876-4f68-8e4e-e844da8598d6.htm
Link on how to reference the image web resource from CRM Form
http://msdn.microsoft.com/en-us/library/gg334549.aspx
Dimaz Pramudya - CRM Developer - CSG (Melbourne) www.xrmbits.com http://twitter.com/xrmbits
- Upravený Dimaz Pramudya (www.xrmbits.com) 16. května 2012 4:56
- Navržen jako odpověď Dimaz Pramudya (www.xrmbits.com) 16. května 2012 4:56
-
16. května 2012 7:06
Hi Mrpathan
On of the great features of CRM 2011 is the integration with a Sharepoint server. As Dimaz pointed out, you can store the web address of the image.
CRM does not cater for images when it comes to storing them directly on SQL. The picture can be loaded onto a web resource on your form.
Good luck
http://msdn.microsoft.com/en-us/library/gg334768.aspx
Please vote if you find my post useful. Add me on Skype @ christo.skype1
- Upravený Christo Vermeulen 16. května 2012 7:06
-
16. května 2012 7:17
hi Christo,
Thanks for your reply.But what you have suggested to me is very new and i have to complete this task very fast.
here is the main issue i am stuck in.
I need to store image into crm .and i need to access that image into an aspx page, without using silverlite or sharepoint.
I am new to these things .. so if you guys could send me any steps/links/code , it could be very helpfull to me .
Waiting for reply,
Regards
mrpathan
-
16. května 2012 7:33
mrpathan,
Have a look at the first link I sent you. That link refers to an open source project for uploading image to CRM.
http://mscrmblogger.com/2011/05/10/crm-attachment-image-for-crm-2011-entities/
I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.
Dimaz Pramudya - CRM Developer - CSG (Melbourne) www.xrmbits.com http://twitter.com/xrmbits
- Navržen jako odpověď Dimaz Pramudya (www.xrmbits.com) 16. května 2012 7:33
-
16. května 2012 7:45
Hi Mrpathan.
The only way you can store a picture on CRM is by creating a new image web resource (jpg, png etc).
You can then get the URL of that image and store it in a text field.Please vote if you find my post useful. Add me on Skype @ christo.skype1
- Navržen jako odpověď Christo Vermeulen 16. května 2012 7:47