site content type worked perfectly.
now i want to create a new button for the person to click on it and the infopath form downloads.
i tried this code.
New SOP
it says the filename it is opening is right and the from site is right.
but after that it gives an error that document could not be created. template for this document library cannot be opened.
is there something wrong i am doing.