open uploaded files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

open uploaded files

Krzysztof Podejma
Hello,
In viewprofile in Party Manager there is form with list of uploaded files.
Can you tell me how to open uploaded file that is not an image?

Regards
Krzysztof Podejma
Reply | Threaded
Open this post in threaded view
|

Re: open uploaded files

Jacques Le Roux
Administrator
Hi,

I guess to work you must have something in the server able to read that
format (Mime type) ...

I'm not sure how all this works. I uploaded a zip file chosing "zip
compress format" or something like that but was unable to "view" it. So
I tried to edit it and change its Mime Type Id but I got

The Following Errors Occurred:

ERROR: Could not complete the Update Party Associated Content
[file:/D:/WorkspaceNew/ofbizRun/applications/party/script/org/ofbiz/part
y/party/PartySimpleEvents.xml#updatePartyContent] process [problem
invoking the [updatePartyContent] service with the map named
[partyContentMap] containing [{locale=en, partyId=admin,
uploadedFile=org.ofbiz.entity.util.ByteWrapper@1ae37b5,
_uploadedFile_fileName=,
userLogin=[GenericEntity:UserLogin][createdStamp,2007-03-31
09:42:52.109(java.sql.Timestamp)][createdTxStamp,2007-03-31
09:42:45.687(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec1
30880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,n
ull()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][las
tLocale,en(java.lang.String)][lastUpdatedStamp,2007-05-10
13:17:35.255(java.sql.Timestamp)][lastUpdatedTxStamp,2007-05-10
13:17:35.255(java.sql.Timestamp)][partyId,admin(java.lang.String)][passw
ordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.la
ng.String)], contentId=10000,
_uploadedFile_contentType=application/x-zip-compressed}]: The following
required parameter is missing:
[updatePartyContent.contentPurposeEnumId]]

At this point, I have no more time to put in that, sorry...

Jacques


----- Message d'origine -----
De : "Krzysztof Podejma" <[hidden email]>
À : <[hidden email]>
Envoyé : vendredi 18 mai 2007 17:32
Objet : open uploaded files


> Hello,
> In viewprofile in Party Manager there is form with list of uploaded
files.
> Can you tell me how to open uploaded file that is not an image?
>
> Regards
> Krzysztof Podejma
>