Hi ,
I found on another forum that we need to change the MIME type From .xdp to application/vnd.adobe.xdp+xml
Does anyone know if that's still work?
And other question how do you change a MIME type ?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Why do you feel the need to do that?
What problem do you have or what do you want to do that makes you think you have change the Mime type of the file?
Views
Replies
Total Likes
Why do you feel the need to do that?
What problem do you have or what do you want to do that makes you think you have change the Mime type of the file?
Views
Replies
Total Likes
I would like to be able to open my XDP file into a IE browser without using LC forms and I still struggling to find the way to open my page xdp on the client side. I found this alternative into a forum and I was wondering if someone knew about it
Thanks
Views
Replies
Total Likes
That is a 2 way stick.
The why you should change the Mime type is that the associations File Type --> application in most OS is done by Mime type.
But, this also means that a end-user migth create the association of your Mime type to LC:Designer and puft, your system failed.
Apart from randomizing the Mime type of the file when you send it in the HTTP Response object you'll never be sure it is working properly, and even then its a best efford aproach at its best.
I'm at all not for trying to control the UI you're not supposed to control (Browser, Reader, and so on), but to do it its very simple. When you set up the HTTP header in the HTTP Response object (in Java, in other languages i don't know how its called but it should be similar) you should set (among other sings) the name of the file, the size of the file and most importantly the content type (this is here you put the mime type of your file).
This is extra Livecycle. This is the responsability of the web application your're using.
An example of setting headers:
response.setContentType("application/pdf"); //<-------------------mime type goes here
response.setHeader("Content-disposition", "inline; filename=myPDFFile.pdf");
response.setHeader("Content-Length", "" + bytes.length);
This can cause more hard than good, if you're using a framework you might even not be able to do this if you're not savvy enough in the framework you're using. But that is a question you should put to the community of the tech you're using to build your web app.
Edit: XDP is plain text (like XML, its a markup language).
Views
Replies
Total Likes
I understand but I feel like I don't have the choice
I can't find a way to open my XDP in my ASP.NET application
by another way. If you know another way to open it please tell me because it's begin
to be a real nightmare for me .
Thanks
Views
Replies
Total Likes
I haven't dwelled in the kingdom of Microsoftian tech for a while so i'm not able to help you there, but if you ask how to send a XML or plain text file to a site (elaborate here on exactly what you want to do) in a asp.net community forum you'll probably get some good solutions.
And a XDP file can be manipulated just like a XML or plain text file.
Last question
Do you know if there are an ASP.NET section in this forum ? because I have put some other questions on other forum and nobody answer
here there are a lot of really helpful people so I would liketo stay around.
Thanks for all your help
Views
Replies
Total Likes
I think not.
This forums are focused on Adobe tech, and while there are users that are savvy in other techs, you might not find help for specific questions that don't relate to Adobe tech here.
And you have more experience than me do you know by any chance a good forum for me to make a post.
Views
Replies
Total Likes
I'm really out of touch with Microsoft stuff, but try the MSDN forums --> http://social.msdn.microsoft.com/forums/en-US/categories/
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies