cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tapesh
Post Prodigy
Post Prodigy

Customise Icon based on File type in Attachments

Hi, 

 

I want to customize the attachment-based on file type, 

 

For example if the user adds attach file with JPEG extention in power he should see JPEG icon, 

if he adds PDF then PDF icon next to file, and is it is Doc type then doc icon, 

 

I have icons in my media control, but I'm not sure how to use them when it comes to use based on specific file type. 

 

 

any suggestions? 

 

please help is appreciated thanks experts 

1 REPLY 1
Max44
Helper V
Helper V

In this section, we will take it as an example to insert an Outlook object as an icon to Word.

Select the outlook file that you want to insert to Word, save the file to a folder.
Open the Word document to which you want to insert files. Under “Insert” tab, click “Object” button, in the “Text” group.Click “Object” button
In the following “Object” dialogue box, select “Create from File” tab, and then click “Browse” button to find the file you want to insert.Click “Browse” button
Find the outlook file “article” in the following dialogue, and then click “Insert”. Find the outlook file “article”
And the file path will show up in the “File name” box. Then tick the “Display as icon” checkbox, we notice that a default icon is displayed as the arrow points to. In order to change the icon to one that represents outlook files more intuitively, click “Change icon”.Click “Change icon”
In the “Change Icon” dialogue, if it doesn’t have associated icons, then click “Browse”.Click “Browse”
In this example, the default file path of Outlook icons is “C:\Program Files \Microsoft Office\Office14\OUTLOOK.EXE”, and enter it in the “File name” box, and then click “OK”.Input the default file path of Outlook icons
Then a host of icons will show up in the “Icon” list, scroll down to select the icon you like. And then click “OK”.Scroll down to select the icon you like
In this way, we have inserted an Outlook object as an icon we select to Word document.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,694)