web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to create a web resource in png format

(0) ShareShare
ReportReport
Posted on by

Hi, 

I need to know how to pass an image to the button using web resource in ms crm ,

Please help me

Thanks in Advance 

RY

*This post is locked for comments

I have the same question (0)
  • Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    Can you provide some more details about your requirement ?? sorry but not able to understand your requirement. Do you want to add image to Ribbon button ??

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Ramesh,

    You create png web resource just like any other web resource. So when you create a web resource, you select type as png and upload the png file.

    You can refer the below msdn link for more details on how to use it for ribbon button etc.

    msdn.microsoft.com/.../gg334549.aspx

    Hope this helps.

  • Suggested answer
    Abby Kong Profile Picture
    6 on at

    Hi Ramesh,

    To create a web resource in png format, you can new a web resource with type 'PNG format' and upload the file.

    qoQuU.png

    which button do you mean here? If you are referring to ribbon button, you can select web resource in Ribbon Workbench under button's Properties:

    qoQuU.png

    Regards,

    Abby

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    Hi Ramesh,

    To save the png as the web resource, just open your solution, go to web resources, and create a new web resource of type png. Browser for the png and save it. After saving it you will see the full url of the web resource appear on the dialog (at the bottom)

    You can use the web resource anywhere on your CRM site but using the relative url:

    /WebResources/new_mypngresource.png

    This can be inside Ribbon Workbench, another web resource, style sheet, etc...

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans