Hey,
This is our situation:
Navision 4.0 on SQL Server
We have an ASP Website running to let customers view the navision info(directly on the website)
Now, i also want them to be able to view images stored in a blob. As i understood, the blobs are saevd in a compressed way, so i can not just show them on the website.
Can i in my ASP Pages uncompress them, or is there another way to do this?
There are no bugs, only random undocumented features...
---
My Blog:
http://NAV-Magno.be0
Comments
To access directly it’s better to use NAS as middleware.
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
I am also facing the same problem.
Did u solved ur problm..?
If yes then please suggest me how to do the same.
And further I am also uploading the file from web to navision. for that also i have the same problem.
Please help me for this problm.
Thanks in Advance.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
Thanks for your valuable Reply...
I have already set that property. I have used 5 fields in navision table.
1) File Name - text
2) File Size - integer
3) Content Type - text
4) File Data - BLOB
5) File Path - text
I am attaching one file from asp.net web-application.
I am getting value in all fields. but when i mretriving that file then it only displays file with data "System.type[]"
i.e. it is attaching the file but not the file data.
If you have any idea regarding this issue then please reply me asap.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
But note, BLOB makes a database "full" and NAV ever reads this blobs (fieldlenght).
So, why do you not store only the UNC Path (\\Server\Path\Filename.extension) in a seperate field and from your website you call the picture, pdf, document, exe, or what else from the path (the info you get from the Navsion field) :?:
With this solution (here you need a separate table) it is also possible, to store more information documents for an (example) item.
Like a photo / photos, product documents, or what else.
Regards
Recently I have solved my problem...
Now I can easily attach any files to navision database from asp.net application and also can do reverse.....
Thanks again to all of you....
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com