Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Sign up

Sign up | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
default attach type
How to change default attach type for maximo 7.5
January 2, 2015
12:10 pm
Avatar
jason evans
New Member
Members
Forum Posts: 2
Member Since:
January 2, 2015
sp_UserOfflineSmall Offline

Hi there.  I am trying to research how to change the default attachment type for maximo 7.5.  in IE it opens with all files (*.*) however in Chrome, which we use for more applications with built in API, it opens with cascading style sheet document.  Its an extra step to change that to All files from the drop down.  I am not sure how to attach images if its possible please let me know.  Thank you.

 

Is there a way to change this default and if so could you please point me in the right direction.  Thank you and a very happy and prosperous new year to all.

 

Jason

January 2, 2015
5:10 pm
Avatar
Chon
Stoneham, MA USA
Admin
Forum Posts: 1118
Member Since:
March 2, 2009
sp_UserOfflineSmall Offline

Hello, Please register to see the Admin’s answer!

February 13, 2015
4:32 am
Avatar
Menno Gouma
Netherlands
Member
Members
Forum Posts: 25
Member Since:
October 10, 2014
sp_UserOfflineSmall Offline

If I undestand you correctly, you are refering to the “Select a file” button when adding an attachment, right?

I looked into this with FF in webdeveloper mode and I saw that the <input type=file> element in Maximo has the “accept=text/css” parameter. In certain browsers this would mean that the file selection is limited to CSS, just as you described. *Not every browser supports this, so maybe the version of IE that you use doesn’t either.

This is what I found in Maximo (7.5.0.5):

<input id=”file” title=”Select a file” class=”text” name=”value” size=”35″ value=”” accept=”text/css” onclick=”if(!parent.undef(parent.firingControl) &amp;&amp; parent.firingControl.id==this.id){parent.sendEvent(‘clientonly’,’clickFileButton’, this.id)}” type=”file”>

If you are able to delete this accept param it probably would work in Chrome. You could even change it to “accept=image/*” to make sure people select image file extensions… (not the best way to ensure this, should be done server side really)

But I am not sure how to influence this parsed HTML from Maximo… maybe someone can take it from here?Laugh

February 13, 2015
11:20 am
Avatar
Chon
Stoneham, MA USA
Admin
Forum Posts: 1118
Member Since:
March 2, 2009
sp_UserOfflineSmall Offline

Hello, Please register to see the Admin’s answer!

March 6, 2015
3:17 pm
Avatar
jason evans
New Member
Members
Forum Posts: 2
Member Since:
January 2, 2015
sp_UserOfflineSmall Offline

Thank you very much.  Will try it out.  

 

Jason

Forum Timezone: America/New_York

Most Users Ever Online: 54

Currently Online:
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

sun kim: 60

madd0g17: 59

v.barsamov: 51

cgregory: 45

Maximofresher: 45

matta0990: 33

Member Stats:

Guest Posters: 0

Members: 14272

Moderators: 0

Admins: 3

Forum Stats:

Groups: 1

Forums: 8

Topics: 1577

Posts: 4292

Newest Members:

Adam Merchant, L K, CHBAB Ayoub, Asd Asd, Marcelo Castro, Rahadian Setya

Administrators: Chon: 1118, kristensibilia: 0, Joe Grassia: 0