Hi, New to ofbiz, Please help

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

Hi, New to ofbiz, Please help

amit kumar-2

Hi,

I have to upload a image file on server,
And i didn't get the attribute type (*****) for the file:

  <service name="uploadLogo" engine="java"  default-entity-name="Logo"
        location="com.myClass.UploadLogo"
        invoke="uploadMerchantLogo" auth="true">
      <description>Update Merchant Logo</description>
     <attribute name="merchantLogoName" type=" ****** " mode="IN" optional="false" />   
    </service>


Is there any other way to upload a file, or from where i can get help?



Regards,
Amit Baliyan



Reply | Threaded
Open this post in threaded view
|

Re: Hi, New to ofbiz, Please help

Ashish Vijaywargiya
Please don't send same question on User & Developer list.
Its better to ask such questions on User Mailing list.

For more details please visit: http://cwiki.apache.org/confluence/x/L4B2

--
Ashish

On Fri, Apr 9, 2010 at 4:04 PM, amit kumar <[hidden email]> wrote:

>
> Hi,
>
> I have to upload a image file on server,
> And i didn't get the attribute type (*****) for the file:
>
>   <service name="uploadLogo" engine="java"  default-entity-name="Logo"
>         location="com.myClass.UploadLogo"
>         invoke="uploadMerchantLogo" auth="true">
>       <description>Update Merchant Logo</description>
>      <attribute name="merchantLogoName" type=" ****** " mode="IN" optional="false" />
>     </service>
>
>
> Is there any other way to upload a file, or from where i can get help?
>
>
>
> Regards,
> Amit Baliyan
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Hi, New to ofbiz, Please help

Sumit Pandit
In reply to this post by amit kumar-2
Hi Amit,

To upload any content following would help you :-

At following link -
https://demo-trunk.ofbiz.apache.org:8443/partymgr/control/viewprofile?partyId=Company
you can find a section named "Party Content", this is way how you could
upload any type of content. Even logo as well.

Now you can trace the code and implement same in your system as well.

--
Thanks and Regards
Sumit Pandit


On Fri, Apr 9, 2010 at 4:04 PM, amit kumar <[hidden email]> wrote:

>
> Hi,
>
> I have to upload a image file on server,
> And i didn't get the attribute type (*****) for the file:
>
>   <service name="uploadLogo" engine="java"  default-entity-name="Logo"
>         location="com.myClass.UploadLogo"
>         invoke="uploadMerchantLogo" auth="true">
>       <description>Update Merchant Logo</description>
>      <attribute name="merchantLogoName" type=" ****** " mode="IN"
> optional="false" />
>     </service>
>
>
> Is there any other way to upload a file, or from where i can get help?
>
>
>
> Regards,
> Amit Baliyan
>
>
>
>
Thanks And Regards
Sumit Pandit
Reply | Threaded
Open this post in threaded view
|

Re: Hi, New to ofbiz, Please help

Jacques Le Roux
Administrator
In reply to this post by amit kumar-2
Look for uploadFileInterface

Jacques

From: "amit kumar" <[hidden email]>
Hi,

I have to upload a image file on server,
And i didn't get the attribute type (*****) for the file:

<service name="uploadLogo" engine="java" default-entity-name="Logo"
location="com.myClass.UploadLogo"
invoke="uploadMerchantLogo" auth="true">
<description>Update Merchant Logo</description>
<attribute name="merchantLogoName" type=" ****** " mode="IN" optional="false" />
</service>


Is there any other way to upload a file, or from where i can get help?



Regards,
Amit Baliyan